Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 645 Bytes

File metadata and controls

35 lines (27 loc) · 645 Bytes

GetObjMaterialHandle

FUNCTION GetObjMaterialHandle(h : HANDLE): HANDLE;
def vs.GetObjMaterialHandle(h):
    return HANDLE

Parameters

Name Type Description
h HANDLE object handle

Examples

resultH := GetObjMaterialHandle(h);
import vs

h = vs.FSActLayer()  # handle to the first selected object on the active layer

objHandle = vs.GetObjMaterialHandle(h)
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

Version

Availability: from Vectorworks 2021

Category