public interface OrderManager extends Remote
ComponentCollection
Modifier and Type | Method and Description |
---|---|
void |
applyOrder(Sketch parentObject,
String orderName)
Applies the order matching the specified name
License requirements: nx_layout ("NX Layout") . |
void |
createNewOrder(Sketch parentObject,
String newOrderName,
Component[] objectsInOrder)
Creates an order of the 2D Components provided in the list
License requirements: nx_layout ("NX Layout") . |
void |
deleteOrder(Sketch parentObject,
String newOrderName)
Delete the order matching the specified name
License requirements: nx_layout ("NX Layout") . |
String[] |
getAvailableOrdersNames(Sketch parentObject)
Gets all available orders names for specified sketch parent
License requirements: nx_layout ("NX Layout") . |
String |
getCurrentOrderName(Sketch parentObject)
Gets the current applied order name
License requirements: nx_layout ("NX Layout") . |
boolean |
isSystemOrder(Sketch parentObject,
String orderName)
Validates the order matching the specified name is system order
License requirements: nx_layout ("NX Layout") . |
void |
renameOrder(Sketch parentObject,
String orderName,
String newOrderName)
Renames the order matching the specified name with the new name provided
License requirements: nx_layout ("NX Layout") . |
void |
reorder(Sketch parentObject,
Component[] objectsInOrder)
Updates the current order based on the provided list of 2D components if the order is user-defined, and creates a new order otherwide
License requirements: nx_layout ("NX Layout") . |
String[] getAvailableOrdersNames(Sketch parentObject) throws NXException, RemoteException
parentObject
- NXException
RemoteException
boolean isSystemOrder(Sketch parentObject, String orderName) throws NXException, RemoteException
parentObject
- orderName
- NXException
RemoteException
String getCurrentOrderName(Sketch parentObject) throws NXException, RemoteException
parentObject
- NXException
RemoteException
void applyOrder(Sketch parentObject, String orderName) throws NXException, RemoteException
parentObject
- orderName
- NXException
RemoteException
void createNewOrder(Sketch parentObject, String newOrderName, Component[] objectsInOrder) throws NXException, RemoteException
parentObject
- newOrderName
- objectsInOrder
- Array of objects to be reorderedNXException
RemoteException
void renameOrder(Sketch parentObject, String orderName, String newOrderName) throws NXException, RemoteException
parentObject
- orderName
- newOrderName
- NXException
RemoteException
void deleteOrder(Sketch parentObject, String newOrderName) throws NXException, RemoteException
parentObject
- newOrderName
- NXException
RemoteException
void reorder(Sketch parentObject, Component[] objectsInOrder) throws NXException, RemoteException
parentObject
- objectsInOrder
- Array of objects to be reorderedNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.