Skip to content

Latest commit

 

History

History
70 lines (56 loc) · 1.49 KB

File metadata and controls

70 lines (56 loc) · 1.49 KB

SetClUseTexture

Description

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

Parameters

Name Type Description
className STRING Name of class.
use BOOLEAN Use texture attributes on-off setting.

Remarks

Sets whether the class texture attributes are used at object creation.

Respective 'Get' is under Textures: GetClUseTexture .

Examples

VectorScript

SetClUseTexture('Proposed Roof',TRUE);

Python

		{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 )

See Also

VS Functions: GetClUseTexture

Version

Availability: from VectorWorks8.0

Category