Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 752 Bytes

File metadata and controls

37 lines (28 loc) · 752 Bytes

SetMtlPenForeColor

Description

Sets the pen foreground color of the specified material. The color must be specified using the RGB components of the desired color. RGB values are in the range of 0~65535.

PROCEDURE SetMtlPenForeColor(
				material : HANDLE;
				color    : LONGINT);
def vs.SetMtlPenForeColor(material, color):
    return None

Parameters

Name Type Description
material HANDLE Handle to material.
color LONGINT RGB color value.

Remarks

Sets the pen foreground color of the material.

Examples

ColorIndexToRGB(214,cRed,cGrn,cBlu);
SetMtlPenForeColor(mtlHandle,cRed,cGrn,cBlu);

Version

Availability: from Vectorworks 2021

Category

  • Object Attributes