VS:CreateTextureBitmapN

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Creates a texture bitmap object for the chosen shader record. Brings up dialog to choose the image file. Returns nil if user clicked Cancel or if the shader is not an image-based shader.

FUNCTION CreateTextureBitmapN(
shaderRecord :HANDLE) : HANDLE;
def vs.CreateTextureBitmapN(shaderRecord):
    return HANDLE

Parameters

shaderRecord HANDLE Handle to shader record.

Version

Availability: from VectorWorks10.1