 | 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.InterfacesAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic virtual bool AddViews(
Object oDrwDoc,
Object oSheet,
Object oSourceModel,
string oSourceConfiguration
)
Public Overridable Function AddViews (
oDrwDoc As Object,
oSheet As Object,
oSourceModel As Object,
oSourceConfiguration As String
) As Boolean
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
BooleanTrue to cancel CT Core's view creation.
Revision HistoryDate | Version | Description |
---|
- | 2023 SP0 | First Release |
See Also