 | 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)
Syntaxpublic virtual void PreAddViews(
Object oDrwDoc,
Object oSheet,
Object oSourceModel,
string oSourceConfiguration
)
Public Overridable Sub PreAddViews (
oDrwDoc As Object,
oSheet As Object,
oSourceModel As Object,
oSourceConfiguration As String
)
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
See Also