Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 810 Bytes

File metadata and controls

45 lines (36 loc) · 810 Bytes

SetClOpacity

Description

Sets the opacity persentage of a class. The opacity is specified by percentage value in range [0-100].

PROCEDURE SetClOpacity(
				className : STRING;
				opacity   : INTEGER);
def vs.SetClOpacity(className, opacity):
    return None

Parameters

Name Type Description
className STRING Name of class.
opacity INTEGER Opacity specified by percentage value in range [0-100].

Examples

VectorScript

ColorIndexToRGB(214,cRed,cGrn,cBlu);
SetClOpacity('Cold Water Supply',cRed,cGrn,cBlu);

Python

SetClOpacity('Wall', 1);
vs.SetClOpacity('Wall', opacity)

Version

Availability: from VectorWorks13.0

Category