Inserts model annotations into this drawing document in the 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 value As System.Object
value = instance.InsertModelAnnotations3(Option, Types, AllViews, DuplicateDims, HiddenFeatureDims, UsePlacementInSketch) |
Parameters
- Option
Source of dimensions as defined by swImportModelItemsSource_e (see Remarks)
- Types
- Bitwise OR of annotation types as defined in swInsertAnnotation_e
- 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
Return Value
Array of inserted
IAnnotation objects
Example
Remarks
See Also
Availability
SOLIDWORKS 2005 FCS, Revision Number 13.0