Inserts model annotations into this drawing document's currently selected drawing view.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IDrawingDoc
Dim Option As System.Integer
Dim Types As System.Integer
Dim AllViews As System.Boolean
Dim DuplicateDims As System.Boolean
Dim HiddenFeatureDims As System.Boolean
Dim UsePlacementInSketch As System.Boolean
Dim InsertAllAnnotations As System.Boolean
Dim InsertAllReferenceGeometry As System.Boolean
Dim value As System.Object
value = instance.InsertModelAnnotations4(Option, Types, AllViews, DuplicateDims, HiddenFeatureDims, UsePlacementInSketch, InsertAllAnnotations, InsertAllReferenceGeometry) |
Parameters
- Option
Source of dimensions as defined by swImportModelItemsSource_e
- Types
- Annotation types to insert as defined in swInsertAnnotation_e; only valid if InsertAllAnnotations and InsertAllReferenceGeometry are False
- AllViews
- True to insert the annotations in all views in the drawing, false to insert annotations only in the selected view
- DuplicateDims
- True to eliminate duplicate dimensions, false to allow duplicate dimensions
- HiddenFeatureDims
- True to insert dimensions from features that are hidden, false to not insert dimensions from features that are hidden
- UsePlacementInSketch
- True to insert dimensions as they were placed in sketch, false to not
- InsertAllAnnotations
- True to insert all annotations, false to insert only those specified in Types
- InsertAllReferenceGeometry
- True to insert all reference geometry, false to insert only those specified in Types
Return Value
Array of inserted
IAnnotation objects
Example
See Also
Availability
SOLIDWORKS 2024 FCS, Revision Number 32