<p>The following is a list of meta commands that are used by LeoCAD when saving files in LDraw format. Note that parameters in square brackets are optional and that parameters in angle brackets are required.</p>
<ul><li>“0 !LEOCAD MODEL NAME <name>”</li></ul>
<pstyle='margin-left:.5in'>Sets the name of the model.</p>
<ul><li>“0 !LEOCAD MODEL AUTHOR <name>”</li></ul>
<pstyle='margin-left:.5in'>Sets the name of the model’s author.</p>
<ul><li>“0 !LEOCAD MODEL DESCRIPTION<description>”</li></ul>
<pstyle='margin-left:.5in'>Sets the description of the model.</p>
<ul><li>“0 !LEOCAD MODEL COMMENT <comment>”</li></ul>
<pstyle='margin-left:.5in'>Adds a line to the model’s comments section. Multiple lines are allowed and will be appended in the order they appear.</p>
<ul><li>“0 !LEOCAD MODEL BACKGROUND COLOR <r g b>”</li></ul>
<pstyle='margin-left:.5in'>Sets the model’s background to a solid color.</p>
<pstyle='margin-left:.5in'>Sets the model’s background to a gradient.</p>
<ul><li>“0 !LEOCAD MODEL BACKGROUND IMAGE [TILE] NAME <filename>”</li></ul>
<pstyle='margin-left:.5in'>Sets the model’s background to an image file (if “TILE” is specified, the image will be display in its original size and tiled as needed, otherwise it will be stretched to fit the entire view).</p>
<p>All pieces and groups added inside a “GROUP BEGIN” and “GROUP END” block will be added as children of that group (If a group with the same name appears twice in a model, it will be considered the same group).</p>
<ul><li>“0 !LEOCAD GROUP BEGIN”</li></ul>
<pstyle='margin-left:.5in'><name>Creates a new group if a group with the same name does not already exist and makes all pieces and groups added before the next “END” command a part of this group.</p>
<ul><li>“0 !LEOCAD GROUP END”</li></ul>
<pstyle='margin-left:.5in'>Marks the end of the current group and will not allow the addition of more pieces and groups (If the current group is part of another group, then the parent group will be the new current group).</p>