![]() | CTInterfacePre |
The CTInterfacePreFileConversionArgs type exposes the following members.
Name | Description | |
---|---|---|
![]() | BatchConversionRule | The conversion rule object that defines the setting of this conversion. Type is defined in assembly Interop.CTEngineLib.dll. |
![]() | BatchOpTemplateID | ID of ICTBatchOperationTemplate in case that template was activated before the Batch Operations started. 0 if no active template. |
![]() | CancelConv | True to cancel the conversion. |
![]() | MergeTempFile | The temporary file when doing merge operation. This is null for the main document of the merge operation and also if the current operation is not merge rule. To get the temp file of the main document, investigate FilesToMerge during OnBeforeMergeDocuments. It will be the first document of the list. |
![]() | ResolvedName | Name of the conversion's output file. Set Succeeded to true in order to override the name. |
![]() | SheetIndex | If SWDoc is a drawing document then this refers to drawing sheet index to be converted. If multiple sheets are embedded into some file then this is index of first sheet added. Index is 0 based. For model documents -1. |
![]() | SheetOrConfigurationName | If SWDoc is a model then name of the configuration that is converted; if SWDoc is a drawing then name of the sheet. |
![]() | Succeeded | True to override ResolvedName. |
![]() | SWDoc | SolidWorks.Interop.sldworks.ModelDoc2 from which the conversion is done. Note that if eg. DXF conversion from part is done, the document here is a drawing which is temporarily used in DXF-conversion process of the part. Type is defined in assembly SolidWorks.Interop.sldworks.dll. |
Date | Version | Description |
---|---|---|
- | 2012 SP5 | First Release |
- | 2013 SP1 | Extented with CancelConv. |
- | 2016 SP4 | Extented with SheetOrConfigurationName. |
- | 2017 SP2 | Extented with SheetIndex. |
- | 2021 SP1 | Extented with BatchOpTemplateID. |
- | 2021 SP2 | Extended with MergeTempFile. |