Class Expression
Inheritance
System.Object
System.MarshalByRefObject
Expression
Implements
System.Runtime.Remoting.Messaging.IMessageSink
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NXOpen.dll
Syntax
public class Expression : NXObject, IMessageSink, INXObject
Constructors
Expression()
Declaration
Properties
BooleanValue
Declaration
public bool BooleanValue { get; }
Property Value
Type |
Description |
System.Boolean |
|
Description
Declaration
public string Description { get; }
Property Value
Type |
Description |
System.String |
|
Equation
Declaration
public string Equation { get; }
Property Value
Type |
Description |
System.String |
|
ExpressionString
Declaration
public string ExpressionString { get; }
Property Value
Type |
Description |
System.String |
|
IntegerValue
Declaration
public int IntegerValue { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsGeometricExpression
Declaration
public bool IsGeometricExpression { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsInterpartExpression
Declaration
public bool IsInterpartExpression { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsMassManagementExp
Declaration
public bool IsMassManagementExp { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsMeasurementExpression
Declaration
public bool IsMeasurementExpression { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsNoEdit
Declaration
public bool IsNoEdit { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsNoUpdate
Declaration
public bool IsNoUpdate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsRightHandSideLockedFromEdit
Declaration
public bool IsRightHandSideLockedFromEdit { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsUserLocked
Declaration
public bool IsUserLocked { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsUserSpecified
Declaration
public bool IsUserSpecified { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
NumberValue
Declaration
public double NumberValue { get; set; }
Property Value
Type |
Description |
System.Double |
|
PointValue
Declaration
public Point3d PointValue { get; }
Property Value
RightHandSide
Declaration
public string RightHandSide { get; set; }
Property Value
Type |
Description |
System.String |
|
Status
Declaration
public Expression.StatusOption Status { get; }
Property Value
StringValue
Declaration
public string StringValue { get; }
Property Value
Type |
Description |
System.String |
|
Type
Declaration
public string Type { get; }
Property Value
Type |
Description |
System.String |
|
Units
Declaration
public Unit Units { get; set; }
Property Value
Value
Declaration
public double Value { get; set; }
Property Value
Type |
Description |
System.Double |
|
VectorValue
Declaration
public Vector3d VectorValue { get; }
Property Value
Methods
Declaration
public void EditComment(string newComment)
Parameters
Type |
Name |
Description |
System.String |
newComment |
|
GetDescriptor()
Declaration
public string GetDescriptor()
Returns
Type |
Description |
System.String |
|
Declaration
public string GetFormula()
Returns
Type |
Description |
System.String |
|
GetInterpartExpressionNames(out String, out String)
Declaration
public void GetInterpartExpressionNames(out string partName, out string expName)
Parameters
Type |
Name |
Description |
System.String |
partName |
|
System.String |
expName |
|
GetListValue()
Declaration
public object GetListValue()
Returns
Type |
Description |
System.Object |
|
GetNumberValueWithUnits(Expression.UnitsOption, out Double, out Unit)
Declaration
public void GetNumberValueWithUnits(Expression.UnitsOption unitsOption, out double numberValue, out Unit unit)
Parameters
GetOwningFeature()
Declaration
public Feature GetOwningFeature()
Returns
GetOwningRpoFeature()
Declaration
public Feature GetOwningRpoFeature()
Returns
GetPointValueWithUnits(Expression.UnitsOption)
Declaration
public Point3d GetPointValueWithUnits(Expression.UnitsOption unitsOption)
Parameters
Returns
GetReferencingExpressions()
Declaration
public Expression[] GetReferencingExpressions()
Returns
GetUsingFeatures()
Declaration
public Feature[] GetUsingFeatures()
Returns
GetValueUsingUnits(Expression.UnitsOption)
Declaration
public double GetValueUsingUnits(Expression.UnitsOption unitsOption)
Parameters
Returns
Type |
Description |
System.Double |
|
GetVectorValueWithUnits(Expression.UnitsOption)
Declaration
public Vector3d GetVectorValueWithUnits(Expression.UnitsOption unitsOption)
Parameters
Returns
MakeConstant()
Declaration
public void MakeConstant()
Declaration
public void SetFormula(string rightHandSide)
Parameters
Type |
Name |
Description |
System.String |
rightHandSide |
|
SetNumberValueWithUnits(Double, Unit)
Declaration
public void SetNumberValueWithUnits(double numberValue, Unit units)
Parameters
Type |
Name |
Description |
System.Double |
numberValue |
|
Unit |
units |
|
Implements
System.Runtime.Remoting.Messaging.IMessageSink