Click or drag to resize

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.Interfaces
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public virtual bool OverrideCustomSheetName(
	CTDrawingAutomation oAutomation,
	string bsModelFilename,
	string bsModelConfiguration,
	string bsSheetName,
	out string bsSheetNameOverride
)

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

Boolean
True if you want to override the bsSheetName with bsSheetNameOverride, otherwise false.
Revision History
DateVersionDescription
-2023 SP0First Release
See Also