NXOpen .NET Reference
12.0.0
|
Represents an object that manages orders. More...
Public Member Functions | |
unsafe void | GetAvailableOrdersNames (NXOpen.Sketch parentObject, out string[] ordersNames) |
Gets all available orders names for specified sketch parent More... | |
unsafe bool | IsSystemOrder (NXOpen.Sketch parentObject, string orderName) |
Validates the order matching the specified name is system order More... | |
unsafe string | GetCurrentOrderName (NXOpen.Sketch parentObject) |
Gets the current applied order name More... | |
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 | RenameOrder (NXOpen.Sketch parentObject, string orderName, string newOrderName) |
Renames the order matching the specified name with the new name provided More... | |
unsafe void | DeleteOrder (NXOpen.Sketch parentObject, string newOrderName) |
Delete the order matching the specified name 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... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. 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
unsafe void NXOpen.Drawings.OrderManager.ApplyOrder | ( | NXOpen.Sketch | parentObject, |
string | orderName | ||
) |
Applies the order matching the specified name
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
orderName |
unsafe void NXOpen.Drawings.OrderManager.CreateNewOrder | ( | NXOpen.Sketch | parentObject, |
string | newOrderName, | ||
NXOpen.Layout2d.Component[] | objectsInOrder | ||
) |
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 |
unsafe void NXOpen.Drawings.OrderManager.DeleteOrder | ( | NXOpen.Sketch | parentObject, |
string | newOrderName | ||
) |
Delete the order matching the specified name
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
newOrderName |
unsafe void NXOpen.Drawings.OrderManager.GetAvailableOrdersNames | ( | NXOpen.Sketch | parentObject, |
out string[] | ordersNames | ||
) |
Gets all available orders names for specified sketch parent
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
ordersNames |
unsafe string NXOpen.Drawings.OrderManager.GetCurrentOrderName | ( | NXOpen.Sketch | parentObject | ) |
Gets the current applied order name
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject |
unsafe bool NXOpen.Drawings.OrderManager.IsSystemOrder | ( | NXOpen.Sketch | parentObject, |
string | orderName | ||
) |
Validates the order matching the specified name is system order
Created in NX11.0.0
License requirements: nx_layout ("NX Layout")
parentObject | |
orderName |
unsafe void NXOpen.Drawings.OrderManager.RenameOrder | ( | NXOpen.Sketch | parentObject, |
string | orderName, | ||
string | newOrderName | ||
) |
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 |
unsafe void NXOpen.Drawings.OrderManager.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
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.