Class Constraint
Assembly: NXOpen.dll
Syntax
public class Constraint : NXObject, IMessageSink, INXObject
Constructors
Constraint()
Declaration
Properties
Automatic
Declaration
public bool Automatic { get; set; }
Property Value
ConstraintAlignment
Declaration
public Constraint.Alignment ConstraintAlignment { get; set; }
Property Value
ConstraintSecondAlignment
Declaration
public Constraint.Alignment ConstraintSecondAlignment { get; set; }
Property Value
ConstraintType
Declaration
public Constraint.Type ConstraintType { get; set; }
Property Value
Expression
Declaration
public Expression Expression { get; }
Property Value
ExpressionDriven
Declaration
public bool ExpressionDriven { get; set; }
Property Value
LowerLimitEnabled
Declaration
public bool LowerLimitEnabled { get; set; }
Property Value
LowerLimitExpression
Declaration
public Expression LowerLimitExpression { get; }
Property Value
LowerLimitRightHandSide
Declaration
public string LowerLimitRightHandSide { get; set; }
Property Value
OffsetExpression
Declaration
public Expression OffsetExpression { get; }
Property Value
OffsetRightHandSide
Declaration
public string OffsetRightHandSide { get; set; }
Property Value
Persistent
Declaration
public bool Persistent { get; set; }
Property Value
SecondExpression
Declaration
public Expression SecondExpression { get; }
Property Value
SecondExpressionDriven
Declaration
public bool SecondExpressionDriven { get; set; }
Property Value
SecondExpressionRightHandSide
Declaration
public string SecondExpressionRightHandSide { get; set; }
Property Value
SecondLowerLimitEnabled
Declaration
public bool SecondLowerLimitEnabled { get; set; }
Property Value
SecondLowerLimitExpression
Declaration
public Expression SecondLowerLimitExpression { get; }
Property Value
SecondLowerLimitRightHandSide
Declaration
public string SecondLowerLimitRightHandSide { get; set; }
Property Value
SecondUpperLimitEnabled
Declaration
public bool SecondUpperLimitEnabled { get; set; }
Property Value
SecondUpperLimitExpression
Declaration
public Expression SecondUpperLimitExpression { get; }
Property Value
SecondUpperLimitRightHandSide
Declaration
public string SecondUpperLimitRightHandSide { get; set; }
Property Value
SplinePointsType
Declaration
public Constraint.SplineType SplinePointsType { get; set; }
Property Value
Suppressed
Declaration
public bool Suppressed { get; set; }
Property Value
UpperLimitEnabled
Declaration
public bool UpperLimitEnabled { get; set; }
Property Value
UpperLimitExpression
Declaration
public Expression UpperLimitExpression { get; }
Property Value
UpperLimitRightHandSide
Declaration
public string UpperLimitRightHandSide { get; set; }
Property Value
Methods
CreateConstraintReference(NXObject, NXObject, bool, bool)
Declaration
public ConstraintReference CreateConstraintReference(NXObject movableObject, NXObject geometry, bool usesAxis, bool isIndirect)
Parameters
Returns
CreateConstraintReference(NXObject, NXObject, bool, bool, bool)
Declaration
public ConstraintReference CreateConstraintReference(NXObject movableObject, NXObject geometry, bool usesAxis, bool isIndirect, bool usePortRotate)
Parameters
Returns
CreateCouplerReference(NXObject)
Declaration
public ConstraintReference CreateCouplerReference(NXObject coupledConstraint)
Parameters
Type |
Name |
Description |
NXObject |
coupledConstraint |
|
Returns
DeleteConstraintReference(ConstraintReference)
Declaration
public void DeleteConstraintReference(ConstraintReference constraintReference)
Parameters
EditConstraintReference(ConstraintReference, NXObject, NXObject, bool, bool, bool)
Declaration
public void EditConstraintReference(ConstraintReference constraintReference, NXObject movableObject, NXObject geometry, bool usesAxis, bool isIndirect, bool usePortRotate)
Parameters
EditCouplerReference(ConstraintReference, NXObject)
Declaration
public void EditCouplerReference(ConstraintReference couplerReference, NXObject coupledConstraint)
Parameters
FlipAlignment()
Declaration
public void FlipAlignment()
GenerateConversionReport(out string[])
Declaration
public void GenerateConversionReport(out string[] lines)
Parameters
Type |
Name |
Description |
string[] |
lines |
|
GetConstraintStatus()
Declaration
public Constraint.SolverStatus GetConstraintStatus()
Returns
GetDisplayedConstraint()
Declaration
public DisplayedConstraint GetDisplayedConstraint()
Returns
GetReferences()
Declaration
public ConstraintReference[] GetReferences()
Returns
Renew()
Declaration
ReverseDirection()
Declaration
public void ReverseDirection()
SetAlignmentHint(Alignment)
Declaration
public void SetAlignmentHint(Constraint.Alignment alignment)
Parameters
SetExpression(string)
Declaration
public void SetExpression(string expression)
Parameters
Type |
Name |
Description |
string |
expression |
|
Implements
System.Runtime.Remoting.Messaging.IMessageSink