Click or drag to resize

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)
Syntax
public virtual bool OverrideCustomSheetName(
	CTDrawingAutomation oAutomation,
	string bsModelFilename,
	string bsModelConfiguration,
	string bsSheetName,
	out string bsSheetNameOverride
)

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: Boolean
True if you want to override the bsSheetName with bsSheetNameOverride, otherwise false.
Availability

CUSTOMTOOLS 2023 SP0


See Also