Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 796 Bytes

HO_GetHoistOriginAt.md

File metadata and controls

43 lines (34 loc) · 796 Bytes

HO_GetHoistOriginAt

Description

Get the name of the Hoist Origin at the given position.

FUNCTION HO_GetHoistOriginAt(index : LONGINT): STRING;
def vs.HO_GetHoistOriginAt(index):
    return STRING

Parameters

Name Type Description
index LONGINT

Examples

BEGIN
	theOrigName := HO_GetHoistOriginAt( index );
	IF (theOrigName <> 'Drawing Origin') THEN
	BEGIN
		originHdl := GetObject(theOrigName);
		GetSymLoc3D(originHdl,x,y,z);
import vs

# Get the name of the Hoist Origin at the given position.
index = 1

text = vs.HO_GetHoistOriginAt(index)
vs.Message('HO_GetHoistOriginAt returned: ' + str(text))

Version

Availability: from Vectorworks 2018

Category