AttachDefaultTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   AttachDefaultTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.AttachDefaultTextureSpace(obj, partID):
   return None

Special Notes:

AttachDefaultTextureSpace is obsolete as of Vectorworks 2009

Description:

Procedure AttachDefaultTextureSpace deletes any pre-existing space attached to the referenced object and creates a new one with the default object texture.

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).



  CreatePaintFromImage Textures 
VectorWorks10.0

VectorScript Declaration:

FUNCTION   CreatePaintFromImage
( image:HANDLE ) :HANDLE ;

Python:

def  vs.CreatePaintFromImage(image):
   return HANDLE

Description:

Creates a paint node from an image resource.

Parameters:

image Handle to the image resource from which a paint node is to be created.

Result:

Returns the handle to the newly created paint node.

Example:

paintHandle := CreatePaintFromImage(imageHandle);



  CreatePaintFromImgN Textures 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   CreatePaintFromImgN
(   image :HANDLE;
    locPtX :REAL;
    locPtY :REAL;
    rotDeg :REAL
) :HANDLE ;

Python:

def  vs.CreatePaintFromImgN(image, locPt, rotDeg):
   return HANDLE

Description:

Creates a paint node from an image resource on the specified location and rotation.

Parameters:

image Handle to the image resource from which a paint node is to be created.
locPt Location of the new paint nodet.
rotDeg Rotation of the paint node in degrees.



  CreateShaderRecord Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   CreateShaderRecord
(   texture :HANDLE;
    family :LONGINT;
    prototype :LONGINT
) :HANDLE ;

Python:

def  vs.CreateShaderRecord(texture, family, prototype):
   return HANDLE

Description:

Creates a shader record of the desired family (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump) and prototype (constants depend on family value).

Table - Color Shader Family

Prototype Constant
Blue Marble 1
Chrome 2
Cubes 3
Decal 4
Marble 5
Plain Color 6
Simple Wood 7
Clouds 8
Solid Polka 9
Wrapped Brick 10
Wrapped Checker 11
Wrapped Diagonal 12
Wrapped Filtered Image 13
Wrapped Grid Color 14
Wrapped Image Color 15
Wrapped Polka 16
Wrapped Horiz Stripe 17
Wrapped Textured Brick 18
Wrapped Vertical Stripe 19
Wood 20
Oak 21
Maple 22
Birch 23
Cherry 24
Pine 25
Wrapped Wood Floor 26
Wrapped Oak Floor 27
Wrapped Maple Floor 28
Wrapped Birch Floor 29
Wrapped Cherry Floor 30
Wrapped Pine Floor 31
Wrapped Brick Bonds 32
Granite 33
Roof Tiles 34

Table - Reflectivity Shader Family

Prototype Constant
Chrome 2D 1
Conductor 2
Constant 3
Dielectric 4
Glass 5
Matte 6
Metal 7
Mirror 8
Phong 9
Plastic 10
Wrapped Image 11

Table - Transparency Shader Family

Prototype Constant
Eroded 1
Plain Transparency 2
Color Filter 3
Wrapped Checker Transparency 4
Wrapped Grid Transparency 5
Wrapped Image Transparency 6
Wrapped Mask Transparency 7
Wrapped Square 8

Table - Bump Shader Family

Prototype Constant
Cast 1
Simple Rough 2
Wrapped Image Bump 3
Wrapped Dimple 4
Wrapped Knurl 5
Wrapped Rough 6
Wrapped Treadplate 7

Parameters:

texture The shader record will be attached to this texture.
family The kind of shader to create (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump)
prototype The specific shader within the family (constants depend on the family value).



  CreateTexture Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   CreateTexture
:HANDLE ;

Python:

def  vs.CreateTexture():
   return HANDLE

Description:

Function CreateTexture creates a new texture object with default values.



  CreateTextureBitmap Textures 
VectorWorks8.0 - obsolete as of VectorWorks10.1

VectorScript Declaration:

FUNCTION   CreateTextureBitmap
:HANDLE ;

Python:

def  vs.CreateTextureBitmap():
   return HANDLE

Special Notes:

CreateTextureBitmap is obsolete as of VectorWorks10.1

Description:

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



  CreateTextureBitmapN Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   CreateTextureBitmapN
( shaderRecord:HANDLE ) :HANDLE ;

Python:

def  vs.CreateTextureBitmapN(shaderRecord):
   return HANDLE

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.

Parameters:

shaderRecord Handle to shader record.



  DeleteTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   DeleteTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.DeleteTextureSpace(obj, partID):
   return None

Special Notes:

DeleteTextureSpace is obsolete as of Vectorworks 2009

Description:

Function DeleteTextureSpace deletes the texture space attached to the referenced object or object part.

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).



  EditShaderRecord Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   EditShaderRecord
( shaderRecord:HANDLE ) :BOOLEAN ;

Python:

def  vs.EditShaderRecord(shaderRecord):
   return BOOLEAN

Description:

Brings up the edit shader dialog for this shader. Returns true if the user pressed the OK button to dismiss the dialog.

Parameters:

shaderRecord The shader record to edit.



  EditTexture Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   EditTexture
( texture:HANDLE ) :BOOLEAN ;

Python:

def  vs.EditTexture(texture):
   return BOOLEAN

Description:

Function EditTexture opens the Edit Texture dialog for the referenced texture.

Parameters:

texture Handle to texture.



  EditTextureBitmap Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   EditTextureBitmap
( textureBitmap:HANDLE ) :BOOLEAN ;

Python:

def  vs.EditTextureBitmap(textureBitmap):
   return BOOLEAN

Special Notes:

EditTextureBitmap is obsolete as of VectorWorks9.0

Description:

Function EditTextureBitmap opens the Edit Texture Bitmap dialog box to the referenced texture bitmap. The function returns TRUE if texture bitmap was modified.

Parameters:

textureBitmap Handle to texture bitmap.



  EditTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   EditTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) :BOOLEAN ;

Python:

def  vs.EditTextureSpace(obj, partID):
   return BOOLEAN

Special Notes:

EditTextureSpace is obsolete as of Vectorworks 2009

Description:

Function EditTextureSpace edits the mapping of a specified texture space for the referenced object. Calling this function opens the Edit Mapping dialog for textures.

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).

Result:

Returns TRUE if the texture space was modified.



  GetClTextureC Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureC
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureC(className):
   return LONGINT

Description:

Function GetClTextureC returns the wall center texture of the specified class.

Parameters:

className Class name.



  GetClTextureD Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureD
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureD(className):
   return LONGINT

Description:

Function GetClTextureD returns the roof dormer texture of the specified class.

Parameters:

className Class name.



  GetClTextureG Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureG
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureG(className):
   return LONGINT

Description:

Function GetClTextureG returns the generic texture of the specified class.

Parameters:

className Class name.



  GetClTextureL Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureL
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureL(className):
   return LONGINT

Description:

Function GetClTextureL returns the left side wall texture of the specified class.

Parameters:

className Class name.



  GetClTextureR Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureR
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureR(className):
   return LONGINT

Description:

Function GetClTextureR returns the right side wall texture of the specified class.

Parameters:

className Class name.



  GetClTextureT Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClTextureT
( className:STRING ) :LONGINT ;

Python:

def  vs.GetClTextureT(className):
   return LONGINT

Description:

Function GetClTextureT returns the roof top texture of the specified class.

Parameters:

className Class name.



  GetClUseTexture Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetClUseTexture
( className:STRING ) :BOOLEAN ;

Python:

def  vs.GetClUseTexture(className):
   return BOOLEAN

Description:

Function GetClUseTexture returns whether a classes' texture attributes will be used at object creation.

Parameters:

className Class name.



  GetImageCropObject Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetImageCropObject
( object:HANDLE ) :HANDLE ;

Python:

def  vs.GetImageCropObject(object):
   return HANDLE

Description:

Get the crop of a cropped image.

Result:

Returns the handle of the cropper of the image.



  GetNumTexLayers Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetNumTexLayers
(   obj :HANDLE;
    texPartID :LONGINT
) :LONGINT ;

Python:

def  vs.GetNumTexLayers(obj, texPartID):
   return LONGINT

Description:

Returns number of texture layers (base + decals) for the specified part.



  GetObjExpandTexture Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetObjExpandTexture
( obj:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetObjExpandTexture(obj):
   return BOOLEAN

Special Notes:

GetObjExpandTexture is obsolete as of Vectorworks 2009

Description:

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.

Parameters:

obj Handle to object.



  GetShaderRecord Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   GetShaderRecord
(   texture :HANDLE;
    family :LONGINT
) :HANDLE ;

Python:

def  vs.GetShaderRecord(texture, family):
   return HANDLE

Description:

Returns the shader record of the specified family (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump), if one is attached to the texture.

Parameters:

texture Get the shader record attached to this texture.
family The kind of shader to retrieve (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump).



  GetTexBFeatureEnd Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   GetTexBFeatureEnd
(   textureBitmap :HANDLE;
  VAR  featureEndX :INTEGER;
  VAR  featureEndY :INTEGER
) ;

Python:

def  vs.GetTexBFeatureEnd(textureBitmap):
   return (featureEndX, featureEndY)

Description:

Procedure GetTexBFeatureEnd returns the "feature endpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureEndX Returns X coordinate of feature end point.
featureEndY Returns Y coordinate of feature end point.



  GetTexBFeatureStart Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   GetTexBFeatureStart
(   textureBitmap :HANDLE;
  VAR  featureStartX :INTEGER;
  VAR  featureStartY :INTEGER
) ;

Python:

def  vs.GetTexBFeatureStart(textureBitmap):
   return (featureStartX, featureStartY)

Description:

Procedure GetTexBFeatureStart returns the "feature startpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureStartX Returns X coordinate of feature start point.
featureStartY Returns Y coordinate of feature start point.



  GetTexBitFeatureSize Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTexBitFeatureSize
( textureBitmap:HANDLE ) :REAL ;

Python:

def  vs.GetTexBitFeatureSize(textureBitmap):
   return REAL

Description:

Function GetTexBitFeatureSize returns the feature size of the referenced bitmap in real world inches.

Parameters:

textureBitmap Handle to texture bitmap.



  GetTexBitmapOrigin Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   GetTexBitmapOrigin
(   textureBitmap :HANDLE;
  VAR  originX :INTEGER;
  VAR  originY :INTEGER
) ;

Python:

def  vs.GetTexBitmapOrigin(textureBitmap):
   return (originX, originY)

Special Notes:

GetTexBitmapOrigin is obsolete as of VectorWorks9.0

Description:

Procedure GetTexBitmapOrigin returns the origin of the bitmap applied to the referenced texture bitmap. The origin is measured in pixels, with the top left corner as (0,0).

Parameters:

textureBitmap Handle to texture bitmap.
originX Returns X coordinate of bitmap origin.
originY Returns Y coordinate of bitmap origin.



  GetTexBitPaintNode Textures 
VectorWorks8.0 - obsolete as of VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetTexBitPaintNode
( textureBitmap:HANDLE ) :HANDLE ;

Python:

def  vs.GetTexBitPaintNode(textureBitmap):
   return HANDLE

Special Notes:

GetTexBitPaintNode is obsolete as of VectorWorks12.0

Description:

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

Parameters:

textureBitmap Handle to texture bitmap.



  GetTexBitRepHoriz Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTexBitRepHoriz
( textureBitmap:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexBitRepHoriz(textureBitmap):
   return BOOLEAN

Description:

Function GetTexBitRepHoriz returns whether the referenced texture bitmap is set to repeat horizontally.

Parameters:

textureBitmap Handle to texture bitmap.

Result:

The function returns TRUE if the texture bitmap is set to repeat.



  GetTexBitRepVert Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTexBitRepVert
( textureBitmap:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexBitRepVert(textureBitmap):
   return BOOLEAN

Description:

Function GetTexBitRepVert returns whether the referenced texture bitmap is set to repeat vertically.

Parameters:

textureBitmap Handle to texture bitmap.

Result:

The function returns TRUE if the texture bitmap is set to repeat.



  GetTexMapBool Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapBool
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetTexMapBool(h, partID, selector):
   return BOOLEAN

Special Notes:

GetTexMapBool is obsolete as of Vectorworks 2010

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7



  GetTexMapBoolN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapBoolN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetTexMapBoolN(obj, texPartID, texLayerID, selector):
   return BOOLEAN

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7

Parameters:

texLayerID 0 for base, >0 for decals



  GetTexMapInt Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapInt
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER
) :INTEGER ;

Python:

def  vs.GetTexMapInt(h, partID, selector):
   return INTEGER

Special Notes:

GetTexMapInt is obsolete as of Vectorworks 2010

Description:

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.



  GetTexMapIntN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapIntN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER
) :INTEGER ;

Python:

def  vs.GetTexMapIntN(obj, texPartID, texLayerID, selector):
   return INTEGER

Description:

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.

Parameters:

texLayerID 0 for base, >0 for decals



  GetTexMapReal Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapReal
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER
) :REAL ;

Python:

def  vs.GetTexMapReal(h, partID, selector):
   return REAL

Special Notes:

GetTexMapReal is obsolete as of Vectorworks 2010

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17



  GetTexMapRealN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTexMapRealN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER
) :REAL ;

Python:

def  vs.GetTexMapRealN(obj, texPartID, texLayerID, selector):
   return REAL

Description:

Get map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

Parameters:

texLayerID 0 for base, >0 for decals



  GetTexSpace2DOffset Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpace2DOffset
(   textureSpace :HANDLE;
  VAR  offsetU :REAL;
  VAR  offsetV :REAL
) ;

Python:

def  vs.GetTexSpace2DOffset(textureSpace):
   return (offsetU, offsetV)

Special Notes:

GetTexSpace2DOffset is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpace2DOffset returns the 2D offset for the referenced texture space in real-world inches.

Parameters:

textureSpace Handle to texture space.
offsetU Returns texture offset U component.
offsetV returns texture offset V component.



  GetTexSpace2DRadius Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpace2DRadius
( textureSpace:HANDLE ) :REAL ;

Python:

def  vs.GetTexSpace2DRadius(textureSpace):
   return REAL

Special Notes:

GetTexSpace2DRadius is obsolete as of Vectorworks 2009

Description:

Function GetTexSpace2DRadius returns the radius of the referenced texture space for applicable mapping types.

Parameters:

textureSpace Handle to texture space.



  GetTexSpace2DRot Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpace2DRot
( textureSpace:HANDLE ) :REAL ;

Python:

def  vs.GetTexSpace2DRot(textureSpace):
   return REAL

Special Notes:

GetTexSpace2DRot is obsolete as of Vectorworks 2009

Description:

Function GetTexSpace2DRot returns the rotation of the referenced texture space (in degrees).

Parameters:

textureSpace Handle to texture space.



  GetTexSpace2DScale Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpace2DScale
( textureSpace:HANDLE ) :REAL ;

Python:

def  vs.GetTexSpace2DScale(textureSpace):
   return REAL

Special Notes:

GetTexSpace2DScale is obsolete as of Vectorworks 2009

Description:

Function GetTexSpace2DScale returns the 2D scale for the referenced texture space.

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceEndCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpaceEndCap
( textureSpace:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexSpaceEndCap(textureSpace):
   return BOOLEAN

Special Notes:

GetTexSpaceEndCap is obsolete as of Vectorworks 2009

Description:

Function GetTexSpaceEndCap returns whether the end cap of the referenced extrude or sweep is textured.

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceKind Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpaceKind
( textureSpace:HANDLE ) :INTEGER ;

Python:

def  vs.GetTexSpaceKind(textureSpace):
   return INTEGER

Special Notes:

GetTexSpaceKind is obsolete as of Vectorworks 2009

Description:

Function GetTexSpaceKind returns the object type for texture mapping space.

Table - Texture Mapping Spaces

Date Style Constant
Plane 0
Sphere 1
Cylinder 2
Algorithmic 3

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceOrientU Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrientU
(   textureSpace :HANDLE;
  VAR  uXAxis :REAL;
  VAR  uYAxis :REAL;
  VAR  uZAxis :REAL
) ;

Python:

def  vs.GetTexSpaceOrientU(textureSpace):
   return (uXAxis, uYAxis, uZAxis)

Special Notes:

GetTexSpaceOrientU is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrientU returns the vector that describes the u-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
uXAxis Returns u-axis vector X component.
uYAxis Returns u-axis vector Y component.
uZAxis Returns u-axis vector Z component.



  GetTexSpaceOrientV Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrientV
(   textureSpace :HANDLE;
  VAR  vXAxis :REAL;
  VAR  vYAxis :REAL;
  VAR  vZAxis :REAL
) ;

Python:

def  vs.GetTexSpaceOrientV(textureSpace):
   return (vXAxis, vYAxis, vZAxis)

Special Notes:

GetTexSpaceOrientV is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrientV returns the vector that describes the v-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
vXAxis Returns v-axis vector X component.
vYAxis Returns v-axis vector Y component.
vZAxis Returns v-axis vector Z component.



  GetTexSpaceOrientW Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrientW
(   textureSpace :HANDLE;
  VAR  wXAxis :REAL;
  VAR  wYAxis :REAL;
  VAR  wZAxis :REAL
) ;

Python:

def  vs.GetTexSpaceOrientW(textureSpace):
   return (wXAxis, wYAxis, wZAxis)

Special Notes:

GetTexSpaceOrientW is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrientW returns the vector that describes the w-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
wXAxis Returns w-axis vector X component.
wYAxis Returns w-axis vector Y component.
wZAxis Returns w-axis vector Z component.



  GetTexSpaceOrigin Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   GetTexSpaceOrigin
(   textureSpace :HANDLE;
  VAR  offsetX :REAL;
  VAR  offsetY :REAL;
  VAR  offsetZ :REAL
) ;

Python:

def  vs.GetTexSpaceOrigin(textureSpace):
   return offset

Special Notes:

GetTexSpaceOrigin is obsolete as of Vectorworks 2009

Description:

Procedure GetTexSpaceOrigin returns the offset of the referenced texture space that takes coordinates from world space to texture space.

Parameters:

textureSpace Handle to texture space.
offset Returns texture space offset value.



  GetTexSpacePartID Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpacePartID
( textureSpace:HANDLE ) :INTEGER ;

Python:

def  vs.GetTexSpacePartID(textureSpace):
   return INTEGER

Special Notes:

GetTexSpacePartID is obsolete as of Vectorworks 2009

Description:

Function GetTexSpacePartID returns the parent of the referenced texture space in an expanded object (walls or roofs).

Table - Texture Space Objects

Object Constant
Primary 0
Secondary 1
Tertiary 2

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceStartCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTexSpaceStartCap
( textureSpace:HANDLE ) :BOOLEAN ;

Python:

def  vs.GetTexSpaceStartCap(textureSpace):
   return BOOLEAN

Special Notes:

GetTexSpaceStartCap is obsolete as of Vectorworks 2009

Description:

Function GetTexSpaceStartCap returns whether the start cap of an extrude or sweep is textured.

Parameters:

textureSpace Handle to texture space.



  GetTextureBitmap Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   GetTextureBitmap
( shaderRecord:HANDLE ) :HANDLE ;

Python:

def  vs.GetTextureBitmap(shaderRecord):
   return HANDLE

Description:

Function GetTextureBitmap returns the bitmap object attached to the referenced texture.

Parameters:

shaderRecord Handle to shader record.

Result:

If there is no texture applied to an object the function returns NIL.



  GetTextureRef Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTextureRef
(   obj :HANDLE;
    partID :INTEGER;
    resolveByClass :BOOLEAN
) :LONGINT ;

Python:

def  vs.GetTextureRef(obj, partID, resolveByClass):
   return LONGINT

Special Notes:

GetTextureRef is obsolete as of Vectorworks 2010

Description:

Function GetTextureRef returns the texture reference ID for the referenced object. The integer returned is the internal index of the texture node used by this object.

Parameters:

obj Handle to object.
partID Identifies texture to be returned by part ID.
resolveByClass Resolve texture reference by class.



  GetTextureRefN Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetTextureRefN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    resolveByClass :BOOLEAN
) :LongInt ;

Python:

def  vs.GetTextureRefN(obj, texPartID, texLayerID, resolveByClass):
   return LongInt

Description:

Returns the texture reference for a specified object.

Parameters:

texLayerID Texture layer ID, 0 for base, >0 for decals



  GetTextureSet Textures 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   GetTextureSet
( object:HANDLE ) :INTEGER ;

Python:

def  vs.GetTextureSet(object):
   return INTEGER

Description:

Gets the texture set of an object.

Parameters:

object The object.

Result:

The texture set.

0 - Object textures
1 - Component textures

See Also:

SetTextureSet  



  GetTextureShader Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   GetTextureShader
( texture:HANDLE ) :LONGINT ;

Python:

def  vs.GetTextureShader(texture):
   return LONGINT

Special Notes:

GetTextureShader is obsolete as of VectorWorks9.0

Description:

Function GetTextureShader returns the LightWorks internal property reference ID for the shader attached to the referenced texture.

Parameters:

texture Handle to texture.



  GetTextureShininess Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   GetTextureShininess
( texture:HANDLE ) :INTEGER ;

Python:

def  vs.GetTextureShininess(texture):
   return INTEGER

Special Notes:

GetTextureShininess is obsolete as of VectorWorks9.0

Description:

Function GetTextureShininess returns the shininess value of the referenced texture. The value is expressed as a percentage value with 0 equaling "Dull".

Parameters:

texture Handle to texture.



  GetTextureSize Textures 
VectorWorks10.1

VectorScript Declaration:

FUNCTION   GetTextureSize
( texture:HANDLE ) :REAL ;

Python:

def  vs.GetTextureSize(texture):
   return REAL

Description:

Returns the texture size in real-world inches.



  GetTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) :HANDLE ;

Python:

def  vs.GetTextureSpace(obj, partID):
   return HANDLE

Special Notes:

GetTextureSpace is obsolete as of Vectorworks 2009

Description:

Function GetTextureSpace returns a handle to the texture space attached to the referenced object(or object part).

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).

Example:

PROCEDURE Example; 
VAR
	XAxis, YAxis, ZAxis :REAL; 
	hObj :HANDLE; 
BEGIN
	hObj := GetTextureSpace(FSActLayer, 0); 
	GetTexSpaceOrientU(hObj, XAxis, YAxis, ZAxis); 
	Writeln('U', ' : ', XAxis, ' : ', YAxis, ' : ', ZAxis); 
	GetTexSpaceOrientV(hObj, XAxis, YAxis, ZAxis); 
	Writeln('V', ' : ', XAxis, ' : ', YAxis, ' : ', ZAxis); 
	GetTexSpaceOrientW(hObj, XAxis, YAxis, ZAxis); 
	Writeln('W', ' : ', XAxis, ' : ', YAxis, ' : ', ZAxis); 
END; 
RUN(Example); 



  GetTextureTransp Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

FUNCTION   GetTextureTransp
( texture:HANDLE ) :INTEGER ;

Python:

def  vs.GetTextureTransp(texture):
   return INTEGER

Special Notes:

GetTextureTransp is obsolete as of VectorWorks9.0

Description:

Function GetTextureTransp returns the degree of transparency applied to the referenced texture. It is expressed as a percentage with 0 creating an opaque texture.

Parameters:

texture Handle to texture.



  GetWallHoleTexturePart Textures 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetWallHoleTexturePart
( object:HANDLE ) :INTEGER ;

Python:

def  vs.GetWallHoleTexturePart(object):
   return INTEGER

Description:

Gets the wall texture part of an object in the wall hole group of a symbol definition or plug-in object. This is the wall texture part given to faces of the wall that are created by cutting a hole in the wall with the object.

Parameters:

object The handle to the cutting object in the wall hole group of a symbol definition or plug-in object.

Result:

The wall texture part.

0 - The wall Holes texture part
1 - The wall Left texture part
2 - The wall Right texture part

See Also:

SetWallHoleTexturePart  



  GS_EdSh_ConstructLayout Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GS_EdSh_ConstructLayout
(   shaderNameCStr :PROCEDURE;
    paramsPtr :PROCEDURE;
    libraryDataPtr :PROCEDURE
) ;

Python:

def  vs.GS_EdSh_ConstructLayout(shaderNameCStr, paramsPtr, libraryDataPtr):
   return None

Description:

Creates a dialog layout for editing a shader's parameter values.



  GS_EdSh_PopulateMenu Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GS_EdSh_PopulateMenu
(   itemID :LONGINT;
    numStrings :LONGINT;
    cStringsArray :LONGINT;
    libraryDataPtr :LONGINT
) ;

Python:

def  vs.GS_EdSh_PopulateMenu(itemID, numStrings, cStringsArray, libraryDataPtr):
   return None

Description:

Adds menu items to a popup in an edit shader dialog.



  GS_EdSh_RunDialog Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   GS_EdSh_RunDialog
( VAR  userHitOK :BOOLEAN;
  VAR  libraryDataPtr :BOOLEAN
) ;

Python:

def  vs.GS_EdSh_RunDialog():
   return (userHitOK, libraryDataPtr)

Description:

Runs an edit shader dialog layout.



  IsImageCropped Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IsImageCropped
( object:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsImageCropped(object):
   return BOOLEAN

Description:

Check is the given image cropped.

Result:

Returns true if the given image is cropped, FALSE otherwise.



  IsImageCropVisible Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IsImageCropVisible
( object:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsImageCropVisible(object):
   return BOOLEAN

Description:

Check is the crop of the image visible.

Result:

Returns true if the crop is visible, FALSE otherwise.



  IsRW Textures 
VectorWorks10.0

VectorScript Declaration:

FUNCTION   IsRW
:BOOLEAN ;

Python:

def  vs.IsRW():
   return BOOLEAN

Description:

Indicates whether RenderWorks is available.

Result:

Returns true if RenderWorks is available, false otherwise.



  IsTextureableObject Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   IsTextureableObject
( obj:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsTextureableObject(obj):
   return BOOLEAN

Description:

Function IsTextureableObject returns whether the referenced object supports texture mapping.

Parameters:

obj Handle to object.

Result:

Returns TRUE if object supports texture mapping.



  ResolveByClassTextureRef Textures 
VectorWorks8.0

VectorScript Declaration:

FUNCTION   ResolveByClassTextureRef
(   obj :HANDLE;
    partID :INTEGER
) :LONGINT ;

Python:

def  vs.ResolveByClassTextureRef(obj, partID):
   return LONGINT

Description:

Function ResolveByClassTextureRef returns the internal index, or name, of the texture assigned to the referenced object.

Primary, secondary, or tertiary texture assignments can be returned for objects that support multiple textures, such as roofs or walls. For objects that do not support multiple textures, pass 0 to the partID parameter.

Table - Object Texture Reference

Texture Index Value
Primary 0
Secondary 1
Tertiary 2

Parameters:

obj Handle to object.
partID Primary, secondary, or tertiary texture ID to be returned.

Example:

textureID:=ResolveByClassTextureRef(handleToObject,0);

See Also:

SetTextureRef   GetTextureRef  



  SetClTextureC Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureC
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureC(className, textureRef):
   return None

Description:

Procedure SetClTextureC sets the wall center texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureD Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureD
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureD(className, textureRef):
   return None

Description:

Procedure SetClTextureD sets the roof dormer texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureG Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureG
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureG(className, textureRef):
   return None

Description:

Procedure SetClTextureG sets the generic texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureL Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureL
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureL(className, textureRef):
   return None

Description:

Procedure SetClTextureL sets the left side wall texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureR Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureR
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureR(className, textureRef):
   return None

Description:

Procedure SetClTextureR sets the right side wall texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureT Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetClTextureT
(   className :STRING;
    textureRef :LONGINT
) ;

Python:

def  vs.SetClTextureT(className, textureRef):
   return None

Description:

Procedure SetClTextureT sets the roof top texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetCustomRWPrefs Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetCustomRWPrefs
( VAR  useTextures :BOOLEAN;
  VAR  useTransparency :BOOLEAN;
  VAR  useShadows :BOOLEAN;
  VAR  useRayTracing :BOOLEAN;
  VAR  useAntiAliasing :BOOLEAN;
  VAR  useDithering :BOOLEAN;
  VAR  tessellationDetail :INTEGER;
  VAR  shadowStyle :INTEGER;
  VAR  rayTracingRecursion :INTEGER
) ;

Python:

def  vs.SetCustomRWPrefs():
   return (useTextures, useTransparency, useShadows, useRayTracing, useAntiAliasing, useDithering, tessellationDetail, shadowStyle, rayTracingRecursion)

Description:

Sets the current custom RenderWorks rendering preferences from data passed in.



  SetDefaultTexMap Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetDefaultTexMap
( h:HANDLE ) ;

Python:

def  vs.SetDefaultTexMap(h):
   return None

Special Notes:

SetDefaultTexMap is obsolete as of Vectorworks 2010

Description:

Set the object to have default texture mapping info. Texture resource being used is set with SetTextureRef. Similar to SetDefaultTextureSpace except that routine has been superseded in version 2009.



  SetDefaultTexMapN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetDefaultTexMapN
(   h :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT
) ;

Python:

def  vs.SetDefaultTexMapN(h, texPartID, texLayerID):
   return None

Description:

Set the object to have default texture mapping info. Texture resource being used is set with SetTextureRef. This routine replaces SetDefaultTexMap with version 2010 and above.

Parameters:

h The textured object
texPartID The texture part ID
texLayerID The texture layer ID, 0 for base, >0 for decals



  SetDefaultTextureSpace Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetDefaultTextureSpace
(   obj :HANDLE;
    texSpace :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.SetDefaultTextureSpace(obj, texSpace, partID):
   return None

Special Notes:

SetDefaultTextureSpace is obsolete as of Vectorworks 2009

Description:

Procedure SetDefaultTextureSpace sets the texture space for the referenced object to the Vectorworks object defaults.

Parameters:

obj Handle to object.
texSpace Handle to texture space.
partID Part ID (pass 1 for non-supporting objects).



  SetImageCropObject Textures 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   SetImageCropObject
(   image :HANDLE;
    crop :HANDLE
) :BOOLEAN ;

Python:

def  vs.SetImageCropObject(image, crop):
   return BOOLEAN

Description:

By given image handle and crop handle, set the crop to the image.

Result:

Returns TRUE if the cropping is successful.



  SetImageCropVisible Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetImageCropVisible
(   object :HANDLE;
    isVisible :BOOLEAN
) ;

Python:

def  vs.SetImageCropVisible(object, isVisible):
   return None

Description:

Set the image crop visibility.

Parameters:

isVisible If TRUE the crop become visible, if FALSE - invisible.



  SetObjExpandTexture Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetObjExpandTexture
(   obj :HANDLE;
    expanded :BOOLEAN
) ;

Python:

def  vs.SetObjExpandTexture(obj, expanded):
   return None

Special Notes:

SetObjExpandTexture is obsolete as of Vectorworks 2009

Description:

Procedure SetObjExpandTexture sets the "expanded" state of the referenced objects' texture. When a texture is expanded, different components of an object can have different textures.

Parameters:

obj Handle to object.
expanded Use expanded textures setting.



  SetOpenGLPrefs Textures 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   SetOpenGLPrefs
( VAR  useTextures :BOOLEAN;
  VAR  tessellationDetail :INTEGER;
  VAR  useNURBS :BOOLEAN
) ;

Python:

def  vs.SetOpenGLPrefs():
   return (useTextures, tessellationDetail, useNURBS)

Description:

Sets the current OpenGL rendering preferences from data passed in.



  SetTexBFeatureEnd Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBFeatureEnd
(   textureBitmap :HANDLE;
    featureEndX :INTEGER;
    featureEndY :INTEGER
) ;

Python:

def  vs.SetTexBFeatureEnd(textureBitmap, featureEndX, featureEndY):
   return None

Description:

Procedure SetTexBFeatureEnd sets the "feature endpoint" of the referenced texture bitmap. Parameters featureEndX and featureEndY specify the end point. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureEndX X coordinate of feature end point.
featureEndY Y coordinate of feature end point.



  SetTexBFeatureStart Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBFeatureStart
(   textureBitmap :HANDLE;
    featureStartX :INTEGER;
    featureStartY :INTEGER
) ;

Python:

def  vs.SetTexBFeatureStart(textureBitmap, featureStartX, featureStartY):
   return None

Description:

Procedure SetTexBFeatureStart sets the "feature startpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureStartX X coordinate of feature start point.
featureStartY Y coordinate of feature start point.



  SetTexBitFeatureSize Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBitFeatureSize
(   textureBitmap :HANDLE;
    featureSize :REAL
) ;

Python:

def  vs.SetTexBitFeatureSize(textureBitmap, featureSize):
   return None

Description:

Procedure SetTexBitFeatureSize sets the feature size of the referenced bitmap. Parameter featureSize specifies the size in real world inches.

Parameters:

textureBitmap Handle to texture bitmap.
featureSize Feature size value.



  SetTexBitmapOrigin Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTexBitmapOrigin
(   textureBitmap :HANDLE;
    originX :INTEGER;
    originY :INTEGER
) ;

Python:

def  vs.SetTexBitmapOrigin(textureBitmap, originX, originY):
   return None

Special Notes:

SetTexBitmapOrigin is obsolete as of VectorWorks9.0

Description:

Procedure SetTexBitmapOrigin sets the origin of the bitmap applied to the referenced texture bitmap. The origin is measured in pixels, with the top left corner as (0,0).

Parameters:

textureBitmap Handle to texture bitmap.
originX X coordinate of bitmap origin.
originY Y coordinate of bitmap origin.



  SetTexBitPaintNode Textures 
VectorWorks8.0 - obsolete as of VectorWorks12.0

VectorScript Declaration:

PROCEDURE   SetTexBitPaintNode
(   textureBitmap :HANDLE;
    paintNode :HANDLE
) ;

Python:

def  vs.SetTexBitPaintNode(textureBitmap, paintNode):
   return None

Special Notes:

SetTexBitPaintNode is obsolete as of VectorWorks12.0

Description:

Procedure SetTexBitPaintNode sets the paint node of the referenced texture bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
paintNode Paint node for texture bitmap.



  SetTexBitRepHoriz Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBitRepHoriz
(   textureBitmap :HANDLE;
    repeatHoriz :BOOLEAN
) ;

Python:

def  vs.SetTexBitRepHoriz(textureBitmap, repeatHoriz):
   return None

Description:

Procedure SetTexBitRepHoriz sets the horizontal repeat flag for the referenced texture bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
repeatHoriz Horizontal tiling setting.



  SetTexBitRepVert Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTexBitRepVert
(   textureBitmap :HANDLE;
    repeatVert :BOOLEAN
) ;

Python:

def  vs.SetTexBitRepVert(textureBitmap, repeatVert):
   return None

Description:

Procedure SetTexBitRepVert sets the vertical repeat flag for the referenced texture bitmap. Parameter repeatVert toggles vertical tiling.

Parameters:

textureBitmap Handle to texture bitmap.
repeatVert Vertical tiling setting.



  SetTexMapBool Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapBool
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER;
    value :BOOLEAN
) ;

Python:

def  vs.SetTexMapBool(h, partID, selector, value):
   return None

Special Notes:

SetTexMapBool is obsolete as of Vectorworks 2010

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7



  SetTexMapBoolN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapBoolN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER;
    value :BOOLEAN
) ;

Python:

def  vs.SetTexMapBoolN(obj, texPartID, texLayerID, selector, value):
   return None

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: init:1, flip:2, repH:3, repV:4, long edge:5, worldZ:6, auto align:7



  SetTexMapInt Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapInt
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER;
    value :INTEGER
) ;

Python:

def  vs.SetTexMapInt(h, partID, selector, value):
   return None

Special Notes:

SetTexMapInt is obsolete as of Vectorworks 2010

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector should be 1 to set the map type integer.



  SetTexMapIntN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapIntN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER;
    value :INTEGER
) ;

Python:

def  vs.SetTexMapIntN(obj, texPartID, texLayerID, selector, value):
   return None

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector should be 1 to set the map type integer.

Parameters:

texLayerID 0 for base, >0 for decals



  SetTexMapReal Textures 
Vectorworks 2009 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapReal
(   h :HANDLE;
    partID :LONGINT;
    selector :INTEGER;
    value :REAL
) ;

Python:

def  vs.SetTexMapReal(h, partID, selector, value):
   return None

Special Notes:

SetTexMapReal is obsolete as of Vectorworks 2010

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17



  SetTexMapRealN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTexMapRealN
(   obj :HANDLE;
    texPartID :LONGINT;
    texLayerID :LONGINT;
    selector :INTEGER;
    value :REAL
) ;

Python:

def  vs.SetTexMapRealN(obj, texPartID, texLayerID, selector, value):
   return None

Description:

Set map info for specific part of object. partID is texture part, overall is 3. Selector: offsetX:1, offsetY:2, scale2D:3, rotate2D:4, radius:5, matrix mat00 through mat32: 6-17

Parameters:

texLayerID 0 for base, >0 for decals



  SetTexSpace2DOffset Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DOffset
(   textureSpace :HANDLE;
    offsetU :REAL;
    offsetV :REAL
) ;

Python:

def  vs.SetTexSpace2DOffset(textureSpace, offsetU, offsetV):
   return None

Special Notes:

SetTexSpace2DOffset is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DOffset sets the 2D offset for the referenced texture space in real-world inches.

Parameters:

textureSpace Handle to texture space.
offsetU Texture offset U component.
offsetV Texture offset V component.



  SetTexSpace2DRadius Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DRadius
(   textureSpace :HANDLE;
    radius :REAL
) ;

Python:

def  vs.SetTexSpace2DRadius(textureSpace, radius):
   return None

Special Notes:

SetTexSpace2DRadius is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DRadius sets the radius of the referenced texture space for applicable mapping types.

Parameters:

textureSpace Handle to texture space.
radius Radius of texture space.



  SetTexSpace2DRot Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DRot
(   textureSpace :HANDLE;
    rotationDegrees :REAL
) ;

Python:

def  vs.SetTexSpace2DRot(textureSpace, rotationDegrees):
   return None

Special Notes:

SetTexSpace2DRot is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DRot sets the rotation of the referenced texture space.

Parameters:

textureSpace Handle to texture space.
rotationDegrees Rotation of texture space(in degrees).



  SetTexSpace2DScale Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpace2DScale
(   textureSpace :HANDLE;
    scale :REAL
) ;

Python:

def  vs.SetTexSpace2DScale(textureSpace, scale):
   return None

Special Notes:

SetTexSpace2DScale is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpace2DScale sets the 2D scale for the referenced texture space. Parameter scale specifies the new scale value.

Parameters:

textureSpace Handle to texture space.
scale Scale for texture space.



  SetTexSpaceEndCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceEndCap
(   textureSpace :HANDLE;
    endCapTextured :BOOLEAN
) ;

Python:

def  vs.SetTexSpaceEndCap(textureSpace, endCapTextured):
   return None

Special Notes:

SetTexSpaceEndCap is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceEndCap sets whether the end cap of a referenced extrude or sweep is textured.

Parameters:

textureSpace Handle to texture space.
endCapTextured Texture end cap status.



  SetTexSpaceKind Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceKind
(   textureSpace :HANDLE;
    kind :INTEGER
) ;

Python:

def  vs.SetTexSpaceKind(textureSpace, kind):
   return None

Special Notes:

SetTexSpaceKind is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceKind sets the object type for referenced texture mapping space.

Table - Texture Mapping Spaces

Date Style Constant
Plane 0
Sphere 1
Cylinder 2
Algorithmic 3

Parameters:

textureSpace Handle to texture space.
kind Texture mapping space type.



  SetTexSpaceOrientU Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrientU
(   textureSpace :HANDLE;
    uXAxis :REAL;
    uYAxis :REAL;
    uZAxis :REAL
) ;

Python:

def  vs.SetTexSpaceOrientU(textureSpace, uXAxis, uYAxis, uZAxis):
   return None

Special Notes:

SetTexSpaceOrientU is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrientU specifies the vector that describes the u-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
uXAxis Sets u-axis vector X component.
uYAxis Sets u-axis vector Y component.
uZAxis Sets u-axis vector Z component.



  SetTexSpaceOrientV Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrientV
(   textureSpace :HANDLE;
    vXAxis :REAL;
    vYAxis :REAL;
    vZAxis :REAL
) ;

Python:

def  vs.SetTexSpaceOrientV(textureSpace, vXAxis, vYAxis, vZAxis):
   return None

Special Notes:

SetTexSpaceOrientV is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrientV specifies the vector that describes the v-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
vXAxis Sets v-axis vector X component.
vYAxis Sets v-axis vector Y component.
vZAxis Sets v-axis vector Z component.



  SetTexSpaceOrientW Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrientW
(   textureSpace :HANDLE;
    wXAxis :REAL;
    wYAxis :REAL;
    wZAxis :REAL
) ;

Python:

def  vs.SetTexSpaceOrientW(textureSpace, wXAxis, wYAxis, wZAxis):
   return None

Special Notes:

SetTexSpaceOrientW is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrientW specifies the vector that describes the w-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
wXAxis Sets w-axis vector X component.
wYAxis Sets w-axis vector Y component.
wZAxis Sets w-axis vector Z component.



  SetTexSpaceOrigin Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceOrigin
(   textureSpace :HANDLE;
    offsetX :REAL;
    offsetY :REAL;
    offsetZ :REAL
) ;

Python:

def  vs.SetTexSpaceOrigin(textureSpace, offset):
   return None

Special Notes:

SetTexSpaceOrigin is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceOrigin sets the offset of the referenced texture space that takes coordinates from world space to texture space.

Parameters:

textureSpace Handle to texture space.
offset Texture space offset value.



  SetTexSpacePartID Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpacePartID
(   textureSpace :HANDLE;
    partID :INTEGER
) ;

Python:

def  vs.SetTexSpacePartID(textureSpace, partID):
   return None

Special Notes:

SetTexSpacePartID is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpacePartID sets the parent of the referenced texture space in an expanded object (walls or roofs).

Table - Texture Space Objects

Object Constant
Primary 0
Secondary 1
Tertiary 2

Parameters:

textureSpace Handle to texture space.
partID Part ID of texture space parent.



  SetTexSpaceStartCap Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2009

VectorScript Declaration:

PROCEDURE   SetTexSpaceStartCap
(   textureSpace :HANDLE;
    startCapTextured :BOOLEAN
) ;

Python:

def  vs.SetTexSpaceStartCap(textureSpace, startCapTextured):
   return None

Special Notes:

SetTexSpaceStartCap is obsolete as of Vectorworks 2009

Description:

Procedure SetTexSpaceStartCap sets the texture status of a referenced sweep or extrude.

Parameters:

textureSpace Handle to texture space.
startCapTextured Texture start cap status.



  SetTextureBitmap Textures 
VectorWorks8.0

VectorScript Declaration:

PROCEDURE   SetTextureBitmap
(   shaderRecord :HANDLE;
    textureBitmap :HANDLE
) ;

Python:

def  vs.SetTextureBitmap(shaderRecord, textureBitmap):
   return None

Description:

Procedure SetTextureBitmap sets the bitmap object attached to the referenced texture. If no texture is desired then set textureBitmap to NIL.

Parameters:

shaderRecord Handle to shader record.
textureBitmap Handle to texture bitmap.



  SetTextureRef Textures 
VectorWorks8.0 - obsolete as of Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTextureRef
(   obj :HANDLE;
    textureRef :LONGINT;
    partID :INTEGER
) ;

Python:

def  vs.SetTextureRef(obj, textureRef, partID):
   return None

Special Notes:

SetTextureRef is obsolete as of Vectorworks 2010

Description:

Function SetTextureRef sets the texture reference ID for the referenced object.

Parameters:

obj Handle to object.
textureRef Texture reference ID.
partID Part to be assigned texture reference.



  SetTextureRefN Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetTextureRefN
(   obj :HANDLE;
    textureRef :LONGINT;
    texPartID :LONGINT;
    texLayerID :LONGINT
) ;

Python:

def  vs.SetTextureRefN(obj, textureRef, texPartID, texLayerID):
   return None

Description:

Sets the texture reference for a specified object

Parameters:

texLayerID 0 for base, >0 for decals



  SetTextureSet Textures 
Vectorworks 2011

VectorScript Declaration:

PROCEDURE   SetTextureSet
(   object :HANDLE;
    textureSet :INTEGER
) ;

Python:

def  vs.SetTextureSet(object, textureSet):
   return None

Description:

Sets the texture set of an object.

Parameters:

object The object.
textureSet The texture set. 0 - Object textures 1 - Component textures

See Also:

GetTextureSet  



  SetTextureShader Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTextureShader
(   texture :HANDLE;
    shaderIndex :LONGINT
) ;

Python:

def  vs.SetTextureShader(texture, shaderIndex):
   return None

Special Notes:

SetTextureShader is obsolete as of VectorWorks9.0

Description:

Procedure SetTextureShader sets the LightWorks internal property reference ID for the shader attached to the referenced texture.

Parameters:

texture Handle to texture.
shaderIndex Shader ID value for texture.



  SetTextureShininess Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTextureShininess
(   texture :HANDLE;
    shininess :INTEGER
) ;

Python:

def  vs.SetTextureShininess(texture, shininess):
   return None

Special Notes:

SetTextureShininess is obsolete as of VectorWorks9.0

Description:

Procedure SetTextureShininess sets the shininess value of the referenced texture. The value is expressed as a percentage value in a range of 0-100 with 0 equaling "Dull".

Parameters:

texture Handle to texture.
shininess Shininess setting for texture.



  SetTextureSize Textures 
VectorWorks10.1

VectorScript Declaration:

PROCEDURE   SetTextureSize
(   texture :HANDLE;
    newSize :REAL
) ;

Python:

def  vs.SetTextureSize(texture, newSize):
   return None

Description:

Sets the texture size in real-world inches.



  SetTextureTransp Textures 
VectorWorks8.0 - obsolete as of VectorWorks9.0

VectorScript Declaration:

PROCEDURE   SetTextureTransp
(   texture :HANDLE;
    transparency :INTEGER
) ;

Python:

def  vs.SetTextureTransp(texture, transparency):
   return None

Special Notes:

SetTextureTransp is obsolete as of VectorWorks9.0

Description:

Procedure SetTextureTransp sets the degree of transparency applied to the referenced texture. The transparency value is expressed in the range of 0-100, with 0 equaling opaque and 100 equaling transparent.

Parameters:

texture Handle to texture.
transparency Transparency setting for texture.



  SetWallHoleTexturePart Textures 
Vectorworks 2010

VectorScript Declaration:

PROCEDURE   SetWallHoleTexturePart
(   object :HANDLE;
    part :INTEGER
) ;

Python:

def  vs.SetWallHoleTexturePart(object, part):
   return None

Description:

Sets the wall texture part of an object in the wall hole group of a symbol definition or plug-in object. This is the wall texture part given to faces of the wall that are created by cutting a hole in the wall with the object.

Parameters:

object The handle to the cutting object in the wall hole group of a symbol definition or plug-in object.
part The wall texture part. 0 - The wall Holes texture part 1 - The wall Left texture part 2 - The wall Right texture part

See Also:

GetWallHoleTexturePart