Click or drag to resize

DrawingCreatorExtensionPreAddViews Method

Called when rules are executing. When this is called, the drawing is created but not saved, source model is open and has the configuration to be used as reference activated. Allows doing custom preparations for the sheet before views are added.

Namespace:  CTExtensions.Interfaces
Assembly:  CTInterface (in CTInterface.dll)
Syntax
public virtual void PreAddViews(
	Object oDrwDoc,
	Object oSheet,
	Object oSourceModel,
	string oSourceConfiguration
)

Parameters

oDrwDoc
Type: SystemObject
SolidWorks.Interop.SldWorks.IDrawingDoc - the drawing.
oSheet
Type: SystemObject
SolidWorks.Interop.SldWorks.ISheet - the sheet.
oSourceModel
Type: SystemObject
SolidWorks.Interop.SldWorks.IModelDoc2 - the source model document.
oSourceConfiguration
Type: SystemString
Configuration to use
Availability

CUSTOMTOOLS 2023 SP0


See Also