Setting |
Get/Set Methods |
Return Value or <Value> |
Comments |
Tolerance type |
IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceStyle,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceStyle,
swUserPreferenceOption_e.<UserPrefOption>,
swTolType_e.<Value>) |
See swTolType_e
for valid options |
|
+
Maximum tolerance value |
IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingMaxToleranceValue,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingMaxToleranceValue,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Double value |
Specifies the maximum tolerance for dimensions in a drawing document |
—
Minimum tolerance value |
IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingMinToleranceValue,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingMinToleranceValue,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Double value |
Specifies the minimum tolerance for dimensions in a drawing document |
Font - Use dimension font |
IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimensionsToleranceUseDimensionFont,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimensionsToleranceUseDimensionFont,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Boolean value |
Specifies whether to change font size for dimension tolerance text |
Font - Size by scale or height |
IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceTextSizing,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceTextSizing,
swUserPreferenceOption_e.<UserPrefOption>,
swDetailingToleranceTextSizing_e.<Value>) |
See swDetailingToleranceTextSizing_e
for valid options; depending on the option chosen, also set either font
scale value or font height value |
Specifies how to size the tolerance text |
Font - Font scale value |
IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceTextScale,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceTextScale,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Double value (0 - 10.0) |
Specifies value to scale tolerance font |
Font - Font height value |
IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceTextHeight,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceTextHeight,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Double value in meters |
Specifies height of tolerance font |
Fit tolerance font - Use dimension font |
IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimensionsToleranceFitToUseDimensionFont,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimensionsToleranceFitToUseDimensionFont,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Boolean value |
For Fit and Fit-with-tolerance tolerance types only; specifies whether
to use dimension tolerance text |
Fit tolerance font - Size by scale or height |
IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceFitTolTextSizing,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceFitTolTextSizing,
swUserPreferenceOption_e.<UserPrefOption>,
swDetailingToleranceTextSizing_e.<Value>) |
See swDetailingToleranceTextSizing_e
for valid options; depending on the option chosen, also set either fit
tolerance font scale value or font height value |
For Fit and Fit-with-tolerance tolerance types only;Specifies how to
size the fit tolerance text |
Fit tolerance font - Font scale |
IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceFitTolTextScale,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceFitTolTextScale,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Double value (0 - 10.0) |
For Fit and Fit-with-tolerance tolerance types only;Specifies scale
for fit tolerance font |
Fit tolerance font - Font height |
IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceFitTolTextHeight,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingToleranceFitTolTextHeight,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Double value in meters |
For Fit and Fit-with-tolerance tolerance types onlySpecifies height
of fit tolerance font |
Show parentheses |
IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimensionsToleranceUseParentheses,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDimensionsToleranceUseParentheses,
swUserPreferenceOption_e.<UserPrefOption>,
<Value>) |
Boolean value |
For Bilateral, Symmetric, or Fit-with-tolerance tolerance types only;
specifies whether to show parentheses around linear tolerances |
Fit tolerance display |
IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceFitTolDisplay,
swUserPreferenceOption_e.<UserPrefOption>)
IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingToleranceFitTolDisplay,
swUserPreferenceOption_e.<UserPrefOption>,
swFitTolDisplay_e.<Value>) |
See swFitTolDisplay_e
for valid options |
For Fit and Fit-with-tolerance tolerance types only |