Change accessory parent cell by cell index.
PROCEDURE LDevice_SetAccCell(
handle : HANDLE;
cellIndex : LONGINT;
accessoryIndex : LONGINT;
newCellIndex : LONGINT);def vs.LDevice_SetAccCell(handle, cellIndex, accessoryIndex, newCellIndex):
return None| Name | Type | Description |
|---|---|---|
| handle | HANDLE | |
| cellIndex | LONGINT | |
| accessoryIndex | LONGINT | |
| newCellIndex | LONGINT |
LDevice_SetAccCell(handle, 1, 2, 3);import vs
# Change accessory parent cell by cell index.
handle = vs.FSActLayer() # handle to the first selected object on the active layer
cellIndex = 1
accessoryIndex = 1
newCellIndex = 1
vs.LDevice_SetAccCell(handle, cellIndex, accessoryIndex, newCellIndex)Availability: from Vectorworks 2021