public interface Component extends DisplayableObject
DefineComponentBuilder
Modifier and Type | Interface and Description |
---|---|
static class |
Component.AnchorPointData
This class holds the data returned from
getAnchorPoint() |
static class |
Component.TransformData
This class holds the data returned from
getTransform() |
DisplayableObject.ObjectFont, DisplayableObject.ObjectWidth
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the component.
|
Sketch |
activateInIsolation()
Activates the component while in edit in isolation task environment and
returns component internal sketch
License requirements: nx_layout ("NX Layout") . |
void |
addExistingCurves(DisplayableObject[] curves)
Add an array of specified curves from top level sketch to this component
License requirements: nx_layout ("NX Layout") . |
void |
deactivate()
Deactivates the component.
|
void |
exitActivate()
Exits the component active status without committing the changes.
|
Component.AnchorPointData |
getAnchorPoint()
Gets the anchor point of a component if it exist
License requirements: nx_layout ("NX Layout") . |
ComponentDefinition |
getDefinition()
Gets the component definition of a component
License requirements: nx_layout ("NX Layout") . |
Layout2dDefinitionLocation |
getDefinitionLocation()
Gets the location of the component definition
License requirements: nx_layout ("NX Layout") . |
String |
getDefinitionName()
Gets the component definition name of a component
License requirements: nx_layout ("NX Layout") . |
String |
getDefinitionPath()
Gets the path of the component definition
License requirements: nx_layout ("NX Layout") . |
DisplayableObject[] |
getMembers(Layout2dComponentMemberType memberType)
Returns an array of specified members in this component
License requirements: nx_layout ("NX Layout") . |
Component.TransformData |
getTransform()
Gets the absolute transform of a component, as a rotation matrix and a translation vector
License requirements: nx_layout ("NX Layout") . |
boolean |
isActive()
Returns the active state of 2D Component.
|
boolean |
lockUpdateStatus()
Returns the lock update status of 2D Component.
|
void |
setLockUpdateStatus(boolean lock)
License requirements: nx_layout ("NX Layout") . |
void |
setTransform(Matrix3x3 rotation,
Vector3d translation)
Sets the absolute transform on a component, given a rotation matrix and a translation vector
License requirements: nx_layout ("NX Layout") . |
void |
transform(Matrix3x3 rotation,
Vector3d translation)
Transforms the component given a rotation matrix and a translation vector
License requirements: nx_layout ("NX Layout") . |
void |
update()
Updates the component and all of its sub components.
|
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, getPdmReferenceAttributeValue, 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, setPdmReferenceAttribute, 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
void activate() throws NXException, RemoteException
NXException
RemoteException
void deactivate() throws NXException, RemoteException
NXException
RemoteException
boolean isActive() throws NXException, RemoteException
NXException
RemoteException
void update() throws NXException, RemoteException
NXException
RemoteException
boolean lockUpdateStatus() throws NXException, RemoteException
NXException
RemoteException
void setLockUpdateStatus(boolean lock) throws NXException, RemoteException
lock
- NXException
RemoteException
void exitActivate() throws NXException, RemoteException
NXException
RemoteException
DisplayableObject[] getMembers(Layout2dComponentMemberType memberType) throws NXException, RemoteException
memberType
- NXException
RemoteException
void transform(Matrix3x3 rotation, Vector3d translation) throws NXException, RemoteException
rotation
- translation
- NXException
RemoteException
void setTransform(Matrix3x3 rotation, Vector3d translation) throws NXException, RemoteException
rotation
- translation
- NXException
RemoteException
Component.TransformData getTransform() throws NXException, RemoteException
NXException
RemoteException
void addExistingCurves(DisplayableObject[] curves) throws NXException, RemoteException
curves
- NXException
RemoteException
ComponentDefinition getDefinition() throws NXException, RemoteException
NXException
RemoteException
Component.AnchorPointData getAnchorPoint() throws NXException, RemoteException
NXException
RemoteException
String getDefinitionName() throws NXException, RemoteException
NXException
RemoteException
String getDefinitionPath() throws NXException, RemoteException
NXException
RemoteException
Layout2dDefinitionLocation getDefinitionLocation() throws NXException, RemoteException
NXException
RemoteException
Sketch activateInIsolation() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.