Skip to main content

ACP in-app scripting API 2026 R1

get_local_vector_components

Last update: 16.07.2026

Rosette.get_local_vector_components(vector)

Returns local rosette vector components from global vector components.

Parameters

  • (x, y, z): Components in global (parallel) coordinates.

:returns (x,y,z) : x = x for PARALLEL, and r for CYLINDRICAL, RADIAL and SPHERICAL y = y for PARALLEL, and phi for CYLINDRICAL, RADIAL and SPHERICAL z = z for PARALLEL, CYLINDRICAL and RADIAL, and theta for SPHERICAL Coordinate system type: Give phi and theta in RAD.

Usage

>>> rosette.get_local_vector_components((1.,2.,3.))

Connect with Ansys