Hide Table of Contents

Document Properties > DimXpert

 

Setting

Get/Set Methods

Return Value
or
<Value>
or
<OnFlag>

Comments

Methods - Block Tolerance or General Tolerance

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swPartDimXpertBlockTolerance swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swPartDimXpertBlockTolerance, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <OnFlag>)

Boolean value

Specifies whether to use Block Tolerances or General Tolerances on dimensions that do not contain tolerances; true for Block Tolerances

Block Tolerance - Length unit dimensions - Tolerance 1 - Decimals

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

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

Integer value

Specifies number of decimal places for first tolerance

Block Tolerance - Length unit dimensions - Tolerance 1 - Value

IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertLengthUnitTol1Value, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertLengthUnitTol1Value, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value in mm

Specifies symmetric plus or minus tolerance for first tolerance

Block Tolerance - Length unit dimensions - Tolerance 2 - Decimals

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

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

Integer value

Specifies number of decimal places for second tolerance

Block Tolerance - Length unit dimensions - Tolerance 2 - Value

ModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertLengthUnitTol2Value, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertLengthUnitTol2Value, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value in mm

Specifies symmetric plus or minus tolerance for second tolerance

Block Tolerance - Length unit dimensions - Tolerance 3 - Decimals

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

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

Integer value

Specifies number of decimal places for third tolerance

Block Tolerance - Length unit dimensions - Tolerance 3 - Value

ModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertLengthUnitTol3Value, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertLengthUnitTol3Value, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value in mm

Specifies symmetric plus or minus tolerance for third tolerance

Angular unit dimensions - Tolerance

ModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertAngularUnitTolValue, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swPartDimXpertAngularUnitTolValue, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value in degrees

Specifies the tolerance value to use for all angular dimensions

General tolerance - Tolerance class

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

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swPartDimXpertGeneralToleranceClass, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swDimXpertGeneralTolClass_e.<Value>)

See swDimXpertGeneralTolClass_e for valid options

Specifies the part tolerance class

General tolerance - Load custom table from

IModelDocExtension::GetUserPreferenceString(swUserPreferenceStringValue_e.swDimXpertGeneralToleranceCustomTable, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

String value

Specifies the full path name of the custom table to load; non-empty value only for Parts and when Tolerance class is set to swDimXpertGeneralTolClass_Custom1 or swDimXpertGeneralTolClass_Custom2



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 > DimXpert
*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.