Hide Table of Contents

Document Properties > Dimensions > Chamfer

 

Setting

Get/Set Methods

Return Value or <Value>

Comments

Base chamfer dimension standard

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

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

See swDetailingStandard_e for valid options

Specifies the base chamfer dimensioning standard to use

Leader style - Leader Style

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

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

See swLineStyles_e for valid options

Specifies style of lines for chamfer dimensions

Leader style - Leader Thickness

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

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

See swLineWeights_e for valid options

Specifies thickness of lines for chamfer dimensions

Leader style - Custom Thickness

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

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

Double value

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

Text - Font...

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

IModelDocExtension::SetUserPreferenceTextFormat(swUserPreferenceTextFormat_e.swDetailingDimensionTextFormat, swUserPreferenceOption_e.swDetailingChamferDimension, <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.swDetailingChamferDimension)

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

See swTextJustification_e for valid options

 

Text - Vertical

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

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

See swTextAlignmentVertical_e for valid options

 

Chamfer text format - Leader text style

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingChamferDimTextStyle, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingChamferDimTextStyle, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swDetailingChamferDimLeaderTextStyle_e.<Value>)

See swDetailingChamferDimLeaderTextStyle_e for valid options

Specifies how to display text relative to the leader

Chamfer text format - "X" format

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingChamferDimXStyle, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingChamferDimXStyle, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swDetailingChamferDimXStyle_e.<Value>)

See swDetailingChamferDimXStyle_e for valid options

Specifies whether to display units for dual dimensions

Primary precision - Unit Precision

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingLinearDimPrecision, swUserPreferenceOption_e.swDetailingChamferDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingLinearDimPrecision, swUserPreferenceOption_e.swDetailingChamferDimension, <Value>)

Number of decimal places to display; 0 through 8

Specifies primary precision for linear dimension

Primary precision - Tolerance Precision

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingLinearTolPrecision, swUserPreferenceOption_e.swDetailingChamferDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingLinearTolPrecision, swUserPreferenceOption_e.swDetailingChamferDimension, swDimensionPrecisionSettings_e .<Value>)

See swDimensionPrecisionSettings_e for valid options

Specifies primary precision for tolerance

Angular precision - Unit Precision

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

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

Number of decimal places to display; 0 through 8

Specifies integer value for angular precision

Angular precision - Tolerance Precision

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

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

See swDimensionPrecisionSettings_e for valid options

Specifies integer value for tolerance marg08precision

Tolerance...

See Comments

See Comments

See Dimension Tolerance

Layer

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

IModelDocExtension::SetUserPreferenceString(swUserPreferenceStringValue_e.swDetailingLayer, swUserPreferenceOption_e.swDetailingChamferDimension, <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.swDetailingChamferDimension)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionTextAndLeaderStyle, swUserPreferenceOption_e.swDetailingChamferDimension, swDetailingChamferDimLeaderStyle_e.<Value>)

See swDetailingChamferDimLeaderStyle_e for valid options

Specifies how to display leader



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 > Chamfer
*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) 2010 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.