Click or drag to resize

DrawingCreatorExtensionAddViews Method

Called after PreAddViews. If you return true, you are responsible of creating all the views using SW API. Dimensions are imported for all views after this if defined in Drawing Creation Rule settings.

Namespace: CTExtensions.Interfaces
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public virtual bool AddViews(
	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

Return Value

Boolean
True to cancel CT Core's view creation.
Revision History
DateVersionDescription
-2023 SP0First Release
See Also