Hide Table of Contents
InsertModelAnnotations3 Method (IDrawingDoc)

Inserts model annotations into this drawing document in the currently selected drawing view.

.NET Syntax

Visual Basic (Declaration) 
Function InsertModelAnnotations3( _
   ByVal Option As System.Integer, _
   ByVal Types As System.Integer, _
   ByVal AllViews As System.Boolean, _
   ByVal DuplicateDims As System.Boolean, _
   ByVal HiddenFeatureDims As System.Boolean, _
   ByVal UsePlacementInSketch As System.Boolean _
) As System.Object
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)
System.object InsertModelAnnotations3( 
   System.int Option,
   System.int Types,
   System.bool AllViews,
   System.bool DuplicateDims,
   System.bool HiddenFeatureDims,
   System.bool UsePlacementInSketch
System.Object^ InsertModelAnnotations3( 
&   System.int Option,
&   System.int Types,
&   System.bool AllViews,
&   System.bool DuplicateDims,
&   System.bool HiddenFeatureDims,
&   System.bool UsePlacementInSketch



Source of dimensions as defined by swImportModelItemsSource_e (see Remarks)

Bitwise OR of annotation types as defined in swInsertAnnotation_e
True to insert the annotations in all views in the drawing, false to insert annotations only in the selected view
True to eliminate duplicate dimensions, false to allow duplicate dimensions
True to insert dimensions from features that are hidden, false to not insert dimensions from features that are hidden
True to insert dimensions as they were placed in sketch, false to not

Return Value

Array of inserted IAnnotation objects



The Option argument was incorrectly documented in versions of the SOLIDWORKS API Help published before SOLIDWORKS 2008 SP3.



0 - All dimensions in the view

swImportModelItemsFromEntireModel = 0

1 - All dimensions of the currently selected component (for assembly drawings)

swImportModelItemsFromSelectedFeature = 1

2 - All dimensions of the currently selected feature

swImportModelItemsFromSelectedComponent = 2

All dimensions of the assembly

  • swImportModelItemsFromAssemblyOnly = 3


See Also


SOLIDWORKS 2005 FCS, Revision Number 13.0

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   InsertModelAnnotations3 Method (IDrawingDoc)
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: API Help (English only) 2015 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.