NXOpen .NET Reference Guide
1899
|
Represents an expression. More...
Public Types | |
enum | StatusOption { OutOfDate, UpToDate, Locked, Delayed, Broken, Unknown } |
Status of the expression. More... | |
enum | UnitsOption { Base, Expression, DataEntry, Info } |
Indicates the units to use when getting an expression's value. More... | |
Public Types inherited from NXOpen.NXObject | |
enum | AttributeType { Invalid, Null, Boolean, Integer, Real, String, Time, Reference, Any = 100 } |
Specifies attribute type. More... | |
enum | DateAndTimeFormat { Numeric, Textual } |
Specifies the format of the date and time attribute. More... | |
Public Member Functions | |
unsafe void | EditComment (string newComment) |
Changes the comment. More... | |
unsafe string | GetDescriptor () |
Returns the descriptor for the expression, or a null reference (Nothing in Visual Basic) if there is no descriptor. More... | |
unsafe string | GetFormula () |
Get the formula part of the expression string: "name = formula". More... | |
unsafe void | GetInterpartExpressionNames (out string partName, out string expName) |
The source part name and source expression name of the interpart expression More... | |
unsafe Object | GetListValue () |
Get the value of a list expression. More... | |
unsafe void | GetNumberValueWithUnits (NXOpen.Expression.UnitsOption unitsOption, out double numberValue, out NXOpen.Unit unit) |
Get the number value of a number expression in specified units. More... | |
unsafe NXOpen.Features.Feature | GetOwningFeature () |
Returns the feature that created the supplied expression. More... | |
unsafe NXOpen.Features.Feature | GetOwningRpoFeature () |
Returns the feature whose rpo_transform created the supplied positioning dimension expression. More... | |
unsafe NXOpen.Point3d | GetPointValueWithUnits (NXOpen.Expression.UnitsOption unitsOption) |
Get the value of a point expression in the specified units. More... | |
unsafe NXOpen.Expression[] | GetReferencingExpressions () |
Returns all the referencing expressions of the expression More... | |
unsafe NXOpen.Features.Feature[] | GetUsingFeatures () |
Returns an array of the features that use the supplied expression. More... | |
unsafe double | GetValueUsingUnits (NXOpen.Expression.UnitsOption unitsOption) |
Get the value of the expression in specified units. More... | |
unsafe NXOpen.Vector3d | GetVectorValueWithUnits (NXOpen.Expression.UnitsOption unitsOption) |
Get the value of a vector expression in specified units. More... | |
unsafe void | MakeConstant () |
Make the expression constant. More... | |
unsafe void | SetFormula (string rightHandSide) |
Set the formula part of the expression string: "name = formula". More... | |
unsafe void | SetNumberValueWithUnits (double numberValue, NXOpen.Unit units) |
Set the value of a number expression in specified units. More... | |
Public Member Functions inherited from NXOpen.NXObject | |
unsafe NXOpen.AttributeIterator | CreateAttributeIterator () |
Create an attribute iterator More... | |
unsafe void | DeleteAllAttributesByType (NXOpen.NXObject.AttributeType type) |
Deletes all attributes of a specific type. More... | |
unsafe void | DeleteAllAttributesByType (NXOpen.NXObject.AttributeType type, NXOpen.Update.Option option) |
Deletes all attributes of a specific type with the option to update or not. More... | |
unsafe void | DeleteAttributeByTypeAndTitle (NXOpen.NXObject.AttributeType type, string title) |
Deletes an attribute by type and title. More... | |
unsafe void | DeleteAttributeByTypeAndTitle (NXOpen.NXObject.AttributeType type, string title, NXOpen.Update.Option option) |
Deletes an attribute by type and title with the option to update or not. More... | |
unsafe void | DeleteUserAttribute (NXOpen.NXObject.AttributeType type, string title, bool deleteEntireArray, NXOpen.Update.Option option) |
Deletes the first attribute encountered with the given Type, Title. More... | |
unsafe void | DeleteUserAttributes (NXOpen.AttributeIterator iterator, NXOpen.Update.Option option) |
Deletes the attributes on the object, if any, that satisfy the given iterator More... | |
unsafe void | DeleteUserAttributes (NXOpen.NXObject.AttributeType type, NXOpen.Update.Option option) |
Deletes the attributes encountered with the given Type with option to update or not. More... | |
unsafe NXOpen.INXObject | FindObject (string journalIdentifier) |
Finds the NXOpen.NXObject with the given identifier as recorded in a journal. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetAttributeTitlesByType (NXOpen.NXObject.AttributeType type) |
Gets all the attribute titles of a specific type. More... | |
unsafe bool | GetBooleanUserAttribute (string title, int index) |
Gets a boolean attribute by Title and array Index. More... | |
unsafe NXOpen.NXObject.ComputationalTime | GetComputationalTimeUserAttribute (string title, int index) |
Gets a time attribute by Title and array Index. More... | |
unsafe int | GetIntegerAttribute (string title) |
Gets an integer attribute by title. More... | |
unsafe int | GetIntegerUserAttribute (string title, int index) |
Gets an integer attribute by Title and array Index. More... | |
unsafe bool | GetNextUserAttribute (NXOpen.AttributeIterator iterator, out NXOpen.NXObject.AttributeInformation info) |
Gets the next attribute encountered on the object, if any, that satisfies the given iterator. More... | |
unsafe string | GetPdmReferenceAttributeValue (string attributeTitle) |
Gets the value of PDM Reference attribute for given object. More... | |
unsafe double | GetRealAttribute (string title) |
Gets a real attribute by title. More... | |
unsafe double | GetRealUserAttribute (string title, int index) |
Gets a real attribute by Title and array Index. More... | |
unsafe string | GetReferenceAttribute (string title) |
Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More... | |
unsafe string | GetStringAttribute (string title) |
Gets a string attribute value by title. More... | |
unsafe string | GetStringUserAttribute (string title, int index) |
Gets a string attribute by Title and array Index. More... | |
unsafe string | GetTimeAttribute (NXOpen.NXObject.DateAndTimeFormat format, string title) |
Gets a time attribute by title. More... | |
unsafe string | GetTimeUserAttribute (string title, int index) |
Gets a time attribute by Title and array Index. More... | |
unsafe NXOpen.NXObject.AttributeInformation | GetUserAttribute (string title, NXOpen.NXObject.AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttribute (string title, bool includeUnset, bool addStringValues, NXOpen.NXObject.AttributeType type) |
Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More... | |
unsafe string | GetUserAttributeAsString (string title, NXOpen.NXObject.AttributeType type, int index) |
Gets the first attribute encountered on the object, if any, with a given title, type and array index. More... | |
unsafe int | GetUserAttributeCount (NXOpen.AttributeIterator iterator) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
unsafe int | GetUserAttributeCount (NXOpen.AttributeIterator iterator, bool countArrayAsOneAttribute) |
Gets the count of set attributes on the object, if any, that satisfy the given iterator. More... | |
unsafe int | GetUserAttributeCount (NXOpen.NXObject.AttributeType type) |
Gets the count of set attributes on the object, if any, of the given type. More... | |
unsafe int | GetUserAttributeCount (NXOpen.NXObject.AttributeType type, bool includeUnset, bool countArrayAsOneAttribute) |
Gets the count of attributes on the object, if any, of the given type. More... | |
unsafe bool | GetUserAttributeLock (string title, NXOpen.NXObject.AttributeType type) |
Determine the lock of the given attribute. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (NXOpen.AttributeIterator iterator) |
Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes () |
Gets all the attributes that have been set on the given object. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (bool includeUnset) |
Gets all the attributes of the given object. More... | |
unsafe NXOpen.NXObject.AttributeInformation[] | GetUserAttributes (bool includeUnset, bool addStringValues) |
Gets all the attributes of the given object. More... | |
unsafe string[] | GetUserAttributesAsStrings () |
Gets all the attributes that have been set on the given object. More... | |
unsafe int | GetUserAttributeSize (string title, NXOpen.NXObject.AttributeType type) |
Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More... | |
unsafe NXOpen.NXObject[] | GetUserAttributeSourceObjects () |
Returns an array of objects from which this object presents attributes. More... | |
unsafe bool | HasUserAttribute (NXOpen.AttributeIterator iterator) |
Determines if an attribute exists on the object, that satisfies the given iterator More... | |
unsafe bool | HasUserAttribute (string title, NXOpen.NXObject.AttributeType type, int index) |
Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More... | |
unsafe void | Print () |
Prints a representation of this object to the system log file. More... | |
unsafe void | SetAttribute (string title, int value) |
Creates or modifies an integer attribute. More... | |
unsafe void | SetAttribute (string title, int value, NXOpen.Update.Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title, double value) |
Creates or modifies a real attribute. More... | |
unsafe void | SetAttribute (string title, double value, NXOpen.Update.Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title, string value) |
Creates or modifies a string attribute. More... | |
unsafe void | SetAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
unsafe void | SetAttribute (string title) |
Creates or modifies a null attribute which is an attribute with a title and no value. More... | |
unsafe void | SetAttribute (string title, NXOpen.Update.Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
unsafe void | SetBooleanUserAttribute (string title, int index, bool value, NXOpen.Update.Option option) |
Creates or modifies a boolean attribute with the option to update or not. More... | |
unsafe void | SetName (string name) |
Sets the custom name of the object. More... | |
unsafe void | SetPdmReferenceAttribute (string attributeTitle, string attributeValue) |
Sets the value of PDM Reference attribute on the object. More... | |
unsafe void | SetReferenceAttribute (string title, string value) |
Creates or modifies a string attribute which uses a reference string. More... | |
unsafe void | SetReferenceAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute which uses a reference string, with the option to update or not. More... | |
unsafe void | SetTimeAttribute (string title, string value) |
Creates or modifies a time attribute. More... | |
unsafe void | SetTimeAttribute (string title, string value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetTimeUserAttribute (string title, int index, string value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetTimeUserAttribute (string title, int index, NXOpen.NXObject.ComputationalTime value, NXOpen.Update.Option option) |
Creates or modifies a time attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (NXOpen.NXObject.AttributeInformation info, NXOpen.Update.Option option) |
Creates or modifies an attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, int value, NXOpen.Update.Option option) |
Creates or modifies an integer attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, double value, NXOpen.Update.Option option) |
Creates or modifies a real attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, string value, NXOpen.Update.Option option) |
Creates or modifies a string attribute with the option to update or not. More... | |
unsafe void | SetUserAttribute (string title, int index, NXOpen.Update.Option option) |
Creates or modifies a null attribute with the option to update or not. More... | |
unsafe void | SetUserAttributeLock (string title, NXOpen.NXObject.AttributeType type, bool @lock) |
Lock or unlock the given attribute. More... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
unsafe bool | BooleanValue [get] |
Returns the value of a boolean expression. More... | |
unsafe string | Description [get] |
Returns the description of the expression. More... | |
unsafe string | Equation [get] |
Returns the expression as a string in the form: "name = formula". More... | |
unsafe string | ExpressionString [get] |
Returns the expression as a string in the form: "name = formula". More... | |
unsafe int | IntegerValue [get] |
Returns the value of an integer expression. More... | |
unsafe bool | IsGeometricExpression [get] |
Returns whether the expression is a geometric expression. More... | |
unsafe bool | IsInterpartExpression [get] |
Returns whether the expression is an interpart expression. More... | |
unsafe bool | IsMeasurementExpression [get] |
Returns whether the expression is owned by a measurement. More... | |
unsafe bool | IsNoEdit [get, set] |
Returns or sets whether the expression is edit locked. More... | |
unsafe bool | IsNoUpdate [get, set] |
Returns or sets whether the expression is update locked. More... | |
unsafe bool | IsRightHandSideLockedFromEdit [get] |
Returns whether the expression formula is locked from user edit. More... | |
unsafe bool | IsUserLocked [get, set] |
Returns or sets whether the expression is user locked. More... | |
unsafe double | NumberValue [get, set] |
Returns or sets the value of a number expression in base units. More... | |
unsafe NXOpen.Point3d | PointValue [get] |
Returns the value of point expression in base units. More... | |
unsafe string | RightHandSide [get, set] |
Returns or sets the formula (right hand side) of the expression string: "name = formula". More... | |
unsafe NXOpen.Expression.StatusOption | Status [get] |
Returns the NXOpen.Expression.StatusOption of the expression. More... | |
unsafe string | StringValue [get] |
Returns the value of string expression. More... | |
unsafe string | Type [get] |
Returns the type of the expression. More... | |
unsafe NXOpen.Unit | Units [get, set] |
Returns or sets the units for the expression. More... | |
unsafe double | Value [get, set] |
Returns or sets the value of a number expression in base units (except for angle-related expressionss - see below). More... | |
unsafe NXOpen.Vector3d | VectorValue [get] |
Returns the value of a vector expression in base units. More... | |
Properties inherited from NXOpen.NXObject | |
unsafe bool | IsOccurrence [get] |
Returns whether this object is an occurrence or not. More... | |
unsafe string | JournalIdentifier [get] |
Returns the identifier that would be recorded in a journal for this object. More... | |
unsafe string | Name [get] |
Returns the custom name of the object. More... | |
unsafe NXOpen.Assemblies.Component | OwningComponent [get] |
Returns the owning component, if this object is an occurrence. More... | |
unsafe NXOpen.BasePart | OwningPart [get] |
Returns the owning part of this object More... | |
unsafe NXOpen.INXObject | Prototype [get] |
Returns the prototype of this object if it is an occurrence. More... | |
Properties inherited from NXOpen.TaggedObject | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Properties inherited from NXOpen.INXObject | |
bool | IsOccurrence [get] |
Returns whether this object is an occurrence or not. More... | |
string | JournalIdentifier [get] |
Returns the identifier that would be recorded in a journal for this object. More... | |
string | Name [get] |
Returns the custom name of the object. More... | |
NXOpen.Assemblies.Component | OwningComponent [get] |
Returns the owning component, if this object is an occurrence. More... | |
NXOpen.BasePart | OwningPart [get] |
Returns the owning part of this object More... | |
NXOpen.INXObject | Prototype [get] |
Returns the prototype of this object if it is an occurrence. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Represents an expression.
To create a new instance of this class, use NXOpen.ExpressionCollection.CreateWithUnits
Created in NX3.0.0
Indicates the units to use when getting an expression's value.
|
inline |
Changes the comment.
Created in NX4.0.0
License requirements: None.
newComment | comment |
|
inline |
Returns the descriptor for the expression, or a null reference (Nothing in Visual Basic) if there is no descriptor.
Currently, only feature expressions have descriptors.
Created in NX4.0.0
License requirements: None.
|
inline |
Get the formula part of the expression string: "name = formula".
Replaces RightHandSide for new application code.
Created in NX1872.0.0
License requirements: None.
|
inline |
The source part name and source expression name of the interpart expression
Created in NX10.0.0
License requirements: None.
partName | |
expName |
|
inline |
Get the value of a list expression.
Created in NX6.0.0
License requirements: None.
|
inline |
Get the number value of a number expression in specified units.
The value is returned in the units that are also returned as requested by this method.
Created in NX1872.0.0
License requirements: None.
unitsOption | use base units, expression units, data entry units or object info units. |
numberValue | |
unit |
|
inline |
Returns the feature that created the supplied expression.
This is the feature that created it during feature creation. For example, the expression "p0 = x" is owned by feature "BLOCK(0)".
This works with both normal expressions and expressions created by the geometric expression feature.
Created in NX4.0.0
License requirements: None.
|
inline |
Returns the feature whose rpo_transform created the supplied positioning dimension expression.
This is the feature that created it during positioning the feature. For example, the expression "p0 = x" is owned by the Transform of feature "Boss(2)".
This works with expressions created by the feature with rpo.
Created in NX7.5.0
License requirements: None.
|
inline |
Get the value of a point expression in the specified units.
Created in NX6.0.0
License requirements: None.
unitsOption | use base units, expression units, data entry units or object info units. |
|
inline |
Returns all the referencing expressions of the expression
Created in NX8.0.0
License requirements: None.
|
inline |
Returns an array of the features that use the supplied expression.
Created in NX4.0.0
License requirements: None.
|
inline |
Get the value of the expression in specified units.
NOTE: Avoid this function in new application code. This method must only be used on number expressions.
If the dimensionality of the expression contains an angle dimension and the option specified is Expression.UnitsOption.Base , then the value returned is converted so that the angular dimension is expressed in degrees. The only other option supported here is Expression.UnitsOption.Expression
To return the correct base unit value, use GetNumberValueWithUnits instead.
Created in NX4.0.0
License requirements: None.
unitsOption | use base units or expression units |
|
inline |
Get the value of a vector expression in specified units.
Created in NX6.0.0
License requirements: None.
unitsOption | use base units, expression units, data entry units or object info units. |
|
inline |
Make the expression constant.
This removes any parents, interpart link information and changes the formula to be constant.
Created in NX1847.0.0
License requirements: None.
|
inline |
Set the formula part of the expression string: "name = formula".
Replaces RightHandSide for new application code.
Created in NX1872.0.0
License requirements: None.
rightHandSide |
|
inline |
Set the value of a number expression in specified units.
The units specified have to be compatible with the expression units, but do not have to be the same. If the units specified are a null reference (Nothing in Visual Basic), then the value is assumed to be in the expression's units, to correspond to such expressions as
[mm]L = 5
Created in NX1872.0.0
License requirements: None.
numberValue | |
units |
|
get |
Returns the value of a boolean expression.
Created in NX6.0.0
License requirements: None.
|
get |
Returns the description of the expression.
This can be used to get the "A"x formatted name for interpart expressions.
Created in NX5.0.2
License requirements: None.
|
get |
Returns the expression as a string in the form: "name = formula".
NOTE: Avoid this function in new application code.
This function may return a modified equation if the expression involves angles. If the units of the left and right hand sides of the expression do not have matching angle dimensions then the legacy system required that a conversion factor be applied as follows (no matter what units were used for the arcAngle): The modification performed by this function can, if needed for some parts, be suppressed by setting the environment variable UGII_KF_DONT_CONVERT_FORMULAS_FOR_RADIAN_UNITS
[mm]arcRadius = 5 [degrees]arcAngle = 5 [mm]arcLength = arcRadius * arcAngle * pi() / 180.
This is no longer needed and, in fact, will give wrong results. So expressions are modified on load to remove this conversion factor (pi()/180.). However, legacy callers to this function would expect it to be there, so this function will add it, even if the actual equation is:
[mm]arcLength = arcRadius * arcAngle
To return the actual equation for all expressions, use instead ExpressionString .
Created in NX3.0.0
License requirements: None.
|
get |
Returns the expression as a string in the form: "name = formula".
Replaces Equation for new applications code. This function will return the expression string for all expressions.
Created in NX1847.0.0
License requirements: None.
|
get |
Returns the value of an integer expression.
Created in NX6.0.0
License requirements: None.
|
get |
Returns whether the expression is a geometric expression.
Created in NX4.0.0
License requirements: None.
|
get |
Returns whether the expression is an interpart expression.
Created in NX11.0.0
License requirements: None.
|
get |
Returns whether the expression is owned by a measurement.
Created in NX5.0.0
License requirements: None.
|
getset |
Returns or sets whether the expression is edit locked.
If this property is false, then the expression can be edited. (This is the default state for newly created expressions.) If this property is true, then the expression cannot be edited. This corresponds to the interactive option RMB Lock Formula/RMB Unlock Formula.
Created in NX8.5.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets whether the expression is update locked.
If this property is false, then the expression can update. (This is the default state for newly created expressions.) If this property is true, then the expression cannot update.
Created in NX10.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns whether the expression formula is locked from user edit.
This can be for a variety of reasons. It can be locked by user, locked by internal sub system, part of a measure or geometric expression, or locked because of interpart relations. This corresponds to the set of expressions governed by the show locked formula expression toggle on the expression dialog.
Created in NX11.0.0
License requirements: None.
|
getset |
Returns or sets whether the expression is user locked.
If this property is false, then the expression can be over-ridden from another part. (This is the default state for newly created expressions.) If this property is true, you are not allowed to over-ride it. This corresponds to the interactive option RMB Toggle Interpart Override Lock.
Note that if an expression is currently over-ridden, you cannot set its lock property. In this instance, an exception will be thrown.
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the value of a number expression in base units.
Replaces Value for new application code. NOTE: Base units for angles is radians.
Created in NX1872.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the value of point expression in base units.
Created in NX6.0.0
License requirements: None.
|
getset |
Returns or sets the formula (right hand side) of the expression string: "name = formula".
NOTE: Avoid this function in new application code.
When setting/getting this property, this function may set/return a modified formula if the expression involves angles. If the units of the left and right hand sides of the expression do not have matching angle dimensions then the legacy system required that a conversion factor be applied as follows (no matter what units were used for arcAngle): The modification performed by these functions can, if needed for some parts, be suppressed by setting the environment variable UGII_KF_DONT_CONVERT_FORMULAS_FOR_RADIAN_UNITS
[mm]arcRadius = 5 [degrees]arcAngle = 5 [mm]arcLength = arcRadius * arcAngle * pi() / 180.
This is no longer needed and, in fact, will give wrong results. Expressions are modified on load to remove this conversion factor (pi()/180.). However, legacy callers of this function would expect it to be there, so this function will add it, even when returning the formula:
[mm]arcLength = arcRadius * arcAngle
To set/get the actual right hand side for all expressions, use instead GetFormula .
Created in NX3.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the NXOpen.Expression.StatusOption of the expression.
Created in NX1847.0.0
License requirements: None.
|
get |
Returns the value of string expression.
Created in NX5.0.0
License requirements: None.
|
get |
Returns the type of the expression.
Will be one of the following strings: "Number", "String", "Boolean", "Integer", "Point", "Vector", "List" and "Geometric"
Created in NX5.0.0
License requirements: None.
|
getset |
Returns or sets the units for the expression.
This must only be used on number expressions.
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the value of a number expression in base units (except for angle-related expressionss - see below).
NOTE: Avoid this function in new application code.
If the expression has an angular dimension, then the value is assumed to be based on degrees, which will not be the base unit value.
To always set or get the actual base unit value, use NumberValue instead.
Created in NX3.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the value of a vector expression in base units.
Created in NX6.0.0
License requirements: None.