Share

PyLensDistortionNode Attributes

Use the following commands to set or get attributes for a Lens Distortion node.

Command Type Description
<PyLensDistortionNode>.pos_x integer The x position of a node in the Batch schematic.

An integer number must be passed when the attribute is set:
  • Min: -2147483647
  • Max: 2147483647
<PyLensDistortionNode>.pos_x integer The y position of a node in the Batch schematic.

An integer number must be passed when the attribute is set:
  • Min: -2147483647
  • Max: 2147483647
<PyLensDistortionNode>.name string Used to set or get name of the Batch node.

A string must be passed when the attribute is set.
<PyLensDistortionNode>.note string Used to set or get the content of the note associated to the Batch node.

A string must be passed when the attribute is set.
<PyLensDistortionNode>.note_collapsed bool Used to set or get the collapsed status of a note in the Batch schematic.

One of the following must be passed when the attribute is set:
  • True
  • False
<PyLensDistortionNode>.selected bool Used to select or deselect a node in the Batch schematic.

One of the following must be passed when the attribute is set:
  • True
  • False
<PyLensDistortionNode>.type string Return the type of the node.
<PyLensDistortionNode>.bypass bool Used to set or get the bypass status of a node in the Batch schematic.

One of the following must be passed when the attribute is set:
  • True
  • False
<PyLensDistortionNode>.schematic_colour tuple Used to set or get the schematic colour of a node in the Batch schematic.

A tuple with three values (Red, Green, and Blue) must be passed to set the colour.
<PyLensDistortionNode>.schematic_colour_label string Used to set of get the schematic colour of a node in the Batch schematic using the lable of a colour coding preset.

A string must be passed when the attribute is set.
<PyLensDistortionNode>.mode string Used set or get the distortion mode.

One of the following must be passed when the attribute is set:
  • Distort
  • Undistort

Was this information helpful?