| AttachDefaultTextureSpace | Textures |
Declaration:
PROCEDURE AttachDefaultTextureSpace
( obj :HANDLE; partID :INTEGER ) ; 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 |
Declaration:
FUNCTION CreatePaintFromImage
( image:HANDLE ) :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);
| CreateShaderRecord | Textures |
Declaration:
FUNCTION CreateShaderRecord
( texture :HANDLE; family :LONGINT; prototype :LONGINT ) :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 |
Declaration:
FUNCTION CreateTexture
:HANDLE ; Description:
Function CreateTexture creates a new texture object with default values.
| CreateTextureBitmap | Textures |
Declaration:
FUNCTION CreateTextureBitmap
: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 |
Declaration:
FUNCTION CreateTextureBitmapN
( shaderRecord:HANDLE ) :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 |
Declaration:
PROCEDURE DeleteTextureSpace
( obj :HANDLE; partID :INTEGER ) ; 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 |
Declaration:
FUNCTION EditShaderRecord
( shaderRecord:HANDLE ) :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 |
Declaration:
FUNCTION EditTexture
( texture:HANDLE ) :BOOLEAN ; Description:
Function EditTexture opens the Edit Texture dialog for the referenced texture.Parameters:
texture Handle to texture.
| EditTextureBitmap | Textures |
Declaration:
FUNCTION EditTextureBitmap
( textureBitmap:HANDLE ) :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 |
Declaration:
FUNCTION EditTextureSpace
( obj :HANDLE; partID :INTEGER ) :BOOLEAN ; 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 |
Declaration:
FUNCTION GetClTextureC
( className:STRING ) :LONGINT ; Description:
Function GetClTextureC returns the wall center texture of the specified class.Parameters:
className Class name.
| GetClTextureD | Textures |
Declaration:
FUNCTION GetClTextureD
( className:STRING ) :LONGINT ; Description:
Function GetClTextureD returns the roof dormer texture of the specified class.Parameters:
className Class name.
| GetClTextureG | Textures |
Declaration:
FUNCTION GetClTextureG
( className:STRING ) :LONGINT ; Description:
Function GetClTextureG returns the generic texture of the specified class.Parameters:
className Class name.
| GetClTextureL | Textures |
Declaration:
FUNCTION GetClTextureL
( className:STRING ) :LONGINT ; Description:
Function GetClTextureL returns the left side wall texture of the specified class.Parameters:
className Class name.
| GetClTextureR | Textures |
Declaration:
FUNCTION GetClTextureR
( className:STRING ) :LONGINT ; Description:
Function GetClTextureR returns the right side wall texture of the specified class.Parameters:
className Class name.
| GetClTextureT | Textures |
Declaration:
FUNCTION GetClTextureT
( className:STRING ) :LONGINT ; Description:
Function GetClTextureT returns the roof top texture of the specified class.Parameters:
className Class name.
| GetClUseTexture | Textures |
Declaration:
FUNCTION GetClUseTexture
( className:STRING ) :BOOLEAN ; Description:
Function GetClUseTexture returns whether a classes' texture attributes will be used at object creation.Parameters:
className Class name.
| GetObjExpandTexture | Textures |
Declaration:
FUNCTION GetObjExpandTexture
( obj:HANDLE ) :BOOLEAN ; 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 |
Declaration:
FUNCTION GetShaderRecord
( texture :HANDLE; family :LONGINT ) :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 |
Declaration:
PROCEDURE GetTexBFeatureEnd
( textureBitmap :HANDLE; VAR featureEndX :INTEGER; VAR featureEndY :INTEGER ) ; 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 |
Declaration:
PROCEDURE GetTexBFeatureStart
( textureBitmap :HANDLE; VAR featureStartX :INTEGER; VAR featureStartY :INTEGER ) ; 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 |
Declaration:
FUNCTION GetTexBitFeatureSize
( textureBitmap:HANDLE ) :REAL ; Description:
Function GetTexBitFeatureSize returns the feature size of the referenced bitmap in real world inches.Parameters:
textureBitmap Handle to texture bitmap.
| GetTexBitmapOrigin | Textures |
Declaration:
PROCEDURE GetTexBitmapOrigin
( textureBitmap :HANDLE; VAR originX :INTEGER; VAR originY :INTEGER ) ; 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 |
Declaration:
FUNCTION GetTexBitPaintNode
( textureBitmap:HANDLE ) :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 |
Declaration:
FUNCTION GetTexBitRepHoriz
( textureBitmap:HANDLE ) :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 |
Declaration:
FUNCTION GetTexBitRepVert
( textureBitmap:HANDLE ) :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 |
Declaration:
FUNCTION GetTexMapBool
( h :HANDLE; partID :LONGINT; selector :INTEGER ) :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
| GetTexMapInt | Textures |
Declaration:
FUNCTION GetTexMapInt
( h :HANDLE; partID :LONGINT; selector :INTEGER ) :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.
| GetTexMapReal | Textures |
Declaration:
FUNCTION GetTexMapReal
( h :HANDLE; partID :LONGINT; selector :INTEGER ) :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
| GetTexSpace2DOffset | Textures |
Declaration:
PROCEDURE GetTexSpace2DOffset
( textureSpace :HANDLE; VAR offsetU :REAL; VAR offsetV :REAL ) ; 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 |
Declaration:
FUNCTION GetTexSpace2DRadius
( textureSpace:HANDLE ) :REAL ; Description:
Function GetTexSpace2DRadius returns the radius of the referenced texture space for applicable mapping types.Parameters:
textureSpace Handle to texture space.
| GetTexSpace2DRot | Textures |
Declaration:
FUNCTION GetTexSpace2DRot
( textureSpace:HANDLE ) :REAL ; Description:
Function GetTexSpace2DRot returns the rotation of the referenced texture space (in degrees).Parameters:
textureSpace Handle to texture space.
| GetTexSpace2DScale | Textures |
Declaration:
FUNCTION GetTexSpace2DScale
( textureSpace:HANDLE ) :REAL ; Description:
Function GetTexSpace2DScale returns the 2D scale for the referenced texture space.Parameters:
textureSpace Handle to texture space.
| GetTexSpaceEndCap | Textures |
Declaration:
FUNCTION GetTexSpaceEndCap
( textureSpace:HANDLE ) :BOOLEAN ; Description:
Function GetTexSpaceEndCap returns whether the end cap of the referenced extrude or sweep is textured.Parameters:
textureSpace Handle to texture space.
| GetTexSpaceKind | Textures |
Declaration:
FUNCTION GetTexSpaceKind
( textureSpace:HANDLE ) :INTEGER ; 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 |
Declaration:
PROCEDURE GetTexSpaceOrientU
( textureSpace :HANDLE; VAR uXAxis :REAL; VAR uYAxis :REAL; VAR uZAxis :REAL ) ; 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 |
Declaration:
PROCEDURE GetTexSpaceOrientV
( textureSpace :HANDLE; VAR vXAxis :REAL; VAR vYAxis :REAL; VAR vZAxis :REAL ) ; 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 |
Declaration:
PROCEDURE GetTexSpaceOrientW
( textureSpace :HANDLE; VAR wXAxis :REAL; VAR wYAxis :REAL; VAR wZAxis :REAL ) ; 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 |
Declaration:
PROCEDURE GetTexSpaceOrigin
( textureSpace :HANDLE; VAR offsetX :REAL; VAR offsetY :REAL; VAR offsetZ :REAL ) ; 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 |
Declaration:
FUNCTION GetTexSpacePartID
( textureSpace:HANDLE ) :INTEGER ; 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 |
Declaration:
FUNCTION GetTexSpaceStartCap
( textureSpace:HANDLE ) :BOOLEAN ; Description:
Function GetTexSpaceStartCap returns whether the start cap of an extrude or sweep is textured.Parameters:
textureSpace Handle to texture space.
| GetTextureBitmap | Textures |
Declaration:
FUNCTION GetTextureBitmap
( shaderRecord:HANDLE ) :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 |
Declaration:
FUNCTION GetTextureRef
( obj :HANDLE; partID :INTEGER; resolveByClass :BOOLEAN ) :LONGINT ; 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.
| GetTextureShader | Textures |
Declaration:
FUNCTION GetTextureShader
( texture:HANDLE ) :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 |
Declaration:
FUNCTION GetTextureShininess
( texture:HANDLE ) :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 |
Declaration:
FUNCTION GetTextureSize
( texture:HANDLE ) :REAL ; Description:
Returns the texture size in real-world inches.
| GetTextureSpace | Textures |
Declaration:
FUNCTION GetTextureSpace
( obj :HANDLE; partID :INTEGER ) :HANDLE ; 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 |
Declaration:
FUNCTION GetTextureTransp
( texture:HANDLE ) :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.
| IsRW | Textures |
Declaration:
FUNCTION IsRW
:BOOLEAN ; Description:
Indicates whether RenderWorks is available.Result:
Returns true if RenderWorks is available, false otherwise.
| IsTextureableObject | Textures |
Declaration:
FUNCTION IsTextureableObject
( obj:HANDLE ) :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 |
Declaration:
FUNCTION ResolveByClassTextureRef
( obj :HANDLE; partID :INTEGER ) :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 |
Declaration:
PROCEDURE SetClTextureC
( className :STRING; textureRef :LONGINT ) ; Description:
Procedure SetClTextureC sets the wall center texture of the specified class.Parameters:
className Class name. textureRef Texture reference index value.
| SetClTextureD | Textures |
Declaration:
PROCEDURE SetClTextureD
( className :STRING; textureRef :LONGINT ) ; Description:
Procedure SetClTextureD sets the roof dormer texture of the specified class.Parameters:
className Class name. textureRef Texture reference index value.
| SetClTextureG | Textures |
Declaration:
PROCEDURE SetClTextureG
( className :STRING; textureRef :LONGINT ) ; Description:
Procedure SetClTextureG sets the generic texture of the specified class.Parameters:
className Class name. textureRef Texture reference index value.
| SetClTextureL | Textures |
Declaration:
PROCEDURE SetClTextureL
( className :STRING; textureRef :LONGINT ) ; Description:
Procedure SetClTextureL sets the left side wall texture of the specified class.Parameters:
className Class name. textureRef Texture reference index value.
| SetClTextureR | Textures |
Declaration:
PROCEDURE SetClTextureR
( className :STRING; textureRef :LONGINT ) ; Description:
Procedure SetClTextureR sets the right side wall texture of the specified class.Parameters:
className Class name. textureRef Texture reference index value.
| SetClTextureT | Textures |
Declaration:
PROCEDURE SetClTextureT
( className :STRING; textureRef :LONGINT ) ; Description:
Procedure SetClTextureT sets the roof top texture of the specified class.Parameters:
className Class name. textureRef Texture reference index value.
| SetDefaultTexMap | Textures |
Declaration:
PROCEDURE SetDefaultTexMap
( h:HANDLE ) ; 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.
| SetDefaultTextureSpace | Textures |
Declaration:
PROCEDURE SetDefaultTextureSpace
( obj :HANDLE; texSpace :HANDLE; partID :INTEGER ) ; 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).
| SetObjExpandTexture | Textures |
Declaration:
PROCEDURE SetObjExpandTexture
( obj :HANDLE; expanded :BOOLEAN ) ; 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.
| SetTexBFeatureEnd | Textures |
Declaration:
PROCEDURE SetTexBFeatureEnd
( textureBitmap :HANDLE; featureEndX :INTEGER; featureEndY :INTEGER ) ; 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 |
Declaration:
PROCEDURE SetTexBFeatureStart
( textureBitmap :HANDLE; featureStartX :INTEGER; featureStartY :INTEGER ) ; 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 |
Declaration:
PROCEDURE SetTexBitFeatureSize
( textureBitmap :HANDLE; featureSize :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexBitmapOrigin
( textureBitmap :HANDLE; originX :INTEGER; originY :INTEGER ) ; 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 |
Declaration:
PROCEDURE SetTexBitPaintNode
( textureBitmap :HANDLE; paintNode :HANDLE ) ; 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 |
Declaration:
PROCEDURE SetTexBitRepHoriz
( textureBitmap :HANDLE; repeatHoriz :BOOLEAN ) ; 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 |
Declaration:
PROCEDURE SetTexBitRepVert
( textureBitmap :HANDLE; repeatVert :BOOLEAN ) ; 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 |
Declaration:
PROCEDURE SetTexMapBool
( h :HANDLE; partID :LONGINT; selector :INTEGER; value :BOOLEAN ) ; 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 |
Declaration:
PROCEDURE SetTexMapInt
( h :HANDLE; partID :LONGINT; selector :INTEGER; value :INTEGER ) ; 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.
| SetTexMapReal | Textures |
Declaration:
PROCEDURE SetTexMapReal
( h :HANDLE; partID :LONGINT; selector :INTEGER; value :REAL ) ; 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
| SetTexSpace2DOffset | Textures |
Declaration:
PROCEDURE SetTexSpace2DOffset
( textureSpace :HANDLE; offsetU :REAL; offsetV :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpace2DRadius
( textureSpace :HANDLE; radius :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpace2DRot
( textureSpace :HANDLE; rotationDegrees :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpace2DScale
( textureSpace :HANDLE; scale :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpaceEndCap
( textureSpace :HANDLE; endCapTextured :BOOLEAN ) ; 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 |
Declaration:
PROCEDURE SetTexSpaceKind
( textureSpace :HANDLE; kind :INTEGER ) ; 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 |
Declaration:
PROCEDURE SetTexSpaceOrientU
( textureSpace :HANDLE; uXAxis :REAL; uYAxis :REAL; uZAxis :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpaceOrientV
( textureSpace :HANDLE; vXAxis :REAL; vYAxis :REAL; vZAxis :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpaceOrientW
( textureSpace :HANDLE; wXAxis :REAL; wYAxis :REAL; wZAxis :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpaceOrigin
( textureSpace :HANDLE; offsetX :REAL; offsetY :REAL; offsetZ :REAL ) ; 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 |
Declaration:
PROCEDURE SetTexSpacePartID
( textureSpace :HANDLE; partID :INTEGER ) ; 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 |
Declaration:
PROCEDURE SetTexSpaceStartCap
( textureSpace :HANDLE; startCapTextured :BOOLEAN ) ; 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 |
Declaration:
PROCEDURE SetTextureBitmap
( shaderRecord :HANDLE; textureBitmap :HANDLE ) ; 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 |
Declaration:
PROCEDURE SetTextureRef
( obj :HANDLE; textureRef :LONGINT; partID :INTEGER ) ; 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.
| SetTextureShader | Textures |
Declaration:
PROCEDURE SetTextureShader
( texture :HANDLE; shaderIndex :LONGINT ) ; 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 |
Declaration:
PROCEDURE SetTextureShininess
( texture :HANDLE; shininess :INTEGER ) ; 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 |
Declaration:
PROCEDURE SetTextureSize
( texture :HANDLE; newSize :REAL ) ; Description:
Sets the texture size in real-world inches.
| SetTextureTransp | Textures |
Declaration:
PROCEDURE SetTextureTransp
( texture :HANDLE; transparency :INTEGER ) ; 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.