public interface Dimension extends Annotation, IAppendedText
Modifier and Type | Interface and Description |
---|---|
static class |
Dimension.DimensionTextData
This class holds the data returned from
getDimensionText() |
static class |
Dimension.MeasurementTypes
Specifies dimension measurement types
|
Annotation.AssociativeOriginData
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
double |
computedSize()
Returns the computed size of the dimension.
|
DimensionPreferences |
getDimensionPreferences()
Returns the dimension preferences
License requirements: None. |
Dimension.DimensionTextData |
getDimensionText()
Returns the dimension text - both the main text and the dual text.
|
Associativity |
getFirstAssociativity()
Returns the first associativity data.
|
Dimension.MeasurementTypes |
getMeasurementType()
Returns dimension measurement type.
|
NarrowDimensionData |
getNarrowDimensionPreferences()
Returns the narrow dimension preferences for the given linear dimension.
|
double |
getNarrowDimensionTextOffset()
Returns the narrow dimension text offset for the given chain dimension.
|
Associativity |
getSecondAssociativity()
Returns the second associativity data.
|
boolean |
inspectionDimensionFlag()
Returns a setting to control the inspection box displayed around the dimension value.
|
boolean |
isApproximate()
Returns whether or not the given dimension is approximate.
|
boolean |
isDriving()
Determines if a dimension is driving.
|
boolean |
isOriginCentered()
Returns a flag indicating whether the dimension text is centered
equally between the extension lines.
|
FitAnsiHoleType |
limitFitAnsiHoleType()
Returns the tolerance limit fit ANSI hole type.
|
String |
limitFitDeviation()
Returns the tolerance limit fit deviation.
|
FitDisplayStyle |
limitFitDisplayStyle()
Returns the tolerance limit fit display style.
|
FitAnsiHoleType |
limitFitEnhancedDisplayType()
Returns the enhanced limit fit display type.
|
int |
limitFitGrade()
Returns the tolerance limit fit grade.
|
String |
limitFitShaftDeviation()
Returns the deviation for limit fit representation of shaft tolerance
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
|
int |
limitFitShaftGrade()
Returns the grade for limit fit representation of shaft tolerance
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
|
double |
lowerMetricToleranceValue()
Returns a setting to control the metric lower tolerance value of a dimension.
|
double |
lowerToleranceValue()
Returns a setting to control the lower tolerance value of a dimension.
|
Direction |
measurementDirection()
Returns the measurement direction.
|
View |
measurementDirectionView()
Returns the measurement direction view.
|
int |
metricNominalDecimalPlaces()
Returns a setting to control the number of decimal places for the nominal value of a metric dimension.
|
int |
metricToleranceDecimalPlaces()
Returns a setting to control the number of decimal places for the metric tolerance value of a dimension.
|
int |
nominalDecimalPlaces()
Returns a setting to control the number of decimal places for the nominal value of a dimension.
|
boolean |
referenceDimensionFlag()
Returns a setting to control the visibility of the reference parenthesis of a dimension.
|
void |
setComputedSize(double computedSize)
Deprecated.
Deprecated in NX8.0.0. Use
setDimensionText(java.lang.String[]) instead.
|
void |
setDimensionPreferences(DimensionPreferences preferences)
Sets the dimension preferences
License requirements: geometric_tol ("GDT") OR drafting ("DRAFTING") . |
void |
setDimensionText(String[] mainTextLines)
Set the main dimension text.
|
void |
setFirstAssociativity(Associativity newAssociativity)
Sets the first associativity data.
|
void |
setInspectionDimensionFlag(boolean inspectionDimensionFlag)
Sets a setting to control the inspection box displayed around the dimension value.
|
void |
setLimitFitAnsiHoleType(FitAnsiHoleType fitHoleType)
Sets the tolerance limit fit ANSI hole type.
|
void |
setLimitFitDeviation(String fitDeviation)
Sets the tolerance limit fit deviation.
|
void |
setLimitFitDisplayStyle(FitDisplayStyle fitDisplayStyle)
Sets the tolerance limit fit display style.
|
void |
setLimitFitEnhancedDisplayType(FitAnsiHoleType fitEnhancedDisplayType)
Sets the enhanced limit fit display type.
|
void |
setLimitFitGrade(int fitGrade)
Sets the tolerance limit fit grade.
|
void |
setLimitFitShaftDeviation(String fitShaftDeviation)
Sets the deviation for limit fit representation of shaft tolerance
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
|
void |
setLimitFitShaftGrade(int fitShaftGrade)
Sets the grade for limit fit representation of shaft tolerance
NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object.
|
void |
setLowerMetricToleranceValue(double toleranceValue)
Sets a setting to control the metric lower tolerance value of a dimension.
|
void |
setLowerToleranceValue(double upperToleranceValue)
Sets a setting to control the lower tolerance value of a dimension.
|
void |
setMeasurementDirection(Direction direction)
Sets the measurement direction.
|
void |
setMeasurementDirectionView(View view)
Sets the measurement direction view.
|
void |
setMetricNominalDecimalPlaces(int decimalPlaces)
Sets a setting to control the number of decimal places for the nominal value of a metric dimension.
|
void |
setMetricToleranceDecimalPlaces(int decimalPlaces)
Sets a setting to control the number of decimal places for the metric tolerance value of a dimension.
|
void |
setNarrowDimensionPreferences(NarrowDimensionData narrowDimensionData)
Sets the narrow dimension preferences to the given linear dimension.
|
void |
setNarrowDimensionTextOffset(double narrowTextOffset)
Sets the narrow dimension text offset for the given chain dimension.
|
void |
setNominalDecimalPlaces(int decimalPlaces)
Sets a setting to control the number of decimal places for the nominal value of a dimension.
|
void |
setOriginCentered(boolean isOriginCentered)
Sets a flag indicating whether the dimension text is centered
equally between the extension lines.
|
void |
setReferenceDimensionFlag(boolean referenceDimensionFlag)
Sets a setting to control the visibility of the reference parenthesis of a dimension.
|
void |
setSecondAssociativity(Associativity newAssociativity)
Sets the second associativity data.
|
void |
setToleranceDecimalPlaces(int decimalPlaces)
Sets a setting to control the number of decimal places for the primary tolerance value of a dimension.
|
void |
setToleranceType(ToleranceType toleranceType)
Sets a setting to control the tolerance display style.
|
void |
setUpperMetricToleranceValue(double toleranceValue)
Sets a setting to control the metric upper tolerance value of a dimension.
|
void |
setUpperToleranceValue(double upperToleranceValue)
Sets a setting to control the upper tolerance value of a dimension.
|
double |
shaftLowerToleranceValue()
Returns a setting to control the shaft lower tolerance value of a dimension.
|
double |
shaftUpperToleranceValue()
Returns a setting to control the shaft upper tolerance value of a dimension.
|
int |
toleranceDecimalPlaces()
Returns a setting to control the number of decimal places for the primary tolerance value of a dimension.
|
ToleranceType |
toleranceType()
Returns a setting to control the tolerance display style.
|
void |
unretainForInconsistentSilhouette(int index)
Unretain the dimension if it no longer has an inconsistent silhouette as the indexed associativity
License requirements: geometric_tol ("GDT") OR drafting ("DRAFTING") . |
double |
upperMetricToleranceValue()
Returns a setting to control the metric upper tolerance value of a dimension.
|
double |
upperToleranceValue()
Returns a setting to control the upper tolerance value of a dimension.
|
annotationOrigin, annotationPlane, getAssociativeOrigin, getAssociativity, getInferredAnnotationPlane, getLetteringPreferences, getLineAndArrowPreferences, getSymbolPreferences, getViews, hasAssociativeOrigin, insertIntoStack, isRetained, leaderOrientation, numberOfAssociativities, parallelToScreen, removeFromStack, setAnnotationOrigin, setAnnotationPlane, setAssociativeOrigin, setAssociativity, setLeaderOrientation, setLetteringPreferences, setLineAndArrowPreferences, setParallelToScreen, setSymbolPreferences, setViews, suppressed
blank, color, highlight, isBlanked, layer, lineFont, lineWidth, nameLocation, redisplayObject, removeViewDependency, setColor, setLayer, setLineFont, setLineWidth, setNameLocation, unblank, unhighlight
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
getAppendedText, setAppendedText
DimensionPreferences getDimensionPreferences() throws NXException, RemoteException
NXException
RemoteException
void setDimensionPreferences(DimensionPreferences preferences) throws NXException, RemoteException
preferences
- New dimension preferencesNXException
RemoteException
void setOriginCentered(boolean isOriginCentered) throws NXException, RemoteException
isOriginCentered
- NXException
RemoteException
boolean isOriginCentered() throws NXException, RemoteException
NXException
RemoteException
void setNarrowDimensionTextOffset(double narrowTextOffset) throws NXException, RemoteException
narrowTextOffset
- NXException
RemoteException
double getNarrowDimensionTextOffset() throws NXException, RemoteException
NXException
RemoteException
void setNarrowDimensionPreferences(NarrowDimensionData narrowDimensionData) throws NXException, RemoteException
narrowDimensionData
- New narrow dimension preferencesNXException
RemoteException
NarrowDimensionData getNarrowDimensionPreferences() throws NXException, RemoteException
NXException
RemoteException
Associativity getFirstAssociativity() throws NXException, RemoteException
NXException
RemoteException
void setFirstAssociativity(Associativity newAssociativity) throws NXException, RemoteException
newAssociativity
- NXException
RemoteException
Associativity getSecondAssociativity() throws NXException, RemoteException
NXException
RemoteException
void setSecondAssociativity(Associativity newAssociativity) throws NXException, RemoteException
newAssociativity
- NXException
RemoteException
void setToleranceType(ToleranceType toleranceType) throws NXException, RemoteException
toleranceType
- NXException
RemoteException
ToleranceType toleranceType() throws NXException, RemoteException
NXException
RemoteException
void setReferenceDimensionFlag(boolean referenceDimensionFlag) throws NXException, RemoteException
referenceDimensionFlag
- NXException
RemoteException
boolean referenceDimensionFlag() throws NXException, RemoteException
NXException
RemoteException
void setInspectionDimensionFlag(boolean inspectionDimensionFlag) throws NXException, RemoteException
inspectionDimensionFlag
- NXException
RemoteException
boolean inspectionDimensionFlag() throws NXException, RemoteException
NXException
RemoteException
double computedSize() throws NXException, RemoteException
NXException
RemoteException
void setComputedSize(double computedSize) throws NXException, RemoteException
setDimensionText(java.lang.String[])
instead.
computedSize
- NXException
RemoteException
void setToleranceDecimalPlaces(int decimalPlaces) throws NXException, RemoteException
decimalPlaces
- NXException
RemoteException
int toleranceDecimalPlaces() throws NXException, RemoteException
NXException
RemoteException
void setMetricToleranceDecimalPlaces(int decimalPlaces) throws NXException, RemoteException
decimalPlaces
- NXException
RemoteException
int metricToleranceDecimalPlaces() throws NXException, RemoteException
NXException
RemoteException
void setUpperToleranceValue(double upperToleranceValue) throws NXException, RemoteException
upperToleranceValue
- NXException
RemoteException
double upperToleranceValue() throws NXException, RemoteException
NXException
RemoteException
void setUpperMetricToleranceValue(double toleranceValue) throws NXException, RemoteException
toleranceValue
- NXException
RemoteException
double upperMetricToleranceValue() throws NXException, RemoteException
NXException
RemoteException
double shaftUpperToleranceValue() throws NXException, RemoteException
NXException
RemoteException
double shaftLowerToleranceValue() throws NXException, RemoteException
NXException
RemoteException
void setLowerToleranceValue(double upperToleranceValue) throws NXException, RemoteException
upperToleranceValue
- NXException
RemoteException
double lowerToleranceValue() throws NXException, RemoteException
NXException
RemoteException
void setLowerMetricToleranceValue(double toleranceValue) throws NXException, RemoteException
toleranceValue
- NXException
RemoteException
double lowerMetricToleranceValue() throws NXException, RemoteException
NXException
RemoteException
void setNominalDecimalPlaces(int decimalPlaces) throws NXException, RemoteException
decimalPlaces
- NXException
RemoteException
int nominalDecimalPlaces() throws NXException, RemoteException
NXException
RemoteException
void setMetricNominalDecimalPlaces(int decimalPlaces) throws NXException, RemoteException
decimalPlaces
- NXException
RemoteException
int metricNominalDecimalPlaces() throws NXException, RemoteException
NXException
RemoteException
boolean isDriving() throws NXException, RemoteException
NXException
RemoteException
void setDimensionText(String[] mainTextLines) throws NXException, RemoteException
mainTextLines
- List of main text linesNXException
RemoteException
Dimension.DimensionTextData getDimensionText() throws NXException, RemoteException
NXException
RemoteException
void setMeasurementDirection(Direction direction) throws NXException, RemoteException
direction
- Direction ObjectNXException
RemoteException
Direction measurementDirection() throws NXException, RemoteException
NXException
RemoteException
void setMeasurementDirectionView(View view) throws NXException, RemoteException
view
- View ObjectNXException
RemoteException
View measurementDirectionView() throws NXException, RemoteException
NXException
RemoteException
String limitFitDeviation() throws NXException, RemoteException
NXException
RemoteException
void setLimitFitDeviation(String fitDeviation) throws NXException, RemoteException
fitDeviation
- New limit fit deviationNXException
RemoteException
int limitFitGrade() throws NXException, RemoteException
NXException
RemoteException
void setLimitFitGrade(int fitGrade) throws NXException, RemoteException
fitGrade
- New limit fit gradeNXException
RemoteException
String limitFitShaftDeviation() throws NXException, RemoteException
NXException
RemoteException
void setLimitFitShaftDeviation(String fitShaftDeviation) throws NXException, RemoteException
fitShaftDeviation
- New limit fit shaft deviationNXException
RemoteException
int limitFitShaftGrade() throws NXException, RemoteException
NXException
RemoteException
void setLimitFitShaftGrade(int fitShaftGrade) throws NXException, RemoteException
fitShaftGrade
- New limit fit shaft gradeNXException
RemoteException
FitAnsiHoleType limitFitEnhancedDisplayType() throws NXException, RemoteException
NXException
RemoteException
void setLimitFitEnhancedDisplayType(FitAnsiHoleType fitEnhancedDisplayType) throws NXException, RemoteException
fitEnhancedDisplayType
- New limit fit enhanced tolerance display styleNXException
RemoteException
FitDisplayStyle limitFitDisplayStyle() throws NXException, RemoteException
NXException
RemoteException
void setLimitFitDisplayStyle(FitDisplayStyle fitDisplayStyle) throws NXException, RemoteException
fitDisplayStyle
- New limit fit tolerance display styleNXException
RemoteException
FitAnsiHoleType limitFitAnsiHoleType() throws NXException, RemoteException
NXException
RemoteException
void setLimitFitAnsiHoleType(FitAnsiHoleType fitHoleType) throws NXException, RemoteException
fitHoleType
- New limit fit ANSI hole typeNXException
RemoteException
boolean isApproximate() throws NXException, RemoteException
NXException
RemoteException
Dimension.MeasurementTypes getMeasurementType() throws NXException, RemoteException
NXException
RemoteException
void unretainForInconsistentSilhouette(int index) throws NXException, RemoteException
index
- indexNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.