Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1 KB

File metadata and controls

45 lines (34 loc) · 1 KB

GetTexBitPaintNode

Description

Function GetTexBitPaintNode returns the paint node of the referenced texture bitmap.

FUNCTION GetTexBitPaintNode(textureBitmap : HANDLE): HANDLE;
def vs.GetTexBitPaintNode(textureBitmap):
    return HANDLE

Parameters

Name Type Description
textureBitmap HANDLE Handle to texture bitmap.

Remarks

Returns the paint node that contains the texture bitmap's image bits

Examples

resultH := GetTexBitPaintNode(textureBitmap);
import vs

# Function GetTexBitPaintNode returns the paint node of the referenced
# texture bitmap.
textureBitmap = vs.FSActLayer()  # handle to the first selected object on the active layer

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

Version

GetTexBitPaintNode is obsolete as of VectorWorks12.0

Availability: from VectorWorks8.0

Category