 | DrawingCreatorExtension.OverrideCustomSheetName Method |
If the automation rule uses Custom Sheet name, you can override it here.
Called when the drawing rule is selected for a component, after OverrideDrawingFilename.
Namespace: CTExtensions.InterfacesAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic virtual bool OverrideCustomSheetName(
CTDrawingAutomation oAutomation,
string bsModelFilename,
string bsModelConfiguration,
string bsSheetName,
out string bsSheetNameOverride
)
Public Overridable Function OverrideCustomSheetName (
oAutomation As CTDrawingAutomation,
bsModelFilename As String,
bsModelConfiguration As String,
bsSheetName As String,
<OutAttribute> ByRef bsSheetNameOverride As String
) As Boolean
Parameters
- oAutomation CTDrawingAutomation
- Automation rule to which this extension is attached to.
- bsModelFilename String
- Full path of the model for which this rule is about to suggest a drawing name.
- bsModelConfiguration String
- Configuration of the model for which the drawing should be created.
- bsSheetName String
- Suggested name for the sheet created for bsModelConfiguration.
- bsSheetNameOverride String
- Set overridden sheet name here and return with true from function to override.
Return Value
BooleanTrue if you want to override the
bsSheetName with
bsSheetNameOverride, otherwise false.
Revision HistoryDate | Version | Description |
---|
- | 2023 SP0 | First Release |
See Also