property [key [value]]
where key and value are any text strings.
The property command implements a general-purpose method of attaching information to a cell definition. Except for a few properties known to the lef and gds commands (q.v.), properties have no inherent meaning to magic but may be used with other programs or scripts to add additional information about a cell definition.
With no arguments, all properties of the current edit cell are listed. With only the key argument, the value associated with the key is returned. With both arguments, the string value is associated with the string key as a property of the cell. If key is an existing key, then its original value will be overwritten.
property is implemented as a built-in command in magic. The property structure itself is implemented as a hash table in the cell definition structure.
|Return to command index|
Last updated: December 4, 2005 at 8:05pm