NodeScroll Enumeration — NXOpen Python API Reference 12.0.0 documentation

# NodeScroll Enumeration

NXOpen.BlockStyler.Node.Scroll is an alias for NXOpen.BlockStyler.NodeScroll

class `NXOpen.BlockStyler.``NodeScroll`

  Bases: `object`

  Represents the scroll position to be applied on node. Use one of these options to make the node appear in tree window.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Center | Scrolls the tree to bring the node at the center of the tree window
  LeastScroll | Scrolls the tree to minimal to make the node appear in tree window
  MostScroll | Scrolls the tree to maximum to make the node appear in tree window

  `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.