public interface Axis extends SmartObject
Axis
class.
AxisCollection.createAxis(nxopen.Point, nxopen.Direction, nxopen.SmartObject.UpdateOption)
Modifier and Type | Interface and Description |
---|---|
static class |
Axis.Types
Defines types of axes based on their associativity
|
SmartObject.UpdateOption, SmartObject.VisibilityOption
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
Direction |
direction()
Returns the direction that the axis points for an axis with type
Axis.Types.POINT_AND_DIRECTION . |
Vector3d |
directionVector()
Returns the direction vector
License requirements: None. |
Point3d |
origin()
Returns the origin
License requirements: None. |
Point |
point()
Returns the point that defines the origin of the axis for an axis with type
Axis.Types.POINT_AND_DIRECTION . |
void |
setDirection(Direction direction)
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT") OR insp_programming ("INSPECTION PROGRAMMING") . |
void |
setDirectionVector(Vector3d vector)
Sets the direction vector for a non-associative axis.
|
void |
setOrigin(Point3d origin)
Sets the origin for a non-associative axis.
|
void |
setPoint(Point point)
License requirements: solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE") OR geometric_tol ("GDT") OR insp_programming ("INSPECTION PROGRAMMING") . |
Axis.Types |
type()
Returns the associativity type for the axis
License requirements: None. |
evaluate, removeParameters, replaceParameters, setVisibility, update, visibility
blank, color, highlight, isBlanked, layer, lineFont, lineWidth, nameLocation, redisplayObject, removeViewDependency, setColor, setLayer, setLineFont, setLineWidth, setNameLocation, unblank, unhighlight
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, 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
Axis.Types type() throws NXException, RemoteException
NXException
RemoteException
void setPoint(Point point) throws NXException, RemoteException
point
- NXException
RemoteException
void setDirection(Direction direction) throws NXException, RemoteException
direction
- This parameter may not be null.NXException
RemoteException
Point point() throws NXException, RemoteException
Axis.Types.POINT_AND_DIRECTION
.
An exception is thrown if the axis type is not Axis.Types.POINT_AND_DIRECTION
,
If the axis type is point and direction and the point is not specified,
the point is inferred from the direction.
NXException
RemoteException
Direction direction() throws NXException, RemoteException
Axis.Types.POINT_AND_DIRECTION
.
An exception is thrown if the axis type is not Axis.Types.POINT_AND_DIRECTION
,
NXException
RemoteException
Point3d origin() throws NXException, RemoteException
NXException
RemoteException
void setOrigin(Point3d origin) throws NXException, RemoteException
origin
- NXException
RemoteException
Vector3d directionVector() throws NXException, RemoteException
NXException
RemoteException
void setDirectionVector(Vector3d vector) throws NXException, RemoteException
vector
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.