The NAME Statement
- Last UpdatedJan 07, 2026
- 1 minute read
NAME,<dwg_name>
[/DWG]
[/FORM=<form_name>]
[/PICT]
[/SCALE=<dwg_scale>]
[/VOLUME=(<xmax>,<ymax>)];
<dwg_name> is the name of the drawing/subpicture/ volume to be created and stored on a data bank. If the NAME statement is omitted, <macro_name> will be used. <dwg_name> has the type STRING and the maximum length is 32 characters.
If the drawing/subpicture/volume given by <dwg_name> already exists on the data bank, the geometry created by the macro will be added to the existing object.
DWG
This attribute is used to specify that a drawing is to be created.
FORM=<form_name>
<form_name> is the name of the form to be used, if any. <form_name> has the type STRING and the maximum length is 32 characters.
PICT
This attribute is used to specify that a subpicture is to be created.
SCALE=<dwg_scale>
<dwg_scale> is the drawing/subpicture scale to be used. The default scale is 1:50. <dwg_scale> has the type DECIMAL.
VOLUME=(<xmax>,<ymax>)
<xmax> and <ymax> are the x and y extensions for the volume to be created. They have the type DECIMAL.