Click or drag to resize

ExportTypeExtension Methods

The ExportTypeExtension type exposes the following members.

Methods
 NameDescription
Public methodAllowUseInSWPDM Export Type Extensions need to specify whether or not they support running in SOLIDWORKS PDM context.
Public methodCreateExportProfileSettingsControl Override majority of the settings page with your custom control.
Public methodDispose Called when the settings page is closed. You may dispose everything.
Public methodExtraButtonClicked Called when user clicks the [...] button next to profile type combo. The button is available for clicking only if GetSettingsViewOpts returns CTEngineLib.ctExportSettingsViewOpt.ctExportSettingsViewOptNone in its bitmask.
Public methodFieldChanging Notification that user is about to edit given field.
Public methodFieldDeleting Notification that user is about too delete given field.
Public methodGetParent Must implement. Return parent CTExtension of this export extension.
Public methodGetSettingsViewOpts Return arbitrary option flags for the settings page. See ctExportSettingsViewOpt for possible flags.
Public methodInit Called when this extension is selected from the export type combo for the first time. Immediately after this TypeSelected is also called.
Public methodPreNotifySilentExport Prenotifies the extension that Silent Export is happening soon. This is a good place to prompt credentials and store them for the silent execution if needed.
Public methodProfileOptionsComboString Name that is shown in profile type combo. By default this is parents FriendlyName.
Public methodSave Called when user clicks OK at export profile settings.
Public methodSupportsSilentExecution Export extensions that support silent execution can be executed blindly on some host machine or on background. When executed silently, the export profile must not expect any user input. If you return true, your export extension MUST also subscribe to OnExportProfileSelected and execute silently when RequestSilentExport -flag is true. The add-in must also verify its silent export ability with VerifySilentExportSupport. If it's possible that the extension might fail to export in some cases, also OnQueryExportSuccess must be subscribed and handled in order to provide error information on silent export cases. Extensions ability to support silent execution is stored to export profile when the Export Profile is saved at the Profile Options so this must not be a dynamic ability of the extension. Silent export allows executing the export profile on separate host in PDM.
Public methodTypeDiscarded Called when user had this export type selected, but then selected some other type. Return true to prevent user from changing to another type. This is mainly meant fot extensions to
Public methodTypeSelected Notification that this type was just selected from profile type combo. If the selection happens for the first time during the setting dialogs lifetime, this call is preceeded with Init(CTExportProfile).
Top
See Also