Function GetObjExpandTexture returns whether the referenced objects' textures have been "expanded". When a texture is expanded, different components of an object can have different textures.
FUNCTION GetObjExpandTexture(obj : HANDLE): BOOLEAN;def vs.GetObjExpandTexture(obj):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| obj | HANDLE | Handle to object. |
This function returns true if the object's textures are expanded. For example, if the object is a wall and this function returns true then there are three distinct textures applied to the left, center, and right polygons.
if ( NOT GetObjExpandTexture( wallHand ) ) then
wallPartID := 0;import vs
# Function GetObjExpandTexture returns whether the referenced objects'
# textures have been "expanded".
obj = vs.FSActLayer() # handle to the first selected object on the active layer
ok = vs.GetObjExpandTexture(obj)
if ok:
vs.Message('GetObjExpandTexture succeeded')
else:
vs.Message('GetObjExpandTexture failed')Availability: from VectorWorks8.0