pytha.pop_local_coordinates - pytha-3d-cad/pytha-lua-api GitHub Wiki

Deactivates the currently active local coordinate system. This must have been set previously by push_local_coordinates.

Similar to unchecking Environment -> Local coo system in the PYTHA user interface. But note that this function does not deactivate the user-specified local coordinate system in PYTHA.

pytha.pop_local_coordinates([token])
Parameter Type Description
token integer Optional: The token returned by the matching push_local_coordinates call. Alternatively the number of nested local coordinate systems to be popped, default: 1

Each pop_local_coordinates call will remove one (or more) levels of nested local coordinate systems in a first-in-last-out manner.

See also:

pytha, Axes and directions, push_local_coordinates