SetAutomaticColor Method (Attribute Object)

Scope: Schematic editor

Object: Attribute Object

Prerequisites: None

Sets or unsets the color of an attribute object as the automatic color for attributes.

Usage

Attribute.SetAutomaticColor(byVal bAutomatic as Boolean)

Arguments

bAutomatic

True - sets the automatic color for the attribute. False - unsets the automatic color for that attribute.

If an object has automatic color, as determined by the IsColorAutomatic Method (Attribute Object), the actual color of the object is the default for this type of object.