Get the name of the Hoist Origin at the given position.
FUNCTION HO_GetHoistOriginAt(index : LONGINT): STRING;def vs.HO_GetHoistOriginAt(index):
return STRING| Name | Type | Description |
|---|---|---|
| index | LONGINT |
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))Availability: from Vectorworks 2018