Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.03 KB

LDevice_SetAccPos2D.md

File metadata and controls

50 lines (41 loc) · 1.03 KB

LDevice_SetAccPos2D

Description

Set the 2D position and rotation of the specified accessory.

PROCEDURE LDevice_SetAccPos2D(
				handle         : HANDLE;
				cellIndex      : LONGINT;
				accessoryIndex : LONGINT;
				position       : REAL;
				rotation       : REAL);
def vs.LDevice_SetAccPos2D(handle, cellIndex, accessoryIndex, position, rotation):
    return None

Parameters

Name Type Description
handle HANDLE
cellIndex LONGINT
accessoryIndex LONGINT
position REAL
rotation REAL

Examples

LDevice_SetAccPos2D(handle, 1, 2, 1.0, 2.0);
import vs

# Set the 2D position and rotation of the specified accessory.
handle = vs.FSActLayer()  # handle to the first selected object on the active layer
cellIndex = 1
accessoryIndex = 1
position = 1.0
rotation = 2.0

vs.LDevice_SetAccPos2D(handle, cellIndex, accessoryIndex, position, rotation)

Version

Availability: from Vectorworks 2021

Category