Meta Commands

This paragraph will explain all different meta commands you can use in LPub3D to further detail the appearance of your Lego Building Instruction.

For next paragraphs following general directions:

  1. <“string”> is always text with quotes around it.
    1. Example: 0 !LPUB PAGE DOCUMENT_AUTHOR_FRONT CONTENT GLOBAL “Model instructions by Rabbitdesign”
  2. <float> can be any number and can be either in inches (or cm) for the position or in percentage for scale.
    1. Example: 0 !LPUB PLI MODEL_SCALE GLOBAL 0.6000
  3. <color> is the hexadecimal value of the color (ie. #ff0000 = red) between quotes. In case of parts it is the color number index for part colors. (!LPUB PLI BEGIN SUB <part> <color>)
    1. Example: 0 !LPUB PAGE MODEL_ID COLOR GLOBAL “#ffffff”
    2. Example: !LPUB PLI BEGIN SUB 61903.DAT 71
  4. <part> is the part file name in a command. (i.e. !LPUB PLI BEGIN SUB <part> <color>)
    1. Example: 0 !LPUB PLI BEGIN SUB 61903.DAT 71
  5. <“picture”> is the location of a picture between quotes.
    1. Example: …PICTURE “c:/users/name/pictures/background.png”
  6. <TRUE|FALSE> make a choice, can never used both at the same time. This counts for all other situations as well. When placed between brackets for each group a choice needs to be made (i.e. (LEFT|CENTER|RIGHT) or (INSIDE|OUTSIDE)).
    1. Example: 0 !LPUB BOM ANNOTATION DISPLAY TRUE
  7. <line>
  8. <integer> is always a number.
  9. <thickness>
  10. <radius> the radius of a circle in float number
  11. <intBase>
  12. <placement>
  13. <x> <y>; x and y direction for example with MARGIN
    1. Example:
  14. GLOBAL means general setting, LOCAL means PAGE or STEP specific setting.

0 !LPUB ASSEM L3P_PARMS <“string”>
0 !LPUB ASSEM LDGLITE_PARMS <“string”>
0 !LPUB ASSEM LDVIEW_PARMS <“string”>
0 !LPUB ASSEM MARGINS <float> <float>
0 !LPUB ASSEM MODEL_SCALE <float>
0 !LPUB ASSEM PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB ASSEM PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB ASSEM PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB ASSEM POVRAY_PARMS <“string”>
0 !LPUB ASSEM SHOW_STEP_NUMBER <TRUE|FALSE>

0 !LPUB BOM ANNOTATE FONT <“string”>
0 !LPUB BOM ANNOTATE FONT_COLOR <“string”>
0 !LPUB BOM ANNOTATE MARGINS <float> <float>
0 !LPUB BOM ANNOTATION DISPLAY <TRUE|FALSE>
0 !LPUB BOM ANNOTATION USE_FREE_FORM <TRUE|FALSE>
0 !LPUB BOM ANNOTATION USE_TITLE <TRUE|FALSE>
0 !LPUB BOM ANNOTATION USE_TITLE_AND_FREE_FORM <TRUE|FALSE>
0 !LPUB BOM BACKGROUND (TRANSPARENT|SUBMODEL_BACKGROUND_COLOR|COLOR <“color”>|GRADIENT <mode spread type size[0] size[1] angle “points” “stops”>|PICTURE (STRETCH) <“picture”>)

0 !LPUB BOM BEGIN IGN
0 !LPUB BOM BEGIN SUB <part> <color>
0 !LPUB BOM BEGIN SUB <part>
0 !LPUB BOM BORDER (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB BOM CONSTRAIN (AREA|SQUARE|(WIDTH|HEIGHT|COLS) <integer>)
0 !LPUB BOM END

0 !LPUB BOM INCLUDE_SUBMODELS <TRUE|FALSE>
0 !LPUB BOM INSTANCE_COUNT FONT <“string”>
0 !LPUB BOM INSTANCE_COUNT FONT_COLOR <“string”>
0 !LPUB BOM INSTANCE_COUNT MARGINS <float> <float>
0 !LPUB BOM L3P_PARMS <“string”>
0 !LPUB BOM LDGLITE_PARMS <“string”>
0 !LPUB BOM LDVIEW_PARMS <“string”>
0 !LPUB BOM MARGINS <float> <float>
0 !LPUB BOM MODEL_SCALE <float>
0 !LPUB BOM PART MARGINS <float> <float>
0 !LPUB BOM PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB BOM PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB BOM PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB BOM POVRAY_PARMS <“string”>
0 !LPUB BOM SHOW <TRUE|FALSE>
0 !LPUB BOM SORT <TRUE|FALSE>
0 !LPUB BOM SORT_BY SORT_OPTION <“string”>
0 !LPUB BOM SUBMODEL_BACKGROUND_COLOR <“string”> <“string”> …..
0 !LPUB BOM VIEW_ANGLE <float> <float>

0 !LPUB CALLOUT ALLOC (HORIZONTAL|VERTICAL)
0 !LPUB CALLOUT ASSEM MARGINS <float> <float>
0 !LPUB CALLOUT ASSEM PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT ASSEM PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT ASSEM PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB CALLOUT BACKGROUND (TRANSPARENT|SUBMODEL_BACKGROUND_COLOR|COLOR <“color”>|GRADIENT <mode spread type size[0] size[1] angle “points” “stops”>|PICTURE (STRETCH) <“picture”>)
0 !LPUB CALLOUT BEGIN
0 !LPUB CALLOUT BEGIN WHOLE
0 !LPUB CALLOUT BORDER (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB CALLOUT DIVIDER
0 !LPUB CALLOUT END
0 !LPUB CALLOUT FREEFORM (FALSE|(STEP_NUMBER|ASSEM|PLI|ROTATE_ICON) (LEFT|RIGHT|TOP|BOTTOM|CENTER))
0 !LPUB CALLOUT INSTANCE_COUNT FONT <“string”>
0 !LPUB CALLOUT INSTANCE_COUNT FONT_COLOR <“string”>
0 !LPUB CALLOUT INSTANCE_COUNT MARGINS <float> <float>
0 !LPUB CALLOUT INSTANCE_COUNT PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT INSTANCE_COUNT PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT INSTANCE_COUNT PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB CALLOUT MARGINS <float> <float>
0 !LPUB CALLOUT PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB CALLOUT PLI MARGINS <float> <float>
0 !LPUB CALLOUT PLI PER_STEP <TRUE|FALSE>
0 !LPUB CALLOUT PLI PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT PLI PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT PLI PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB CALLOUT POINTER (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) <floatX> <floatY> <intBase>
0 !LPUB CALLOUT POINTER (TOP|BOTTOM|LEFT|RIGHT) <floatLoc> <floatX> <floatY> <intBase>
0 !LPUB CALLOUT ROTATE_ICON ARROW (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB CALLOUT ROTATE_ICON BACKGROUND (TRANSPARENT|SUBMODEL_BACKGROUND_COLOR|COLOR <“color”>|GRADIENT <mode spread type size[0] size[1] angle “points” “stops”>|PICTURE (STRETCH) <“picture”>)
0 !LPUB CALLOUT ROTATE_ICON BORDER (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB CALLOUT ROTATE_ICON DISPLAY <TRUE|FALSE>
0 !LPUB CALLOUT ROTATE_ICON MARGINS <float> <float>
0 !LPUB CALLOUT ROTATE_ICON PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT ROTATE_ICON PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT ROTATE_ICON PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB CALLOUT ROTATE_ICON SCALE <float>
0 !LPUB CALLOUT ROTATE_ICON SIZE <float> <float>
0 !LPUB CALLOUT SEPARATOR <intThickness> <color> <marginX> <marginY>
0 !LPUB CALLOUT STEP_NUMBER FONT <“string”>
0 !LPUB CALLOUT STEP_NUMBER FONT_COLOR <“string”>
0 !LPUB CALLOUT STEP_NUMBER MARGINS <float> <float>
0 !LPUB CALLOUT STEP_NUMBER PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT STEP_NUMBER PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB CALLOUT STEP_NUMBER PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB CALLOUT SUBMODEL_BACKGROUND_COLOR <“string”> <“string”> …..
0 !LPUB CALLOUT SUBMODEL_FONT <“string”> <“string”> …..
0 !LPUB CALLOUT SUBMODEL_FONT_COLOR <“string”> <“string”> …..

0 !LPUB CONSOLIDATE_INSTANCE_COUNT <TRUE|FALSE>

0 !LPUB FADE_STEP FADE <TRUE|FALSE>
0 !LPUB FADE_STEP FADE_COLOR <“string”>

0 !LPUB INCLUDE <“string”>
0 !LPUB INSERT <placement> PICTURE “name”|ARROW x y x y |BOM|TEXT|MODEL|ROTATE_ICON “” “”

0 !LPUB MULTI_STEP ALLOC (HORIZONTAL|VERTICAL)
0 !LPUB MULTI_STEP ASSEM MARGINS <float> <float>
0 !LPUB MULTI_STEP ASSEM PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP ASSEM PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP ASSEM PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB MULTI_STEP BEGIN
0 !LPUB MULTI_STEP DIVIDER
0 !LPUB MULTI_STEP END
0 !LPUB MULTI_STEP FREEFORM (FALSE|(STEP_NUMBER|ASSEM|PLI|ROTATE_ICON) (LEFT|RIGHT|TOP|BOTTOM|CENTER))
0 !LPUB MULTI_STEP MARGINS <float> <float>
0 !LPUB MULTI_STEP PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB MULTI_STEP PLI MARGINS <float> <float>
0 !LPUB MULTI_STEP PLI PER_STEP <TRUE|FALSE>
0 !LPUB MULTI_STEP PLI PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP PLI PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP PLI PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB MULTI_STEP ROTATE_ICON ARROW (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB MULTI_STEP ROTATE_ICON BACKGROUND (TRANSPARENT|SUBMODEL_BACKGROUND_COLOR|COLOR <“color”>|GRADIENT <mode spread type size[0] size[1] angle “points” “stops”>|PICTURE (STRETCH) <“picture”>)
0 !LPUB MULTI_STEP ROTATE_ICON BORDER (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB MULTI_STEP ROTATE_ICON DISPLAY <TRUE|FALSE>
0 !LPUB MULTI_STEP ROTATE_ICON MARGINS <float> <float>
0 !LPUB MULTI_STEP ROTATE_ICON PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP ROTATE_ICON PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP ROTATE_ICON PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB MULTI_STEP ROTATE_ICON SCALE <float>
0 !LPUB MULTI_STEP ROTATE_ICON SIZE <float> <float>
0 !LPUB MULTI_STEP SEPARATOR <intThickness> <color> <marginX> <marginY>
0 !LPUB MULTI_STEP STEP_NUMBER FONT <“string”>
0 !LPUB MULTI_STEP STEP_NUMBER FONT_COLOR <“string”>
0 !LPUB MULTI_STEP STEP_NUMBER MARGINS <float> <float>
0 !LPUB MULTI_STEP STEP_NUMBER PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP STEP_NUMBER PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB MULTI_STEP STEP_NUMBER PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB MULTI_STEP SUBMODEL_FONT <“string”> <“string”> …..
0 !LPUB MULTI_STEP SUBMODEL_FONT_COLOR <“string”> <“string”> …..
0 !LPUB NOSTEP

0 !LPUB PART BEGIN IGN
0 !LPUB PART END

0 !LPUB PLI BEGIN IGN
0 // This won’t show the part in PLI, but if it is a submodel, it will generate building instructions.
0 !LPUB PLI END

0 !LPUB PART BEGIN IGN
0 // This part will not show up in PLI and if it is a submodel, it will prevent creating building instructions.
0 !LPUB PART END

0 !LPUB PLI ANNOTATE FONT <“string”>
0 !LPUB PLI ANNOTATE FONT_COLOR <“string”>
0 !LPUB PLI ANNOTATE MARGINS <float> <float>
0 !LPUB PLI ANNOTATION DISPLAY <TRUE|FALSE>
0 !LPUB PLI ANNOTATION USE_FREE_FORM <TRUE|FALSE>
0 !LPUB PLI ANNOTATION USE_TITLE <TRUE|FALSE>
0 !LPUB PLI ANNOTATION USE_TITLE_AND_FREE_FORM <TRUE|FALSE>
0 !LPUB PLI BACKGROUND (TRANSPARENT|SUBMODEL_BACKGROUND_COLOR|COLOR <“color”>|GRADIENT <mode spread type size[0] size[1] angle “points” “stops”>|PICTURE (STRETCH) <“picture”>)
0 !LPUB PLI BEGIN IGN
0 !LPUB PLI BEGIN SUB <part> <color>
0 !LPUB PLI BEGIN SUB <part>

0 !LPUB PLI BEGIN SUB ropelq-2.ldr 0

0 !LPUB PART BEGIN IGN

1 0 -40 32 -20 1 0 0 0 1 0 0 0 1 ropelq-1.ldr

0 !LPUB PLI END

0 !LPUB PART END

0 !LPUB PLI BORDER (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB PLI CONSTRAIN (AREA|SQUARE|(WIDTH|HEIGHT|COLS) <integer>)
0 !LPUB PLI END
0 !LPUB PLI INCLUDE_SUBMODELS <TRUE|FALSE>
0 !LPUB PLI INSTANCE_COUNT FONT <“string”>
0 !LPUB PLI INSTANCE_COUNT FONT_COLOR <“string”>
0 !LPUB PLI INSTANCE_COUNT MARGINS <float> <float>
0 !LPUB PLI L3P_PARMS <“string”>
0 !LPUB PLI LDGLITE_PARMS <“string”>
0 !LPUB PLI LDVIEW_PARMS <“string”>
0 !LPUB PLI MARGINS <float> <float>
0 !LPUB PLI MODEL_SCALE <float>
0 !LPUB PLI PART MARGINS <float> <float>
0 !LPUB PLI PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB PLI PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB PLI PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB PLI POVRAY_PARMS <“string”>
0 !LPUB PLI SHOW <TRUE|FALSE>
0 !LPUB PLI SORT <TRUE|FALSE>
0 !LPUB PLI SORT_BY SORT_OPTION <“string”>
0 !LPUB PLI SUBMODEL_BACKGROUND_COLOR <“string”> <“string”> …..
0 !LPUB PLI VIEW_ANGLE <float> <float>
0 !LPUB REMOVE GROUP <“string”>
0 !LPUB REMOVE NAME <“string”>
0 !LPUB REMOVE PART <“string”>
0 !LPUB RESERVE <float>

The meta-command “RESERVE” can be used to reserve some blank space on a page, column, or row. The format of the command is:
0! LPUB RESERVE <float>

The value is a number between 0 and 1 or 1 represents 100% of the height or width of the page. The height is taken into account if the steps are in columns and the width if they are in rows. This meta-command must be placed immediately after a command:
STEP

Example:

...
1 cxyz 1 0 0 0 1 0 0 0 1 partA.dat
0 STEP
0 ! LPUB RESERVE 0.3
1 cxyz 1 0 0 0 1 0 0 0 1 partB.dat
...

This results in an additional 30% space between these steps.

0 !LPUB RESOLUTION<integer> (DPI|DPCM)
0 !LPUB ROTATE_ICON ARROW (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB ROTATE_ICON BACKGROUND (TRANSPARENT|SUBMODEL_BACKGROUND_COLOR|COLOR <“color”>|GRADIENT <mode spread type size[0] size[1] angle “points” “stops”>|PICTURE (STRETCH) <“picture”>)
0 !LPUB ROTATE_ICON BORDER (NONE <line> |SQUARE <line> <color> <thickness>|ROUND <line> <color> <thickness> <radius>) MARGINS <x> <y>
0 !LPUB ROTATE_ICON DISPLAY <TRUE|FALSE>
0 !LPUB ROTATE_ICON MARGINS <float> <float>
0 !LPUB ROTATE_ICON PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB ROTATE_ICON PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB ROTATE_ICON PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB ROTATE_ICON SCALE <float>
0 !LPUB ROTATE_ICON SIZE <float> <float>
0 !LPUB STEP_NUMBER FONT <“string”>
0 !LPUB STEP_NUMBER FONT_COLOR <“string”>
0 !LPUB STEP_NUMBER MARGINS <float> <float>
0 !LPUB STEP_NUMBER PLACEMENT (TOP|BOTTOM) (LEFT|CENTER|RIGHT) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB STEP_NUMBER PLACEMENT (LEFT|RIGHT) (TOP|CENTER|BOTTOM) (PAGE|ASSEM (INSIDE|OUTSIDE)|MULTI_STEP|STEP_NUMBER|PLI|CALLOUT)
0 !LPUB STEP_NUMBER PLACEMENT (TOP_LEFT|TOP_RIGHT|BOTTOM_LEFT|BOTTOM_RIGHT) (PAGE|ASSEM (INSIDE|OUTIDE)|MULTI_STEP|STEP_NUMBER|PLI|ROTATE_ICON|CALLOUT)
0 !LPUB STEP_PLI PER_STEP <TRUE|FALSE>
0 BUFEXCHG <bufferName> <STORE|RETRIEVE>
0 CLEAR

CLEAR statements erase from the screen any elements that preceed them.

The basic functioning is:

Step 1 – Add some parts

Step 2 – Add more parts

Step 3 – CLEAR the screen and add more parts

What is this good for? When building instructions, it allows us to show how
to build separate modules and then how to put them together at the end. Yes,
I know – you can achieve this automatically using MPD files. This is just
another way. Also, CLEAR statements usueally mean that parts have to be
copied again in latter steps – not very efficient.

But if you look at the bright side, CLEAR allows us to create animations
directly in MLCad – place each frame in a separate STEP with a CLEAR
statement at the beginning. Using MLCads’ robust export options and maybe
even the post-processor screen and you will be doing movies without leaving
MLCad.

0 MLCAD BTG <“string”>
0 MLCAD SKIP_BEGIN
0 MLCAD SKIP_END
0 ROTSTEP <rotX> <rotY> <rotZ> <ABS|REL|ADD>
0 STEP
0 SYNTH BEGIN
0 SYNTH CROSS
0 SYNTH END
0 SYNTH HIDE
0 SYNTH INSIDE
0 SYNTH OUTSIDE
0 SYNTH SHOW
0 SYNTH SYNTHESIZED