GLOB_COLOR is a global variable and returns the current color ID of the SmartParts object.
Remarks
Usable since script version 1.1 (Allplan 2012-1).