document.contoursets
This property gives access to all contour set attributes but it can not be used directly. It is assumed that myDoc has already been defined as a document and set as the activeDoc for the following examples. (See
activeDoc.contoursetCount.)
document.contoursets["name"].color
Returns and sets color properties for the specified contour set
name as ColorSpec. (See
ColorSpec.)
myDoc.contoursets["black"].color.type = "colorRef"
myDoc.contoursets["black"].color.color = "Black"
myDoc.contoursets["black"].color.tone = 1
myDoc.contoursets["red"].color.type = "cmykValues"
myDoc.contoursets["red"].color.CMYK = "{CMYK 0 1 1 0}"
myDoc.contoursets["gold"].color.type = "rgbValues"
myDoc.contoursets["gold"].color.RGB = "{RGB 255 219 0}"
document.contoursets["name"].name
Returns and sets the name for the specified contour set name as string.
myDoc.contoursets["red"].name = "red2012"