public interface ComponentCollection extends TaggedObjectCollection
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
AssemblyFromLayout2dBuilder |
createAssemblyFromLayout2dBuilder()
Creates a
AssemblyFromLayout2dBuilder that can create assembly from
the selected layout
License requirements: nx_layout ("NX Layout") Created in NX10.0.0 |
CreateComponentFrom3DBuilder |
createComponentFrom3dBuilder(View myView)
Creates a
CreateComponentFrom3DBuilder that can create assembly from
the selected layout
License requirements: nx_layout ("NX Layout") Created in NX11.0.0 |
DefineComponentAnchorPointBuilder |
createDefineComponentAnchorPointBuilder()
Creates a
DefineComponentAnchorPointBuilder that can define the Anchor Point location of a
2D Component
License requirements: nx_layout ("NX Layout") Created in NX10.0.0 |
DefineComponentBuilder |
createDefineComponentBuilder(Component component)
Creates a
DefineComponentBuilder that can create a fully defined 2D
Component with specified content, anchor point, name and reuse library destination folder. |
ExportComponentHierarchyBuilder |
createExportComponentHierarchyBuilder()
Creates a
ExportComponentHierarchyBuilder
License requirements: nx_layout ("NX Layout") Created in NX11.0.0 |
InsertComponentBuilder |
createInsertComponentBuilder()
Creates a
InsertComponentBuilder that inserts a 2D Component instance in the active
sketch. |
MakeComponentUniqueBuilder |
createMakeComponentUniqueBuilder()
Creates a
MakeComponentUniqueBuilder that can create definition
for the selected 2D Component instance
License requirements: nx_layout ("NX Layout") Created in NX10.0.0 |
NewComponentBuilder |
createNewComponentBuilder()
Creates a
NewComponentBuilder that creates an empty 2D Component instance and stores its
definition in local 2D Component folder
License requirements: nx_layout ("NX Layout") Created in NX10.0.0 |
PublishComponentBuilder |
createPublishComponentBuilder()
Creates a
PublishComponentBuilder that can export local definitions into external storage locations
License requirements: nx_layout ("NX Layout") Created in NX10.0.0 |
ReparentComponentBuilder |
createReparentComponentBuilder()
Creates a
ReplaceComponentBuilder that can reparent the selected 2D Component
instance with another 2D Component or sketch
License requirements: nx_layout ("NX Layout") Created in NX11.0.0 |
ReplaceComponentBuilder |
createReplaceComponentBuilder()
Creates a
ReplaceComponentBuilder that can replace the selected 2D Component
instance with another 2D Component definition
License requirements: nx_layout ("NX Layout") Created in NX10.0.0 |
SmashComponentBuilder |
createSmashComponentBuilder()
Creates a
SmashComponentBuilder that can smash the selected
2D Component instance
License requirements: nx_layout ("NX Layout") Created in NX10.0.0 |
void |
deleteComponents(Component[] components)
Deletes a list of 2D Components
License requirements: nx_layout ("NX Layout") . |
Component |
findObject(String journalIdentifier)
Finds the
Component with the given identifier as recorded in a journal. |
boolean |
isComponentMember(DisplayableObject disObject)
Verify if the object belong to this component
License requirements: nx_layout ("NX Layout") . |
OrderManager |
orderManagers()
Returns the OrderManager for part .
|
void |
updateComponentHierarchy(Component[] components)
Updates 2D Components and propagates the changes to the hierarchy in given layout
License requirements: nx_layout ("NX Layout") . |
void |
updateComponents(Component[] components)
Updates 2D Components without propagating the changes to the hierarchy in given layout
License requirements: nx_layout ("NX Layout") . |
_find_next, iterator
OrderManager orderManagers() throws RemoteException
RemoteException
Component findObject(String journalIdentifier) throws NXException, RemoteException
Component
with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of
the software. However newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general, this method
should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier
- Identifier of the 2D Component to be foundNXException
RemoteException
DefineComponentBuilder createDefineComponentBuilder(Component component) throws NXException, RemoteException
DefineComponentBuilder
that can create a fully defined 2D
Component with specified content, anchor point, name and reuse library destination folder.
component
- the component to be edited,
null in case of new component view.NXException
RemoteException
InsertComponentBuilder createInsertComponentBuilder() throws NXException, RemoteException
InsertComponentBuilder
that inserts a 2D Component instance in the active
sketch.
NXException
RemoteException
ReplaceComponentBuilder createReplaceComponentBuilder() throws NXException, RemoteException
ReplaceComponentBuilder
that can replace the selected 2D Component
instance with another 2D Component definition
NXException
RemoteException
SmashComponentBuilder createSmashComponentBuilder() throws NXException, RemoteException
SmashComponentBuilder
that can smash the selected
2D Component instance
NXException
RemoteException
MakeComponentUniqueBuilder createMakeComponentUniqueBuilder() throws NXException, RemoteException
MakeComponentUniqueBuilder
that can create definition
for the selected 2D Component instance
NXException
RemoteException
DefineComponentAnchorPointBuilder createDefineComponentAnchorPointBuilder() throws NXException, RemoteException
DefineComponentAnchorPointBuilder
that can define the Anchor Point location of a
2D Component
NXException
RemoteException
PublishComponentBuilder createPublishComponentBuilder() throws NXException, RemoteException
PublishComponentBuilder
that can export local definitions into external storage locations
NXException
RemoteException
NewComponentBuilder createNewComponentBuilder() throws NXException, RemoteException
NewComponentBuilder
that creates an empty 2D Component instance and stores its
definition in local 2D Component folder
NXException
RemoteException
void deleteComponents(Component[] components) throws NXException, RemoteException
components
- NXException
RemoteException
boolean isComponentMember(DisplayableObject disObject) throws NXException, RemoteException
disObject
- NXException
RemoteException
AssemblyFromLayout2dBuilder createAssemblyFromLayout2dBuilder() throws NXException, RemoteException
AssemblyFromLayout2dBuilder
that can create assembly from
the selected layout
NXException
RemoteException
ReparentComponentBuilder createReparentComponentBuilder() throws NXException, RemoteException
ReplaceComponentBuilder
that can reparent the selected 2D Component
instance with another 2D Component or sketch
NXException
RemoteException
void updateComponents(Component[] components) throws NXException, RemoteException
components
- NXException
RemoteException
void updateComponentHierarchy(Component[] components) throws NXException, RemoteException
components
- NXException
RemoteException
CreateComponentFrom3DBuilder createComponentFrom3dBuilder(View myView) throws NXException, RemoteException
CreateComponentFrom3DBuilder
that can create assembly from
the selected layout
myView
- NXException
RemoteException
ExportComponentHierarchyBuilder createExportComponentHierarchyBuilder() throws NXException, RemoteException
ExportComponentHierarchyBuilder
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.