Skip to content

pytha.remove_x_axis_direction

fabian-flassig edited this page Aug 25, 2026 · 1 revision

Removes the x axis from a plate.

pytha.remove_x_axis_direction(target)
Parameter Type Description
target element_handle or {...} A part or group handle (or a table of those), or a list of edge specifications

Return value

Type Description
number The number of edges the x axis was removed from

Notes:

  • Works exactly like remove_grain_direction, but on the x axis attribute.
  • The grain direction of the part is not touched.
  • The function requires the Workshop license, test for it with check_license_workshop.

Example:

local n = pytha.remove_x_axis_direction(part)

Version Support:

Minimum PYTHA Version: V27

See also:

pytha, Workshop Functions, Edge Specification, set_x_axis_direction, remove_grain_direction

Clone this wiki locally