NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Positioning.ComponentConstraint Class Reference

Constraint for use in positioning assembly objects in NX. More...

Inheritance diagram for NXOpen.Positioning.ComponentConstraint:
NXOpen.Positioning.Constraint NXOpen.NXObject NXOpen.TaggedObject NXOpen.INXObject NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  DirectionToFixed {
  Unknown = -1, Toward, AwayFrom, NothingFixed,
  Fix, Suppressed, IgnoredInArrangement
}
 Specifies how a constraint affects the positioning of a component. More...
 
- Public Types inherited from NXOpen.Positioning.Constraint
enum  Alignment { InferAlign, CoAlign, ContraAlign }
 Specifies alignment of directed geometries used in a constraint. More...
 
enum  SolverStatus {
  NewlyCreated, Suppressed, OutOfDate, OverConstrained,
  NotConsistentDims, NotConsistentOther, NotConsistentUnknown, BetweenFixed,
  NotSolved, Solved, CannotSolve, Delayed,
  IgnoredInArrangement, InternallyInconsistent, UnloadedGeometry, PendingConvertedMc,
  ConflictingWithWave, InconsistentLimits, BeyondLimits
}
 Specifies the status of a constraint. More...
 
enum  SplineType { ByPoles, ByPoints, Invalid }
 Specifies how the spline points define the shape of the spline. More...
 
enum  Type {
  Undefined, Touch, Concentric, Fix,
  Distance, Parallel, Perpendicular, Center12,
  Center22, Angle, Fit, Bond,
  OrientAngle, SplineData, SplineLength, LinearPattern,
  CircularPattern, Linear2dPattern, RadiantPattern, AlignLock,
  CommonOffsetTransform, Hinge, Slider, Cylindrical,
  Ball, Screw, Gear, RackPinion,
  Cable
}
 Specifies the type of a constraint. 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
NXOpen.Positioning.ComponentConstraint 
CopyInheritedToOverride ()
 Given an inherited NXOpen.Positioning.ComponentConstraint created because of Positioning Overrides, create a new constraint copied from it in the same part. More...
 
unsafe void CopyToOverride ()
 Given an inherited NXOpen.Positioning.ComponentConstraint created because of Positioning Overrides, create a new constraint copied from it in the same part. More...
 
unsafe
NXOpen.Positioning.ComponentConstraint.DirectionToFixed 
GetDirectionToFixed (NXOpen.Assemblies.Component component, NXOpen.Assemblies.Arrangement arrangement)
 Get the NXOpen.Positioning.ComponentConstraint.DirectionToFixed value of the NXOpen.Positioning.ComponentConstraint given a component and an arrangement. More...
 
unsafe bool GetInherited ()
 Get whether this NXOpen.Positioning.ComponentConstraint is an inherited constraint. More...
 
unsafe bool GetSeparateSuppression ()
 An inherited NXOpen.Positioning.ComponentConstraint can be suppressed independently of the constraint it is derived from. More...
 
unsafe bool GetSharedSuppressed ()
 Get the shared suppression state of this NXOpen.Positioning.ComponentConstraint used across all arrangements where the constraint is not arrangement specific. More...
 
unsafe bool GetSpecificInArrangement (NXOpen.Assemblies.Arrangement arrangement)
 Get the arrangement specific state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement . More...
 
unsafe bool GetSuppressedInArrangement (NXOpen.Assemblies.Arrangement arrangement)
 Get the suppression state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement . More...
 
unsafe void RememberOnComponent (NXOpen.Assemblies.Component component)
 Remembers the constraint in the prototype part of a referenced component for reuse in other occurrences of the part. More...
 
unsafe void SetSeparateSuppression (bool separateSuppression)
 An inherited NXOpen.Positioning.ComponentConstraint can be suppressed independently of the constraint it is derived from. More...
 
unsafe void SetSharedSuppressed (bool suppressed)
 Set the shared suppression state of this NXOpen.Positioning.ComponentConstraint used across all arrangements where the constraint is not arrangement specific. More...
 
unsafe void SetSpecificInArrangement (NXOpen.Assemblies.Arrangement arrangement, bool arrangementSpecific)
 Set the arrangement specific state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement . More...
 
unsafe void SetSuppressedInArrangement (NXOpen.Assemblies.Arrangement arrangement, bool suppressed)
 Set the suppression state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement . More...
 
- Public Member Functions inherited from NXOpen.Positioning.Constraint
unsafe
NXOpen.Positioning.ConstraintReference 
CreateConstraintReference (NXOpen.NXObject movableObject, NXOpen.NXObject geometry, bool usesAxis, bool isIndirect)
 Adds geometry to a constraint and sets the movable object to be constrained. More...
 
unsafe
NXOpen.Positioning.ConstraintReference 
CreateConstraintReference (NXOpen.NXObject movableObject, NXOpen.NXObject geometry, bool usesAxis, bool isIndirect, bool usePortRotate)
 Adds geometry to a constraint and sets the movable object to be constrained. More...
 
unsafe
NXOpen.Positioning.ConstraintReference 
CreateCouplerReference (NXOpen.NXObject coupledConstraint)
 Adds constraint reference to a coupler. More...
 
unsafe void DeleteConstraintReference (NXOpen.Positioning.ConstraintReference constraintReference)
 Removes a NXOpen.Positioning.ConstraintReference from the constraint. More...
 
unsafe void EditConstraintReference (NXOpen.Positioning.ConstraintReference constraintReference, NXOpen.NXObject movableObject, NXOpen.NXObject geometry, bool usesAxis, bool isIndirect, bool usePortRotate)
 Adds geometry to a constraint and sets the movable object to be constrained, replacing the properties of an existing reference of the constraint. More...
 
unsafe void EditCouplerReference (NXOpen.Positioning.ConstraintReference couplerReference, NXOpen.NXObject coupledConstraint)
 Edit coupler reference so that it is replaced with another constraint. More...
 
unsafe void FlipAlignment ()
 Reverses the constraint alignment if this is possible. More...
 
unsafe void GenerateConversionReport (out string[] lines)
 Returns a textual conversion report this constraint from when it was converted from a Mating Constraint to an Assembly Constraint. More...
 
unsafe
NXOpen.Positioning.Constraint.SolverStatus 
GetConstraintStatus ()
 Returns the solver status of a constraint. More...
 
unsafe
NXOpen.Positioning.DisplayedConstraint 
GetDisplayedConstraint ()
 Gets the NXOpen.Positioning.DisplayedConstraint that is in the same part as that of the constraint. More...
 
unsafe
NXOpen.Positioning.ConstraintReference[] 
GetReferences ()
 Gets all the NXOpen.Positioning.ConstraintReference s for the constraint. More...
 
unsafe void Renew ()
 Changes the constraint to solve with the latest version of the constraint code. More...
 
unsafe void ReverseDirection ()
 Reverses the constraint direction. More...
 
unsafe void SetAlignmentHint (NXOpen.Positioning.Constraint.Alignment alignment)
 Set a hint as to which alignment should be used by the solver for this constraint. More...
 
unsafe void SetExpression (string expression)
 The NXOpen.Expression of a constraint - only used if this constraint type supports an expression, such as a distance or angle constraint, or a joint. 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 ArrangementSpecific [get, set]
 Returns or sets the arrangement specific state of this NXOpen.Positioning.ComponentConstraint in the NXOpen.Positioning.ComponentPositioner.PrimaryArrangement . More...
 
- Properties inherited from NXOpen.Positioning.Constraint
unsafe bool Automatic [get, set]
 Returns or sets the flag marking the constraint as an "automatic" constraint. More...
 
unsafe
NXOpen.Positioning.Constraint.Alignment 
ConstraintAlignment [get, set]
 Returns or sets the alignment behavior for the constraint. More...
 
unsafe
NXOpen.Positioning.Constraint.Alignment 
ConstraintSecondAlignment [get, set]
 Returns or sets the second alignment behavior for the constraint. More...
 
unsafe
NXOpen.Positioning.Constraint.Type 
ConstraintType [get, set]
 Returns or sets the constraint type. More...
 
unsafe NXOpen.Expression Expression [get]
 Returns the NXOpen.Expression of a constraint. More...
 
unsafe bool ExpressionDriven [get, set]
 Returns or sets the driven state of the expression of a constraint. More...
 
unsafe bool LowerLimitEnabled [get, set]
 Returns or sets the lower limit of the expression of a constraint. More...
 
unsafe NXOpen.Expression LowerLimitExpression [get]
 Returns the lower limit of the expression of a constraint. More...
 
unsafe string LowerLimitRightHandSide [get, set]
 Returns or sets the lower limit of the expression right hand side of a constraint. More...
 
unsafe NXOpen.Expression OffsetExpression [get]
 Returns the offset of a constraint. More...
 
unsafe string OffsetRightHandSide [get, set]
 Returns or sets the offset right hand side of a constraint. More...
 
unsafe bool Persistent [get, set]
 Returns or sets the persistent state of the constraint. More...
 
unsafe NXOpen.Expression SecondExpression [get]
 Returns the second NXOpen.Expression of a constraint. More...
 
unsafe bool SecondExpressionDriven [get, set]
 Returns or sets the driven state of the second expression of a constraint. More...
 
unsafe string SecondExpressionRightHandSide [get, set]
 Returns or sets the second expression right hand side of a constraint. More...
 
unsafe bool SecondLowerLimitEnabled [get, set]
 Returns or sets the lower limit of the second expression of a constraint. More...
 
unsafe NXOpen.Expression SecondLowerLimitExpression [get]
 Returns the lower limit of the second expression of a constraint. More...
 
unsafe string SecondLowerLimitRightHandSide [get, set]
 Returns or sets the lower limit of the second expression right hand side of a constraint. More...
 
unsafe bool SecondUpperLimitEnabled [get, set]
 Returns or sets the upper limit of the second expression of a constraint. More...
 
unsafe NXOpen.Expression SecondUpperLimitExpression [get]
 Returns the upper limit of the second expression of a constraint. More...
 
unsafe string SecondUpperLimitRightHandSide [get, set]
 Returns or sets the upper limit of the second expression right hand side of a constraint. More...
 
unsafe
NXOpen.Positioning.Constraint.SplineType 
SplinePointsType [get, set]
 Returns or sets the type of the spline. More...
 
unsafe bool Suppressed [get, set]
 Returns or sets the suppression state for the constraint. More...
 
unsafe bool UpperLimitEnabled [get, set]
 Returns or sets the upper limit of the expression of a constraint. More...
 
unsafe NXOpen.Expression UpperLimitExpression [get]
 Returns the upper limit of the expression of a constraint. More...
 
unsafe string UpperLimitRightHandSide [get, set]
 Returns or sets the upper limit of the expression right hand side of a constraint. 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...
 

Detailed Description

Constraint for use in positioning assembly objects in NX.

Created in NX5.0.1

Member Enumeration Documentation

Specifies how a constraint affects the positioning of a component.

Enumerator
Unknown 

No information available

Toward 

Toward fixed geometry

AwayFrom 

Away from fixed geometry

NothingFixed 

The network does not contain any fixed geometry

Fix 

The constraint is a NXOpen.Positioning.Constraint.Type.Fix

Suppressed 

The constraint is suppressed

IgnoredInArrangement 

The current arrangement ignores all constraints

Member Function Documentation

unsafe NXOpen.Positioning.ComponentConstraint NXOpen.Positioning.ComponentConstraint.CopyInheritedToOverride ( )
inline

Given an inherited NXOpen.Positioning.ComponentConstraint created because of Positioning Overrides, create a new constraint copied from it in the same part.

Unlike the inherited NXOpen.Positioning.ComponentConstraint , the new constraint can be modified by the user in the same ways as a normal constraint. (Inherited constraints can be suppressed or unsuppressed, but are otherwise read-only.)

If the constraint is not an inherited constraint, an error is raised.

Created in NX1847.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Returns
The new NXOpen.Positioning.ComponentConstraint copied from the inherited NXOpen.Positioning.ComponentConstraint in the same part.
unsafe void NXOpen.Positioning.ComponentConstraint.CopyToOverride ( )
inline

Given an inherited NXOpen.Positioning.ComponentConstraint created because of Positioning Overrides, create a new constraint copied from it in the same part.

Unlike the inherited NXOpen.Positioning.ComponentConstraint , the new constraint can be modified by the user in the same ways as a normal constraint. (Inherited constraints can be suppressed or unsuppressed, but are otherwise read-only.)

If the constraint is not an inherited constraint, an error is raised.

Created in NX12.0.0

Deprecated in NX1847.0.0. Use ComponentConstraint.CopyInheritedToOverride instead.

License requirements: assemblies ("ASSEMBLIES MODULE")

unsafe NXOpen.Positioning.ComponentConstraint.DirectionToFixed NXOpen.Positioning.ComponentConstraint.GetDirectionToFixed ( NXOpen.Assemblies.Component  component,
NXOpen.Assemblies.Arrangement  arrangement 
)
inline

Get the NXOpen.Positioning.ComponentConstraint.DirectionToFixed value of the NXOpen.Positioning.ComponentConstraint given a component and an arrangement.

This value specifies how a constraint affects the positioning of a component. If the arrangement is null, the "direction to fixed" value will be evaluated based on the default arrangement.

Created in NX9.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
componentThe component constrained to the specified constraint.
arrangementThe NXOpen.Assemblies.Arrangement in which the constraint state is being evaluated.
Returns
The NXOpen.Positioning.ComponentConstraint.DirectionToFixed value.
unsafe bool NXOpen.Positioning.ComponentConstraint.GetInherited ( )
inline

Get whether this NXOpen.Positioning.ComponentConstraint is an inherited constraint.

An inherited constraint is created by the system to support Positioning Overrides.

Created in NX9.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Returns
The inherited state of this NXOpen.Positioning.ComponentConstraint
unsafe bool NXOpen.Positioning.ComponentConstraint.GetSeparateSuppression ( )
inline

An inherited NXOpen.Positioning.ComponentConstraint can be suppressed independently of the constraint it is derived from.

When this has been done, it no longer becomes suppressed or unsuppressed in response to changes in the suppression of the constraint it is derived from. This method returns true for an inherited constraint in this state. It does not indicate if the constraint is inherited or not: use NXOpen.Positioning.Constraint.Suppressed for this.

Given a non-inherited constraint, this will return false.

Created in NX12.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Returns
The separate suppression state of this NXOpen.Positioning.ComponentConstraint
unsafe bool NXOpen.Positioning.ComponentConstraint.GetSharedSuppressed ( )
inline

Get the shared suppression state of this NXOpen.Positioning.ComponentConstraint used across all arrangements where the constraint is not arrangement specific.

Created in NX10.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Returns
The suppression state.
unsafe bool NXOpen.Positioning.ComponentConstraint.GetSpecificInArrangement ( NXOpen.Assemblies.Arrangement  arrangement)
inline

Get the arrangement specific state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement .

Created in NX6.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
arrangementThe NXOpen.Assemblies.Arrangement in which the arrangement specific state is being enquired.
Returns
The arrangement specific state.
unsafe bool NXOpen.Positioning.ComponentConstraint.GetSuppressedInArrangement ( NXOpen.Assemblies.Arrangement  arrangement)
inline

Get the suppression state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement .

If the constraint is not arrangement specific in this arrangement then the shared suppression state, used across all arrangements where the constraint is not arrangement specific, is used.

Created in NX6.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
arrangementThe NXOpen.Assemblies.Arrangement in which the suppression state is being enquired.
Returns
The suppression state.
unsafe void NXOpen.Positioning.ComponentConstraint.RememberOnComponent ( NXOpen.Assemblies.Component  component)
inline

Remembers the constraint in the prototype part of a referenced component for reuse in other occurrences of the part.

Fix and Bond constraints are never remembered. If the constraint does not reference geometry in the component, it is not remembered.

Created in NX5.0.1

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
componentThe NXOpen.Assemblies.Component on which the constraint is remembered
unsafe void NXOpen.Positioning.ComponentConstraint.SetSeparateSuppression ( bool  separateSuppression)
inline

An inherited NXOpen.Positioning.ComponentConstraint can be suppressed independently of the constraint it is derived from.

When this has been done, it no longer becomes suppressed or unsuppressed in response to changes in the suppression of the constraint it is derived from. This method sets this state on an inherited constraint. Setting this flag will not in itself suppress or unsuppress the inherited constraint: use NXOpen.Positioning.Constraint.Suppressed for this.

If the constraint is not an inherited constraint, an error is raised.

Created in NX12.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
separateSuppression
unsafe void NXOpen.Positioning.ComponentConstraint.SetSharedSuppressed ( bool  suppressed)
inline

Set the shared suppression state of this NXOpen.Positioning.ComponentConstraint used across all arrangements where the constraint is not arrangement specific.

Created in NX10.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
suppressedThe suppression state.
unsafe void NXOpen.Positioning.ComponentConstraint.SetSpecificInArrangement ( NXOpen.Assemblies.Arrangement  arrangement,
bool  arrangementSpecific 
)
inline

Set the arrangement specific state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement .

Created in NX6.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
arrangementThe NXOpen.Assemblies.Arrangement in which the arrangement specific state is being set.
arrangementSpecificThe arrangement specific state.
unsafe void NXOpen.Positioning.ComponentConstraint.SetSuppressedInArrangement ( NXOpen.Assemblies.Arrangement  arrangement,
bool  suppressed 
)
inline

Set the suppression state of this NXOpen.Positioning.ComponentConstraint in the specified NXOpen.Assemblies.Arrangement .

If the constraint is not arrangement specific in this arrangement then the shared suppression state, used across all arrangements where the constraint is not arrangement specific, is set.

Created in NX6.0.0

License requirements: assemblies ("ASSEMBLIES MODULE")

Parameters
arrangementThe NXOpen.Assemblies.Arrangement in which the suppression state is being set.
suppressedThe suppression state.

Property Documentation

unsafe bool NXOpen.Positioning.ComponentConstraint.ArrangementSpecific
getset

Returns or sets the arrangement specific state of this NXOpen.Positioning.ComponentConstraint in the NXOpen.Positioning.ComponentPositioner.PrimaryArrangement .

Constraints can never be arrangement specific in piece parts.

Created in NX6.0.0

License requirements to get this property: assemblies ("ASSEMBLIES MODULE")

License requirements to set this property: assemblies ("ASSEMBLIES MODULE")


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.