public interface ConstraintReference extends NXObject
Constraint.createConstraintReference(nxopen.NXObject, nxopen.NXObject, boolean, boolean)
. Modifier and Type | Interface and Description |
---|---|
static class |
ConstraintReference.ConstraintOrder
Specifies the order of the constraint reference used in a
Constraint . |
static class |
ConstraintReference.GeometryType
Specifies the type of the geometry used in a
ConstraintReference . |
static class |
ConstraintReference.HalfSpace
Specifies the half space value of one geometry used in a distance constraint.
|
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat
Modifier and Type | Method and Description |
---|---|
ConstraintReference.HalfSpace |
constraintReferenceHalfSpace()
Returns
the half_space value for the constraint reference.
|
NXObject |
getGeometry()
Returns the geometry of the constraint reference.
|
boolean |
getHasPerpendicularVector()
Get the flag indicating whether the constraint reference is one that maintains a direction
perpendicular to the primary geometry.
|
NXObject |
getMovableObject()
Returns the movable object of the constraint reference.
|
NXObject |
getPrototypeGeometry()
Returns the prototype geometry of the constraint reference.
|
Vector3d |
getPrototypePerpendicularVector()
Get the value of the perpendicular vector, which will be (0,0,0)
for most constraints apart from
Constraint.Type.ALIGN_LOCK . |
boolean |
getUsePortRotate()
Get the flag forcing the use of the rotation vector of the
referenced
nxopen.routing.Port object instead of the alignment vector
when solving the constraint system. |
boolean |
getUsesGeometryAxis()
Returns if the constraint reference should use the axis of the
geometry (for example a cylindrical face) rather than the surface
License requirements: assemblies ("ASSEMBLIES MODULE") . |
Point3d |
helpPoint()
Returns
the help point of the constraint reference.
|
ConstraintReference.ConstraintOrder |
order()
Returns
the order of the constraint reference within its constraint.
|
void |
setConstraintReferenceHalfSpace(ConstraintReference.HalfSpace halfSpace)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setFixHint(boolean set)
Set a hint to the solver to fix the movable object associated
with this constraint reference.
|
void |
setFixHintForUpdate(boolean set)
Set a hint to the solver to fix the movable object associated
with this constraint reference.
|
void |
setHelpPoint(Point3d helpPoint)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setPrototypePerpendicularVector(Vector3d perpendicularVector)
Set the value of the perpendicular vector.
|
void |
setUsePortRotateFlag(boolean useRotate)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
ConstraintReference.GeometryType |
solverGeometryType()
Returns
the geometry type of the constraint reference used during a solve.
|
boolean |
usePortRotateFlag()
Returns
the flag forcing the use of the rotation vector of the
referenced
nxopen.routing.Port object instead of the alignment vector
when solving the constraint system. |
deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
NXObject getGeometry() throws NXException, RemoteException
Constraint
using
this constraint reference.
NXException
RemoteException
NXObject getPrototypeGeometry() throws NXException, RemoteException
NXException
RemoteException
NXObject getMovableObject() throws NXException, RemoteException
Constraint
using
this constraint reference.
NXException
RemoteException
void setHelpPoint(Point3d helpPoint) throws NXException, RemoteException
helpPoint
- Coordinates of point in part of constraintNXException
RemoteException
Point3d helpPoint() throws NXException, RemoteException
NXException
RemoteException
boolean getUsesGeometryAxis() throws NXException, RemoteException
NXException
RemoteException
void setFixHint(boolean set) throws NXException, RemoteException
Network
.
The hint is forgotten after an update.
set
- Set or unset the hintNXException
RemoteException
void setFixHintForUpdate(boolean set) throws NXException, RemoteException
Update.doUpdate(int)
.
set
- Set or unset the hintNXException
RemoteException
boolean getUsePortRotate() throws NXException, RemoteException
nxopen.routing.Port
object instead of the alignment vector
when solving the constraint system.
Only effective when the referenced geometry is a nxopen.routing.Port
object.
NXException
RemoteException
void setUsePortRotateFlag(boolean useRotate) throws NXException, RemoteException
useRotate
- NXException
RemoteException
boolean usePortRotateFlag() throws NXException, RemoteException
nxopen.routing.Port
object instead of the alignment vector
when solving the constraint system.
Only effective when the referenced geometry is a nxopen.routing.Port
object.
NXException
RemoteException
ConstraintReference.GeometryType solverGeometryType() throws NXException, RemoteException
NXException
RemoteException
ConstraintReference.ConstraintOrder order() throws NXException, RemoteException
NXException
RemoteException
void setConstraintReferenceHalfSpace(ConstraintReference.HalfSpace halfSpace) throws NXException, RemoteException
halfSpace
- Half space for constraint referenceNXException
RemoteException
ConstraintReference.HalfSpace constraintReferenceHalfSpace() throws NXException, RemoteException
NXException
RemoteException
boolean getHasPerpendicularVector() throws NXException, RemoteException
Constraint.Type
Constraint.Type.ALIGN_LOCK
.
NXException
RemoteException
Vector3d getPrototypePerpendicularVector() throws NXException, RemoteException
Constraint.Type.ALIGN_LOCK
.
NXException
RemoteException
void setPrototypePerpendicularVector(Vector3d perpendicularVector) throws NXException, RemoteException
Constraint.Type.ALIGN_LOCK
which
must have a value. An error is raised if this is not the case.
Whenever the constraint is solved, the value of the perpendicular vector may be modified,
to ensure that the vector is perpendicular to the referenced geometry.
perpendicularVector
- The value of the perpendicular vectorNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.