Hide Table of Contents
EditDimensionProperties Method (IModelDocExtension)

Edits the selected dimension.

.NET Syntax

Visual Basic (Declaration) 
Function EditDimensionProperties( _
   ByVal TolType As System.Integer, _
   ByVal TolMax As System.Double, _
   ByVal TolMin As System.Double, _
   ByVal TolMaxFit As System.String, _
   ByVal TolMinFit As System.String, _
   ByVal UseDocPrec As System.Boolean, _
   ByVal Precision As System.Integer, _
   ByVal ArrowsIn As System.Integer, _
   ByVal UseDocArrows As System.Boolean, _
   ByVal Arrow1 As System.Integer, _
   ByVal Arrow2 As System.Integer, _
   ByVal PrefixText As System.String, _
   ByVal SuffixText As System.String, _
   ByVal ShowValue As System.Boolean, _
   ByVal CalloutText1 As System.String, _
   ByVal CalloutText2 As System.String, _
   ByVal DimensionLowerText As System.String, _
   ByVal CenterText As System.Boolean, _
   ByVal ConfigOption As System.Integer, _
   ByVal ConfigNames As System.Object _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim TolType As System.Integer
Dim TolMax As System.Double
Dim TolMin As System.Double
Dim TolMaxFit As System.String
Dim TolMinFit As System.String
Dim UseDocPrec As System.Boolean
Dim Precision As System.Integer
Dim ArrowsIn As System.Integer
Dim UseDocArrows As System.Boolean
Dim Arrow1 As System.Integer
Dim Arrow2 As System.Integer
Dim PrefixText As System.String
Dim SuffixText As System.String
Dim ShowValue As System.Boolean
Dim CalloutText1 As System.String
Dim CalloutText2 As System.String
Dim DimensionLowerText As System.String
Dim CenterText As System.Boolean
Dim ConfigOption As System.Integer
Dim ConfigNames As System.Object
Dim value As System.Boolean
 
value = instance.EditDimensionProperties(TolType, TolMax, TolMin, TolMaxFit, TolMinFit, UseDocPrec, Precision, ArrowsIn, UseDocArrows, Arrow1, Arrow2, PrefixText, SuffixText, ShowValue, CalloutText1, CalloutText2, DimensionLowerText, CenterText, ConfigOption, ConfigNames)
C# 
System.bool EditDimensionProperties( 
   System.int TolType,
   System.double TolMax,
   System.double TolMin,
   System.string TolMaxFit,
   System.string TolMinFit,
   System.bool UseDocPrec,
   System.int Precision,
   System.int ArrowsIn,
   System.bool UseDocArrows,
   System.int Arrow1,
   System.int Arrow2,
   System.string PrefixText,
   System.string SuffixText,
   System.bool ShowValue,
   System.string CalloutText1,
   System.string CalloutText2,
   System.string DimensionLowerText,
   System.bool CenterText,
   System.int ConfigOption,
   System.object ConfigNames
)
C++/CLI 
System.bool EditDimensionProperties( 
&   System.int TolType,
&   System.double TolMax,
&   System.double TolMin,
&   System.String^ TolMaxFit,
&   System.String^ TolMinFit,
&   System.bool UseDocPrec,
&   System.int Precision,
&   System.int ArrowsIn,
&   System.bool UseDocArrows,
&   System.int Arrow1,
&   System.int Arrow2,
&   System.String^ PrefixText,
&   System.String^ SuffixText,
&   System.bool ShowValue,
&   System.String^ CalloutText1,
&   System.String^ CalloutText2,
&   System.String^ DimensionLowerText,
&   System.bool CenterText,
&   System.int ConfigOption,
&   System.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 to use for this dimension if UseDocPrec is false
ArrowsIn
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 for the first arrow of this dimension as defined in swArrowStyle_e if UseDocArrows is false
Arrow2
Type of arrow to use for 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
DimensionLowerText
Text to display below the dimension line; valid for display dimensions in drawings only
CenterText
True to center the text in the dimension, false to not
ConfigOption
Configuration option as defined in swInConfigurationOpts_e
ConfigNames
Names of the configurations to which to apply these edits (see Remarks)

Return Value

True if the dimension is modified, false if not

Example

Remarks

This method:

  • always changes the dimension's parameters in the active configuration. For example, if you specify swInConfigurationOpts_e.swSpecifyConfiguration for ConfigOption and do not specify the name of the active configuration in ConfigNames, then the dimension parameters in the active configuration are affected.
  • does not support hole callouts.
 

See Also

Availability

SOLIDWORKS 2014 FCS, Revision Number 22.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:   EditDimensionProperties 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.