Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schGetShapeStyle

schGetShapeStyle(
d_shape 
)
=> l_style

Description

Returns a Disembodied property list (DPL) containing the style attributes of a given shape.

Arguments

d_shape

Database shape Id.

Value Returned

l_style

A DPL containing each of the style attributes – color, lineStyle, stipple, fillStyle, fillColor

Examples

Selects a shape on the canvas and passes it as an argument to schGetShapeStyle:

schGetShapeStyle(car(selectedSet()))
=> (nil color "cadetBlue" lineStyle "solid" stipple "solid" fillStyle "solid" fillColor "cadetBlue")

Return to top
 ⠀
X