Hide Table of Contents

Document Properties > Dimensions > Angle

 

Setting

Get/Set Methods

Return Value
or
<Value>
or
<OnFlag>

Comments

Base angle dimension standard

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionStandard, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionStandard, swUserPreferenceOption_e.swDetailingAngleDimension, swDetailingStandard_e.<Value>)

See swDetailingStandard_e for valid options

Specifies the base angle dimensioning standard to use

Leader/Dimension Line Style - Leader Style

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontDimensionsStyle, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontDimensionsStyle, swUserPreferenceOption_e.swDetailingAngleDimension, swLineStyles_e.<Value>)

See swLineStyles_e for valid options

Specifies style of leader lines for angle dimensions

Leader/Dimension Line Style - Leader Thickness

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontDimensionsThickness, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontDimensionsThickness, swUserPreferenceOption_e.swDetailingAngleDimension, swLineWeights_e.<Value>)

See swLineWeights_e for valid options

Specifies thickness of leader lines for angle dimensions

Leader/Dimension Line Style - Custom thickness

IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swLineFontDimensionsThicknessCustom, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swLineFontDimensionsThicknessCustom, swUserPreferenceOption_e.swDetailingAngleDimension, <Value>)

Double value

Specifies a custom thickness for leader lines in angle dimensions; sets Custom Thickness to the specified thickness and Leader Thickness to Custom Size

Extension Line Style - Extension Line Style

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDimensionsExtensionLineStyle, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDimensionsExtensionLineStyle, swUserPreferenceOption_e.swDetailingAngleDimension, swLineStyles_e.<Value>)

See swLineStyles_e for valid options

Specifies style of extension lines for angle dimensions

Extension Line Style - Extension Line Thickness

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDimensionsExtensionLineStyleThickness, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDimensionsExtensionLineStyleThickness, swUserPreferenceOption_e.swDetailingAngleDimension, swLineWeights_e.<Value>)

See swLineWeights_e for valid options

Specifies thickness of extension lines for angle dimensions

Extension Line Style - Custom thickness

IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDimensionsExtensionLineStyleThicknessCustom, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDimensionsExtensionLineStyleThicknessCustom, swUserPreferenceOption_e.swDetailingAngleDimension, <Value>)

 

Double value

Specifies a custom thickness for extension lines in angle dimensions; sets Extension Line Style - Custom Thickness to the specified thickness and Extension Line Thickness to Custom Size

Extension Line Style - Same as leader/dimension line style

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDimensionsExtensionLineStyleSameAsLeader, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDimensionsExtensionLineStyleSameAsLeader, swUserPreferenceOption_e.swDetailingAngleDimension, <OnFlag>)

Boolean value

Specifies whether the extension line style is the same as the leader/dimension line style

Text - Font...

IModelDocExtension::GetUserPreferenceTextFormat(swUserPreferenceTextFormat_e.swDetailingDimensionTextFormat, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceTextFormat(swUserPreferenceTextFormat_e.swDetailingDimensionTextFormat, swUserPreferenceOption_e.swDetailingAngleDimension, <Value>)

See ITextFormat for font options

To set font property values, implement ITextFormat, set the appropriate ITextFormat member values, and pass the ITextFormat object in the API set method

Text - Horizontal

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionTextAlignmentHorizontal, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionTextAlignmentHorizontal, swUserPreferenceOption_e.swDetailingAngleDimension, swTextJustification_e.<Value>)

See swTextJustification_e for valid options

 

Text - Vertical

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionTextAlignmentVertical, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionTextAlignmentVertical, swUserPreferenceOption_e.swDetailingAngleDimension, swTextAlignmentVertical_e.<Value>)

See swTextAlignmentVertical_e for valid options

 

Precision - Unit Precision

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngularDimPrecision, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngularDimPrecision, swUserPreferenceOption_e.swDetailingAngleDimension, <Value>)

Number of decimal places to display; 0 through 8

Specifies integer value for angular precision

Precision - Tolerance Precision

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngularTolPrecision, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngularTolPrecision, swUserPreferenceOption_e.swDetailingAngleDimension, swDimensionPrecisionSettings_e .<Value>)

See swDimensionPrecisionSettings_e for valid options

Specifies integer value for tolerance precision

Zeroes - Remove units with 0 value for deg/min and deg/min/sec

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingAngDimensionsRemoveInsignificantZeros, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingAngDimensionsRemoveInsignificantZeros, swUserPreferenceOption_e.swDetailingAngleDimension, <OnFlag>)

 

Boolean value

Specifies whether to hide angle dimension units when equal to 0 deg/min or 0 deg/min/sec

Zeroes - Trailing zeroes - Dimension

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngleTrailingZero, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngleTrailingZero, swUserPreferenceOption_e.swDetailingAngleDimension, swDetailingDimTrailingZero_e.<Value>)

Valid options in swDetailingDimTrailingZero_e:

  • swDimShowTrailingZeroes
  • swDimRemoveTrailingZeroes
  • swDimSameAsDocumentDimension
 

 

Zeroes - Trailing zeroes - Tolerances

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngleTrailingZeroTolerance, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingAngleTrailingZeroTolerance, swUserPreferenceOption_e.swDetailingAngleDimension, swDetailingDimTrailingZero_e.<Value>)

Valid options in swDetailingDimTrailingZero_e:

  • swDimShowTrailingZeroes
  • swDimRemoveTrailingZeroes
  • swDimRemoveOnlyOnZero
  • swDimSameAsDocumentTolerance
 

 

Layer

IModelDocExtension::GetUserPreferenceString(swUserPreferenceStringValue_e.swDetailingLayer, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceString(swUserPreferenceStringValue_e.swDetailingLayer, swUserPreferenceOption_e.swDetailingAngleDimension, <Value>)

Valid Options:

  • "Border"

  • "Dimensions"

  • "Notes"

  • "BOM"

  • "FORMAT"

This setting is available only on drawings; depending on drawing, some options may not apply

Text position

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionTextAndLeaderStyle, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionTextAndLeaderStyle, swUserPreferenceOption_e.swDetailingAngleDimension, swDisplayDimensionLeaderText_e.<Value>)

See swDisplayDimensionLeaderText_e for valid options

 

Leader display - Use bent leaders

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimANSIBentLeader, swUserPreferenceOption_e.swDetailingAngleDimension)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimANSIBentLeader, swUserPreferenceOption_e.swDetailingAngleDimension, <OnFlag>)

Boolean value

Specifies whether to use bent leaders only if detailing standard is ANSI

 

Tolerance...

 

See Comments

 

See Comments

 

See Dimension Tolerance



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:   Document Properties > Dimensions > Angle
*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) 2018 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.