Hide Table of Contents
InsertModelAnnotations4 Method (IDrawingDoc)

Inserts model annotations into this drawing document's currently selected drawing view.

.NET Syntax

Visual Basic (Declaration) 
Function InsertModelAnnotations4( _
   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, _
   ByVal InsertAllAnnotations As System.Boolean, _
   ByVal InsertAllReferenceGeometry 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 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)
C# 
System.object InsertModelAnnotations4( 
   System.int Option,
   System.int Types,
   System.bool AllViews,
   System.bool DuplicateDims,
   System.bool HiddenFeatureDims,
   System.bool UsePlacementInSketch,
   System.bool InsertAllAnnotations,
   System.bool InsertAllReferenceGeometry
)
C++/CLI 
System.Object^ InsertModelAnnotations4( 
&   System.int Option,
&   System.int Types,
&   System.bool AllViews,
&   System.bool DuplicateDims,
&   System.bool HiddenFeatureDims,
&   System.bool UsePlacementInSketch,
&   System.bool InsertAllAnnotations,
&   System.bool 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


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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   InsertModelAnnotations4 Method (IDrawingDoc)
*Comment:  
*   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:

x

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
x

Web Help Content Version: API Help (English only) 2024 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.