Hide Table of Contents
InsertDatumTargetSymbol2 Method (IModelDocExtension)

Creates a datum target symbol.

.NET Syntax

Visual Basic (Declaration) 
Function InsertDatumTargetSymbol2( _
   ByVal Datum1 As System.String, _
   ByVal Datum2 As System.String, _
   ByVal Datum3 As System.String, _
   ByVal AreaStyle As System.Short, _
   ByVal AreaOutside As System.Boolean, _
   ByVal Value1 As System.Double, _
   ByVal Value2 As System.Double, _
   ByVal ValueStr1 As System.String, _
   ByVal ValueStr2 As System.String, _
   ByVal ArrowsSmart As System.Boolean, _
   ByVal ArrowStyle As System.Short, _
   ByVal LeaderLineStyle As System.Short, _
   ByVal LeaderBent As System.Boolean, _
   ByVal ShowArea As System.Boolean, _
   ByVal ShowSymbol As System.Boolean _
) As DatumTargetSym
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim Datum1 As System.String
Dim Datum2 As System.String
Dim Datum3 As System.String
Dim AreaStyle As System.Short
Dim AreaOutside As System.Boolean
Dim Value1 As System.Double
Dim Value2 As System.Double
Dim ValueStr1 As System.String
Dim ValueStr2 As System.String
Dim ArrowsSmart As System.Boolean
Dim ArrowStyle As System.Short
Dim LeaderLineStyle As System.Short
Dim LeaderBent As System.Boolean
Dim ShowArea As System.Boolean
Dim ShowSymbol As System.Boolean
Dim value As DatumTargetSym
 
value = instance.InsertDatumTargetSymbol2(Datum1, Datum2, Datum3, AreaStyle, AreaOutside, Value1, Value2, ValueStr1, ValueStr2, ArrowsSmart, ArrowStyle, LeaderLineStyle, LeaderBent, ShowArea, ShowSymbol)
C# 
DatumTargetSym InsertDatumTargetSymbol2( 
   System.string Datum1,
   System.string Datum2,
   System.string Datum3,
   System.short AreaStyle,
   System.bool AreaOutside,
   System.double Value1,
   System.double Value2,
   System.string ValueStr1,
   System.string ValueStr2,
   System.bool ArrowsSmart,
   System.short ArrowStyle,
   System.short LeaderLineStyle,
   System.bool LeaderBent,
   System.bool ShowArea,
   System.bool ShowSymbol
)
C++/CLI 
DatumTargetSym^ InsertDatumTargetSymbol2( 
&   System.String^ Datum1,
&   System.String^ Datum2,
&   System.String^ Datum3,
&   System.short AreaStyle,
&   System.bool AreaOutside,
&   System.double Value1,
&   System.double Value2,
&   System.String^ ValueStr1,
&   System.String^ ValueStr2,
&   System.bool ArrowsSmart,
&   System.short ArrowStyle,
&   System.short LeaderLineStyle,
&   System.bool LeaderBent,
&   System.bool ShowArea,
&   System.bool ShowSymbol
) 

Parameters

Datum1
Datum reference string 1
Datum2

Datum reference string 2

Datum3

Datum reference string 3

AreaStyle
  • 0 = point

  • 1 = circle

  • 2 = rectangle

AreaOutside
True to display the target area outside, false to not
Value1

Numeric datum target area diameter or width

Value2
Numeric datum target area heig
ValueStr1

Value for datum target area diameter or width

ValueStr2

Value for datum target area height

ArrowsSmart

True to use smart arrows, false to not

ArrowStyle
Arrowhead style as defined by swArrowStyle_e
LeaderLineStyle

Leaderline style as defined by swLeaderStyle_e

LeaderBent

True to create a bent leader line, false to not

ShowArea

True to show the target area, false to not

ShowSymbol

True to display the target symbol, false to not

Return Value

Datum target symbol

Example

 

See Also

Availability

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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   InsertDatumTargetSymbol2 Method (IModelDocExtension)
*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) 2017 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.