entity <ident> { = <command> }
Declare or redefine an entity identifier and (optionally) its graphics.
<ident>
The name of the identifier.
<command>
A command defining entity graphics.
None
Entity identifiers can have global scope only.
The graphics of an entity are set by various modeling commands: lines, vector, arc, node etc.
When an entity is deleted, via the delid command, its graphics are also destroyed.
Create an entity identifier.
entity my_ent
Create an entity and make it a lines entity.
entity diamond = lines { gc, e:100&n:100, w:100&n:100 w:100&s:100, r }
Commands: |
arc, cell, circle, ellipse, get, glabel, group, gtext, lines, node, polygon, polynode, prism, rect, route, vector |
Identifiers: |
|
Structures: |