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) Version: 25.0
Syntax
public virtual void PreAddViews(
	Object oDrwDoc,
	Object oSheet,
	Object oSourceModel,
	string oSourceConfiguration
)

Parameters

oDrwDoc  Object
SolidWorks.Interop.SldWorks.IDrawingDoc - the drawing.
oSheet  Object
SolidWorks.Interop.SldWorks.ISheet - the sheet.
oSourceModel  Object
SolidWorks.Interop.SldWorks.IModelDoc2 - the source model document.
oSourceConfiguration  String
Configuration to use
Revision History
DateVersionDescription
-2023 SP0First Release
See Also