 | DrawingCreatorExtensionOverrideCustomSheetName 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.Interfaces
Assembly:
CTInterface (in CTInterface.dll)
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
- Type: CTDrawingAutomation
Automation rule to which this extension is attached to. - bsModelFilename
- Type: SystemString
Full path of the model for which this rule is about to suggest a drawing name. - bsModelConfiguration
- Type: SystemString
Configuration of the model for which the drawing should be created. - bsSheetName
- Type: SystemString
Suggested name for the sheet created for bsModelConfiguration. - bsSheetNameOverride
- Type: SystemString
Set overridden sheet name here and return with true from function to override.
Return Value
Type:
BooleanTrue if you want to override the
bsSheetName with
bsSheetNameOverride, otherwise false.
Availability
See Also