Skip to main content

IPositionAxesMap

Maps position variables to their corresponding axes, enabling multi-axis coordinated movement.

Namespace: ControlBee.Interfaces

Methods

Add

Adds a mapping between a position variable and its corresponding axes.

void Add(IVariable variable, IAxis[] axes);

Parameters:

  • variable — The position variable.
  • axes — The axes associated with this position.

Get

Retrieves the axes mapped to a position variable by item path.

IAxis[] Get(string itemPath);

Parameters:

  • itemPath — The item path of the position variable.

Returns: An array of IAxis instances.

UpdateMap

Updates the internal mapping after changes.

void UpdateMap();

See Also