TreeNodeInsertOption Enumeration

NXOpen.BlockStyler.Tree.NodeInsertOption is an alias for NXOpen.BlockStyler.TreeNodeInsertOption

class NXOpen.BlockStyler.TreeNodeInsertOption

Bases: object

Represents the node insert option which is used while inserting the node in tree.

Enum Members

Enum Member Enum Member Description
First Node is placed first in the hierarchy in which it is inserted.
Last Node is placed last in the hierarchy in which it is inserted.
Sort Node is sorted according to display text and placed accordingly in the hierarchy in which it is inserted
AlwaysFirst Node is placed first in the hierarchy in which it is inserted. This is same as BlockStyler.TreeNodeInsertOption.First, except that it remains first after a column sort. If there is more than one node beneath a single parent with this option then they will be sorted relative to each other.
AlwaysLast Node is placed last in the hierarchy in which it is inserted. This is same as BlockStyler.TreeNodeInsertOption.Last, except that it remains last after a column sort. If there is more than one node beneath a single parent with this option then they will be sorted relative to each other.
ValueOf()

Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

Signature ValueOf(value)

Parameters:value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
Return type:Enum Member type.

New in version NX9.0.1.

License requirements: None.