Get map info for specific part of object. partID is texture part, overall is 3. Selector should be1, to return the texture map type integer.
FUNCTION GetTexMapInt(
h : HANDLE;
partID : LONGINT;
selector : INTEGER): INTEGER;def vs.GetTexMapInt(h, partID, selector):
return INTEGER| Name | Type | Description |
|---|---|---|
| h | HANDLE | |
| partID | LONGINT | |
| selector | INTEGER |
resultN := GetTexMapInt(h, 1, 2);import vs
# Get map info for specific part of object.
h = vs.FSActLayer() # handle to the first selected object on the active layer
partID = 1
selector = 2
resultN = vs.GetTexMapInt(h, partID, selector)
vs.Message('GetTexMapInt returned: ' + str(resultN))Availability: from Vectorworks 14.0. Deprecated from Vectorworks 15.0.