Set the 3D position and rotation of the specified accessory.
PROCEDURE LDevice_SetAccPos3D(
handle : HANDLE;
cellIndex : LONGINT;
accessoryIndex : LONGINT;
position3D : REAL;
rotation3D : REAL);def vs.LDevice_SetAccPos3D(handle, cellIndex, accessoryIndex, position3D, rotation3D):
return None| Name | Type | Description |
|---|---|---|
| handle | HANDLE | |
| cellIndex | LONGINT | |
| accessoryIndex | LONGINT | |
| position3D | REAL | |
| rotation3D | REAL |
LDevice_SetAccPos3D(handle, 1, 2, 1.0, 2.0);import vs
# Set the 3D position and rotation of the specified accessory.
handle = vs.FSActLayer() # handle to the first selected object on the active layer
cellIndex = 1
accessoryIndex = 1
position3D = 1.0
rotation3D = 2.0
vs.LDevice_SetAccPos3D(handle, cellIndex, accessoryIndex, position3D, rotation3D)Availability: from Vectorworks 2021