Hide Table of Contents
EditDimensionProperties3 Method (IModelDoc2)

Edits the currently selected dimension's properties.

.NET Syntax

Visual Basic (Declaration) 
Function EditDimensionProperties3( _
   ByVal TolType As Integer, _
   ByVal TolMax As Double, _
   ByVal TolMin As Double, _
   ByVal TolMaxFit As String, _
   ByVal TolMinFit As String, _
   ByVal UseDocPrec As Boolean, _
   ByVal Precision As Integer, _
   ByVal ArrowsIn As Integer, _
   ByVal UseDocArrows As Boolean, _
   ByVal Arrow1 As Integer, _
   ByVal Arrow2 As Integer, _
   ByVal PrefixText As String, _
   ByVal SuffixText As String, _
   ByVal ShowValue As Boolean, _
   ByVal CalloutText1 As String, _
   ByVal CalloutText2 As String, _
   ByVal CenterText As Boolean, _
   ByVal ConfigOption As Integer, _
   ByVal ConfigNames As Object _
) As Boolean
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim TolType As Integer
Dim TolMax As Double
Dim TolMin As Double
Dim TolMaxFit As String
Dim TolMinFit As String
Dim UseDocPrec As Boolean
Dim Precision As Integer
Dim ArrowsIn As Integer
Dim UseDocArrows As Boolean
Dim Arrow1 As Integer
Dim Arrow2 As Integer
Dim PrefixText As String
Dim SuffixText As String
Dim ShowValue As Boolean
Dim CalloutText1 As String
Dim CalloutText2 As String
Dim CenterText As Boolean
Dim ConfigOption As Integer
Dim ConfigNames As Object
Dim value As Boolean
 
value = instance.EditDimensionProperties3(TolType, TolMax, TolMin, TolMaxFit, TolMinFit, UseDocPrec, Precision, ArrowsIn, UseDocArrows, Arrow1, Arrow2, PrefixText, SuffixText, ShowValue, CalloutText1, CalloutText2, CenterText, ConfigOption, ConfigNames)
C# 
bool EditDimensionProperties3( 
   int TolType,
   double TolMax,
   double TolMin,
   string TolMaxFit,
   string TolMinFit,
   bool UseDocPrec,
   int Precision,
   int ArrowsIn,
   bool UseDocArrows,
   int Arrow1,
   int Arrow2,
   string PrefixText,
   string SuffixText,
   bool ShowValue,
   string CalloutText1,
   string CalloutText2,
   bool CenterText,
   int ConfigOption,
   object ConfigNames
)
C++/CLI 
bool EditDimensionProperties3( 
&   int TolType,
&   double TolMax,
&   double TolMin,
&   String^ TolMaxFit,
&   String^ TolMinFit,
&   bool UseDocPrec,
&   int Precision,
&   int ArrowsIn,
&   bool UseDocArrows,
&   int Arrow1,
&   int Arrow2,
&   String^ PrefixText,
&   String^ SuffixText,
&   bool ShowValue,
&   String^ CalloutText1,
&   String^ CalloutText2,
&   bool CenterText,
&   int ConfigOption,
&   Object^ ConfigNames
) 

Parameters

TolType
Type of tolerance as defined in swTolType_e
TolMax
Maximum value for the tolerance
TolMin

Minimum value for the tolerance

TolMaxFit

Text for the maximum FIT value when using a fit tolerance type

TolMinFit

Text for the minimum FIT value when using a fit tolerance type

UseDocPrec

True to use the document's precision value, false to use value specified for precision

Precision
Precision value to use for this dimension if UseDocPrec is false
ArrowsIn

Value for the arrow direction as defined in swDimensionArrowsSide_e

UseDocArrows
True to use the document's arrow types, false to use values specified for Arrow1 and Arrow2
Arrow1

Type of arrow to use on the first arrow of this dimension as defined in swArrowStyle_e if UseDocArrows is false

Arrow2
Type of arrow to use on the second arrow of this dimension as defined in swArrowStyle_e if UseDocArrows is false
PrefixText

Text for the prefix of the dimension

SuffixText
Text for the suffix of the dimension
ShowValue

True to display the value of the dimension in the user interface, false to not

CalloutText1
Callout text to display above the dimension
CalloutText2
Callout text to display below the dimension
CenterText

True if you want to center the text in the dimension, false if not

ConfigOption

Configuration options as defined swInConfigurationOpts_e

ConfigNames
Names of configurations to which to apply these edits (see Remarks)

Return Value

True if the dimension is modified, false if not

Remarks

This method always changes the dimension's parameters in the active configuration. For example, if you specify swSpecifyConfiguration for ConfigOption and do not specify the name of the active configuration in ConfigNames, then the dimension's parameters in the active configuration are still affected.

 

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:   EditDimensionProperties3 Method (IModelDoc2)
*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) 2012 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.