Search Results for

    Show / Hide Table of Contents

    Class Constraint

    Inheritance
    System.Object
    System.MarshalByRefObject
    NXRemotableObject
    TaggedObject
    NXObject
    Constraint
    ComponentConstraint
    Implements
    System.Runtime.Remoting.Messaging.IMessageSink
    INXObject
    Inherited Members
    NXObject.SetUserAttribute(NXObject.AttributeInformation, Update.Option)
    NXObject.SetUserAttribute(String, Int32, Int32, Update.Option)
    NXObject.SetUserAttribute(String, Int32, Double, Update.Option)
    NXObject.SetUserAttribute(String, Int32, String, Update.Option)
    NXObject.SetUserAttribute(String, Int32, Update.Option)
    NXObject.SetTimeUserAttribute(String, Int32, String, Update.Option)
    NXObject.SetTimeUserAttribute(String, Int32, NXObject.ComputationalTime, Update.Option)
    NXObject.SetBooleanUserAttribute(String, Int32, Boolean, Update.Option)
    NXObject.CreateAttributeIterator()
    NXObject.HasUserAttribute(AttributeIterator)
    NXObject.HasUserAttribute(String, NXObject.AttributeType, Int32)
    NXObject.GetUserAttributeCount(AttributeIterator)
    NXObject.GetUserAttributeCount(AttributeIterator, Boolean)
    NXObject.GetUserAttributeCount(NXObject.AttributeType)
    NXObject.GetUserAttributeCount(NXObject.AttributeType, Boolean, Boolean)
    NXObject.GetUserAttributeSize(String, NXObject.AttributeType)
    NXObject.GetNextUserAttribute(AttributeIterator, NXObject.AttributeInformation)
    NXObject.GetUserAttribute(String, NXObject.AttributeType, Int32)
    NXObject.GetBooleanUserAttribute(String, Int32)
    NXObject.GetIntegerUserAttribute(String, Int32)
    NXObject.GetRealUserAttribute(String, Int32)
    NXObject.GetStringUserAttribute(String, Int32)
    NXObject.GetTimeUserAttribute(String, Int32)
    NXObject.GetComputationalTimeUserAttribute(String, Int32)
    NXObject.GetUserAttributes(AttributeIterator)
    NXObject.GetUserAttributes()
    NXObject.GetUserAttributes(Boolean)
    NXObject.GetUserAttributeAsString(String, NXObject.AttributeType, Int32)
    NXObject.DeleteUserAttributes(AttributeIterator, Update.Option)
    NXObject.DeleteUserAttribute(NXObject.AttributeType, String, Boolean, Update.Option)
    NXObject.DeleteUserAttributes(NXObject.AttributeType, Update.Option)
    NXObject.SetUserAttributeLock(String, NXObject.AttributeType, Boolean)
    NXObject.GetUserAttributeLock(String, NXObject.AttributeType)
    NXObject.GetUserAttributeSourceObjects()
    NXObject.SetPdmReferenceAttribute(String, String)
    NXObject.GetPdmReferenceAttributeValue(String)
    NXObject.GetUserAttribute(String, Boolean, Boolean, NXObject.AttributeType)
    NXObject.GetUserAttributes(Boolean, Boolean)
    NXObject.DeleteAllAttributesByType(NXObject.AttributeType)
    NXObject.DeleteAllAttributesByType(NXObject.AttributeType, Update.Option)
    NXObject.SetAttribute(String, Int32)
    NXObject.SetAttribute(String, Int32, Update.Option)
    NXObject.SetAttribute(String, Double)
    NXObject.SetAttribute(String, Double, Update.Option)
    NXObject.SetAttribute(String, String)
    NXObject.SetAttribute(String, String, Update.Option)
    NXObject.SetAttribute(String)
    NXObject.SetAttribute(String, Update.Option)
    NXObject.SetTimeAttribute(String, String)
    NXObject.SetTimeAttribute(String, String, Update.Option)
    NXObject.GetIntegerAttribute(String)
    NXObject.GetRealAttribute(String)
    NXObject.GetStringAttribute(String)
    NXObject.GetTimeAttribute(NXObject.DateAndTimeFormat, String)
    NXObject.GetReferenceAttribute(String)
    NXObject.DeleteAttributeByTypeAndTitle(NXObject.AttributeType, String)
    NXObject.DeleteAttributeByTypeAndTitle(NXObject.AttributeType, String, Update.Option)
    NXObject.SetReferenceAttribute(String, String)
    NXObject.SetReferenceAttribute(String, String, Update.Option)
    NXObject.GetAttributeTitlesByType(NXObject.AttributeType)
    NXObject.GetUserAttributesAsStrings()
    NXObject.FindObject(String)
    NXObject.Print()
    NXObject.SetName(String)
    NXObject.IsOccurrence
    NXObject.JournalIdentifier
    NXObject.Name
    NXObject.OwningComponent
    NXObject.OwningPart
    NXObject.Prototype
    TaggedObject.initialize()
    TaggedObject.ToString()
    TaggedObject.PrintTestData(String)
    TaggedObject.PrintTestData(String, Int32)
    TaggedObject.Tag
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    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)
    Namespace: NXOpen.Positioning
    Assembly: NXOpen.dll
    Syntax
    public class Constraint : NXObject, IMessageSink, INXObject

    Constructors

    Constraint()

    Declaration
    protected Constraint()

    Properties

    Automatic

    Declaration
    public bool Automatic { get; set; }
    Property Value
    Type Description
    System.Boolean

    ConstraintAlignment

    Declaration
    public Constraint.Alignment ConstraintAlignment { get; set; }
    Property Value
    Type Description
    Constraint.Alignment

    ConstraintSecondAlignment

    Declaration
    public Constraint.Alignment ConstraintSecondAlignment { get; set; }
    Property Value
    Type Description
    Constraint.Alignment

    ConstraintType

    Declaration
    public Constraint.Type ConstraintType { get; set; }
    Property Value
    Type Description
    Constraint.Type

    Expression

    Declaration
    public Expression Expression { get; }
    Property Value
    Type Description
    Expression

    ExpressionDriven

    Declaration
    public bool ExpressionDriven { get; set; }
    Property Value
    Type Description
    System.Boolean

    LowerLimitEnabled

    Declaration
    public bool LowerLimitEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    LowerLimitExpression

    Declaration
    public Expression LowerLimitExpression { get; }
    Property Value
    Type Description
    Expression

    LowerLimitRightHandSide

    Declaration
    public string LowerLimitRightHandSide { get; set; }
    Property Value
    Type Description
    System.String

    OffsetExpression

    Declaration
    public Expression OffsetExpression { get; }
    Property Value
    Type Description
    Expression

    OffsetRightHandSide

    Declaration
    public string OffsetRightHandSide { get; set; }
    Property Value
    Type Description
    System.String

    Persistent

    Declaration
    public bool Persistent { get; set; }
    Property Value
    Type Description
    System.Boolean

    SecondExpression

    Declaration
    public Expression SecondExpression { get; }
    Property Value
    Type Description
    Expression

    SecondExpressionDriven

    Declaration
    public bool SecondExpressionDriven { get; set; }
    Property Value
    Type Description
    System.Boolean

    SecondExpressionRightHandSide

    Declaration
    public string SecondExpressionRightHandSide { get; set; }
    Property Value
    Type Description
    System.String

    SecondLowerLimitEnabled

    Declaration
    public bool SecondLowerLimitEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    SecondLowerLimitExpression

    Declaration
    public Expression SecondLowerLimitExpression { get; }
    Property Value
    Type Description
    Expression

    SecondLowerLimitRightHandSide

    Declaration
    public string SecondLowerLimitRightHandSide { get; set; }
    Property Value
    Type Description
    System.String

    SecondUpperLimitEnabled

    Declaration
    public bool SecondUpperLimitEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    SecondUpperLimitExpression

    Declaration
    public Expression SecondUpperLimitExpression { get; }
    Property Value
    Type Description
    Expression

    SecondUpperLimitRightHandSide

    Declaration
    public string SecondUpperLimitRightHandSide { get; set; }
    Property Value
    Type Description
    System.String

    SplinePointsType

    Declaration
    public Constraint.SplineType SplinePointsType { get; set; }
    Property Value
    Type Description
    Constraint.SplineType

    Suppressed

    Declaration
    public bool Suppressed { get; set; }
    Property Value
    Type Description
    System.Boolean

    UpperLimitEnabled

    Declaration
    public bool UpperLimitEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    UpperLimitExpression

    Declaration
    public Expression UpperLimitExpression { get; }
    Property Value
    Type Description
    Expression

    UpperLimitRightHandSide

    Declaration
    public string UpperLimitRightHandSide { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    CreateConstraintReference(NXObject, NXObject, Boolean, Boolean)

    Declaration
    public ConstraintReference CreateConstraintReference(NXObject movableObject, NXObject geometry, bool usesAxis, bool isIndirect)
    Parameters
    Type Name Description
    NXObject movableObject
    NXObject geometry
    System.Boolean usesAxis
    System.Boolean isIndirect
    Returns
    Type Description
    ConstraintReference

    CreateConstraintReference(NXObject, NXObject, Boolean, Boolean, Boolean)

    Declaration
    public ConstraintReference CreateConstraintReference(NXObject movableObject, NXObject geometry, bool usesAxis, bool isIndirect, bool usePortRotate)
    Parameters
    Type Name Description
    NXObject movableObject
    NXObject geometry
    System.Boolean usesAxis
    System.Boolean isIndirect
    System.Boolean usePortRotate
    Returns
    Type Description
    ConstraintReference

    CreateCouplerReference(NXObject)

    Declaration
    public ConstraintReference CreateCouplerReference(NXObject coupledConstraint)
    Parameters
    Type Name Description
    NXObject coupledConstraint
    Returns
    Type Description
    ConstraintReference

    DeleteConstraintReference(ConstraintReference)

    Declaration
    public void DeleteConstraintReference(ConstraintReference constraintReference)
    Parameters
    Type Name Description
    ConstraintReference constraintReference

    EditConstraintReference(ConstraintReference, NXObject, NXObject, Boolean, Boolean, Boolean)

    Declaration
    public void EditConstraintReference(ConstraintReference constraintReference, NXObject movableObject, NXObject geometry, bool usesAxis, bool isIndirect, bool usePortRotate)
    Parameters
    Type Name Description
    ConstraintReference constraintReference
    NXObject movableObject
    NXObject geometry
    System.Boolean usesAxis
    System.Boolean isIndirect
    System.Boolean usePortRotate

    EditCouplerReference(ConstraintReference, NXObject)

    Declaration
    public void EditCouplerReference(ConstraintReference couplerReference, NXObject coupledConstraint)
    Parameters
    Type Name Description
    ConstraintReference couplerReference
    NXObject coupledConstraint

    FlipAlignment()

    Declaration
    public void FlipAlignment()

    GenerateConversionReport(out String[])

    Declaration
    public void GenerateConversionReport(out string[] lines)
    Parameters
    Type Name Description
    System.String[] lines

    GetConstraintStatus()

    Declaration
    public Constraint.SolverStatus GetConstraintStatus()
    Returns
    Type Description
    Constraint.SolverStatus

    GetDisplayedConstraint()

    Declaration
    public DisplayedConstraint GetDisplayedConstraint()
    Returns
    Type Description
    DisplayedConstraint

    GetReferences()

    Declaration
    public ConstraintReference[] GetReferences()
    Returns
    Type Description
    ConstraintReference[]

    Renew()

    Declaration
    public void Renew()

    ReverseDirection()

    Declaration
    public void ReverseDirection()

    SetAlignmentHint(Constraint.Alignment)

    Declaration
    public void SetAlignmentHint(Constraint.Alignment alignment)
    Parameters
    Type Name Description
    Constraint.Alignment alignment

    SetExpression(String)

    Declaration
    public void SetExpression(string expression)
    Parameters
    Type Name Description
    System.String expression

    Implements

    System.Runtime.Remoting.Messaging.IMessageSink
    INXObject
    In This Article
    Back to top Generated by DocFX