Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1002 Bytes

File metadata and controls

42 lines (32 loc) · 1002 Bytes

CreateTextureBitmap

Description

Function CreateTextureBitmap creates a new default texture bitmap in a VectorWorks document.

FUNCTION CreateTextureBitmap : HANDLE;
def vs.CreateTextureBitmap():
    return HANDLE

Remarks

Creates a new default texture bitmap, with no paint node attached. Texture bitmap's paint node should be attached before this texture bitmap is used by MiniCAD (SetTexBitPaintNode).

Examples

resultH := CreateTextureBitmap;
import vs

# Function CreateTextureBitmap creates a new default texture bitmap in a
# VectorWorks document.
objHandle = vs.CreateTextureBitmap()
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

See Also

VS Functions: CreateTextureBitmapN

Version

CreateTextureBitmap is obsolete as of VectorWorks 10.1

Availability: from VectorWorks 8.0

Category