public interface ComponentPositioner extends Positioner
Constraint
s and
associated objects.
ComponentAssembly.positioner()
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat
Modifier and Type | Method and Description |
---|---|
void |
beginAssemblyConstraints()
Begins a mode of operation where (1) each new
Constraint
created by this ComponentPositioner applies to
components in the part of the positioner (or to components with variable component positioning
defined in the part of the positioner) and (2) and component transforms derived from
a Network will apply to components in the part of the positioner. |
void |
beginMoveComponent()
Begins a mode of operation where (1) each new
Constraint
is created as transient and (2) a component transform is applied at the level where
position is controlled for the component, typically in the component's immediate parent. |
boolean |
displayConstraints()
Returns
the flag indicating whether constraints in the part of this positioner
are to be displayed on the graphics window or not.
|
boolean |
displaySuppressedConstraints()
Returns
the flag indicating whether suppressed constraints in the part of this positioner
are to be displayed on the graphics window or not.
|
void |
endAssemblyConstraints()
Ends the mode of operation started by
beginAssemblyConstraints()
All non-persistent constraints in this ComponentPositioner
will be deleted. |
void |
endMoveComponent()
Ends the mode of operation started by
beginMoveComponent()
All constraints created while in that mode will be deleted. |
void |
loadConstraintGeometry(ComponentConstraint[] constraints)
Attempts to load all the parts that contain unloaded geometry that is referenced by the constraints
or by any related constraints.
|
boolean |
moveDumbGeometry()
Returns the flag that enables the positioner to reposition dumb geometry.
|
Arrangement |
primaryArrangement()
Returns
the
Arrangement in which the
primary Network will solve. |
void |
setDisplayConstraints(boolean display)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setDisplaySuppressedConstraints(boolean display)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setMoveDumbGeometry(boolean moveDumbGeometry)
Sets the flag that enables the positioner to reposition dumb geometry.
|
void |
setPrimaryArrangement(Arrangement arrangement)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
solvePostponedConstraints()
Solves constraints in all arrangements that are currently postponing
their solve.
|
clearNetwork, constraints, createConstraint, createConstraint, deleteNonPersistentConstraints, establishNetwork
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
boolean displayConstraints() throws NXException, RemoteException
NXException
RemoteException
void setDisplayConstraints(boolean display) throws NXException, RemoteException
display
- NXException
RemoteException
boolean displaySuppressedConstraints() throws NXException, RemoteException
NXException
RemoteException
void setDisplaySuppressedConstraints(boolean display) throws NXException, RemoteException
display
- NXException
RemoteException
Arrangement primaryArrangement() throws NXException, RemoteException
Arrangement
in which the
primary Network
will solve.
Arrangement
.NXException
RemoteException
void setPrimaryArrangement(Arrangement arrangement) throws NXException, RemoteException
arrangement
- The primary Arrangement
.NXException
RemoteException
void beginMoveComponent() throws NXException, RemoteException
Constraint
is created as transient and (2) a component transform is applied at the level where
position is controlled for the component, typically in the component's immediate parent.
NXException
RemoteException
void endMoveComponent() throws NXException, RemoteException
beginMoveComponent()
All constraints created while in that mode will be deleted.
NXException
RemoteException
void beginAssemblyConstraints() throws NXException, RemoteException
Constraint
created by this ComponentPositioner
applies to
components in the part of the positioner (or to components with variable component positioning
defined in the part of the positioner) and (2) and component transforms derived from
a Network
will apply to components in the part of the positioner.
NXException
RemoteException
void endAssemblyConstraints() throws NXException, RemoteException
beginAssemblyConstraints()
All non-persistent constraints in this ComponentPositioner
will be deleted.
NXException
RemoteException
void loadConstraintGeometry(ComponentConstraint[] constraints) throws NXException, RemoteException
constraints
- ConstraintsNXException
RemoteException
boolean moveDumbGeometry() throws NXException, RemoteException
nxopen.features.Feature
object. This flag has no effect
on Routing geometry (segments and control points) as they are always considered
movable by the positioner.
NXException
RemoteException
void setMoveDumbGeometry(boolean moveDumbGeometry) throws NXException, RemoteException
nxopen.features.Feature
object. This flag has no effect
on Routing geometry (segments and control points) as they are always considered
movable by the positioner.
moveDumbGeometry
- Whether the positioner will reposition dumb geometryNXException
RemoteException
void solvePostponedConstraints() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.