Toggles the document setting for using the texture attributes of the specified class at object creation.
PROCEDURE SetClUseTexture(
className : STRING;
use : BOOLEAN);def vs.SetClUseTexture(className, use):
return None| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class. |
| use | BOOLEAN | Use texture attributes on-off setting. |
Sets whether the class texture attributes are used at object creation.
Respective 'Get' is under Textures: GetClUseTexture .
SetClUseTexture('Proposed Roof',TRUE); {Cannot create class _____; an object of type ____ with that name already exists.}
end else BEGIN
NameClass(className);
SetClUseGraphic(className, TRUE);
SetClUseTexture(className, TRUE);
END;
{Cannot create class _____; an object of that name already exists.}
end else BEGIN
NameClass(className);
SetClUseGraphic(className, TRUE);
SetClUseTexture(className, TRUE);
END;
SetClUseTexture ((LocClassToApply),FALSE);# Cannot create class _____; an object of type ____ with that name already exists.
vs.NameClass( className )
vs.SetClUseGraphic( className, True )
vs.SetClUseTexture( className, True )VS Functions: GetClUseTexture
Availability: from VectorWorks8.0