Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 851 Bytes

File metadata and controls

41 lines (32 loc) · 851 Bytes

SetClPenBack

Description

Procedure SetClPenBack sets the pen background color of the specified class. The color must be specified using the RGB components of the desired color. RGB values are in the range of 0~65535.

PROCEDURE SetClPenBack(
				className : STRING;
				r,g,b     : LONGINT);
def vs.SetClPenBack(className, r,g,b):
    return None

Parameters

Name Type Description
className STRING Name of class.
color LONGINT RGB color value.

Remarks

Changes the pen background color setting of the class named className.

Examples

VectorScript

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

Python

Version

Availability: from VectorWorks8.0

Category