NXOpen .NET Reference Guide
|
Represents an object that manages orders. More...
Public Member Functions | |
unsafe void | ApplyOrder (NXOpen.Sketch parentObject, string orderName) |
Applies the order matching the specified name More... | |
unsafe void | CreateNewOrder (NXOpen.Sketch parentObject, string newOrderName, NXOpen.Layout2d.Component[] objectsInOrder) |
Creates an order of the 2D Components provided in the list More... | |
unsafe void | DeleteOrder (NXOpen.Sketch parentObject, string newOrderName) |
Delete the order matching the specified name More... | |
unsafe void | GetAvailableOrdersNames (NXOpen.Sketch parentObject, out string[] ordersNames) |
Gets all available orders names for specified sketch parent More... | |
unsafe string | GetCurrentOrderName (NXOpen.Sketch parentObject) |
Gets the current applied order name More... | |
unsafe bool | IsSystemOrder (NXOpen.Sketch parentObject, string orderName) |
Validates the order matching the specified name is system order More... | |
unsafe void | RenameOrder (NXOpen.Sketch parentObject, string orderName, string newOrderName) |
Renames the order matching the specified name with the new name provided More... | |
unsafe void | Reorder (NXOpen.Sketch parentObject, NXOpen.Layout2d.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 More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Represents an object that manages orders.
An order represents the way 2D components are presented in the sketch node in the part navigator. There are two types of orders, system and user-defined. System orders cannot be modified.
To obtain an instance of this class, refer to NXOpen.Layout2d.ComponentCollection
Created in NX11.0.0
|
inline |
Applies the order matching the specified name
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
orderName |
|
inline |
Creates an order of the 2D Components provided in the list
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
newOrderName | |
objectsInOrder | Array of objects to be reordered |
|
inline |
Delete the order matching the specified name
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
newOrderName |
|
inline |
Gets all available orders names for specified sketch parent
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
ordersNames |
|
inline |
Gets the current applied order name
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject |
|
inline |
Validates the order matching the specified name is system order
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
orderName |
|
inline |
Renames the order matching the specified name with the new name provided
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
orderName | |
newOrderName |
|
inline |
Updates the current order based on the provided list of 2D components if the order is user-defined, and creates a new order otherwide
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
objectsInOrder | Array of objects to be reordered |
|
get |
Returns the tag of this object.