public interface Expression extends NXObject
ExpressionCollection.createWithUnits(java.lang.String, nxopen.Unit)
Modifier and Type | Interface and Description |
---|---|
static class |
Expression.UnitsOption
Indicates the units to use when getting an expression's value.
|
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue()
Returns the boolean value of the expression.
|
String |
description()
Returns the description of the expression.
|
void |
editComment(String newComment)
Changes the comment.
|
String |
equation()
Returns the equation of the expression in the form: name = right_hand_side.
|
String |
getDescriptor()
Returns the descriptor for the expression, or null if there is no descriptor.
|
Object |
getListValue()
Returns the list value of the expression.
|
nxopen.features.Feature |
getOwningFeature()
Returns the feature that created the supplied expression.
|
nxopen.features.Feature |
getOwningRpoFeature()
Returns the feature whose rpo_transform created the supplied positioning dimension expression.
|
Expression[] |
getReferencingExpressions()
Returns all the referencing expressions of the expression
License requirements: None. |
nxopen.features.Feature[] |
getUsingFeatures()
Returns an array of the features that use the supplied expression.
|
double |
getValueUsingUnits(Expression.UnitsOption unitsOption)
Get the value of the expression, in either base units or the expression's units.
|
int |
integerValue()
Returns the integer value of the expression.
|
boolean |
isGeometricExpression()
Returns whether the expression is a geometric expression.
|
boolean |
isMeasurementExpression()
Returns whether the expression is owned by a measurement.
|
boolean |
isNoEdit()
Returns whether the expression is edit locked.
|
boolean |
isNoUpdate()
Returns whether the expression is update locked.
|
boolean |
isUserLocked()
Returns whether the expression is user locked.
|
Point3d |
pointValue()
Returns the point value of the expression.
|
String |
rightHandSide()
Returns the right hand side of the expression.
|
void |
setNoEdit(boolean isNoEdit)
License requirements: None. |
void |
setNoUpdate(boolean isNoUpdate)
License requirements: None. |
void |
setRightHandSide(String rightHandSide)
License requirements: None. |
void |
setUnits(Unit unitType)
License requirements: None. |
void |
setUserLocked(boolean isLocked)
License requirements: None. |
void |
setValue(double expressionValue)
License requirements: None. |
String |
stringValue()
Returns the string value of the expression.
|
String |
type()
Returns the type of the expression.
|
Unit |
units()
Returns the units for the expression.
|
double |
value()
Returns the value of the expression in base units.
|
Vector3d |
vectorValue()
Returns the vector value of the expression.
|
deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, 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
String equation() throws NXException, RemoteException
NXException
RemoteException
String rightHandSide() throws NXException, RemoteException
Update.doUpdate(int)
is called NXException
RemoteException
void setRightHandSide(String rightHandSide) throws NXException, RemoteException
rightHandSide
- NXException
RemoteException
double value() throws NXException, RemoteException
NXException
RemoteException
void setValue(double expressionValue) throws NXException, RemoteException
expressionValue
- NXException
RemoteException
double getValueUsingUnits(Expression.UnitsOption unitsOption) throws NXException, RemoteException
unitsOption
- use base units or expression unitsNXException
RemoteException
String stringValue() throws NXException, RemoteException
NXException
RemoteException
boolean booleanValue() throws NXException, RemoteException
NXException
RemoteException
int integerValue() throws NXException, RemoteException
NXException
RemoteException
Point3d pointValue() throws NXException, RemoteException
NXException
RemoteException
Vector3d vectorValue() throws NXException, RemoteException
NXException
RemoteException
Object getListValue() throws NXException, RemoteException
NXException
RemoteException
boolean isUserLocked() throws NXException, RemoteException
NXException
RemoteException
void setUserLocked(boolean isLocked) throws NXException, RemoteException
isLocked
- NXException
RemoteException
void editComment(String newComment) throws NXException, RemoteException
newComment
- commentNXException
RemoteException
boolean isGeometricExpression() throws NXException, RemoteException
NXException
RemoteException
nxopen.features.Feature[] getUsingFeatures() throws NXException, RemoteException
NXException
RemoteException
nxopen.features.Feature getOwningFeature() throws NXException, RemoteException
NXException
RemoteException
nxopen.features.Feature getOwningRpoFeature() throws NXException, RemoteException
NXException
RemoteException
String getDescriptor() throws NXException, RemoteException
NXException
RemoteException
Unit units() throws NXException, RemoteException
NXException
RemoteException
void setUnits(Unit unitType) throws NXException, RemoteException
unitType
- NXException
RemoteException
String type() throws NXException, RemoteException
NXException
RemoteException
boolean isMeasurementExpression() throws NXException, RemoteException
NXException
RemoteException
String description() throws NXException, RemoteException
NXException
RemoteException
Expression[] getReferencingExpressions() throws NXException, RemoteException
NXException
RemoteException
boolean isNoEdit() throws NXException, RemoteException
NXException
RemoteException
void setNoEdit(boolean isNoEdit) throws NXException, RemoteException
isNoEdit
- NXException
RemoteException
boolean isNoUpdate() throws NXException, RemoteException
NXException
RemoteException
void setNoUpdate(boolean isNoUpdate) throws NXException, RemoteException
isNoUpdate
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.