################## omc-variations.lsp ################## Variations and shortcuts to standard commands with very little additional logic, if any. ******** Commands ******** EG == ZERO ==== PURGE\-HATCH ============ BK == Break command with prompt for only one point used as first and second break points. L= == Unlock, thaw, turn all layers on and regenerate. L\+ === Shortcut to command ``laythw``. L\- === Shortcut to command ``layfrz``. LK == Shortcut to command ``laylck``. ULK === Shortcut to command ``layulk``. IL == Shortcut to command ``layiso``. UIL === Shortcut to command ``layuniso``. LU == Shortcut to command ``layuniso``. O5 == Enable Osnap modes Endpoint, Midpoint, Center, Node and Intersection. O6 == Enable Osnap modes Endpoint, Midpoint, Center, Node, Intersection, and Nearest. O7 == Enable Osnap modes Endpoint, Midpoint, Center, Node, Intersection, Nearest and Quadrant. O8 == Enable Osnap modes Endpoint, Midpoint, Center, Node, Intersection, Nearest, Quadrant and Perpendicular. RCR === RFA === Shortcut to the add option of ``refset`` command. RFC === Shortcut to the save option of ``refclose`` command. RFE === Shortcut to ``refedit`` command. RFR === Shortcut to the remove option of ``refset`` command. VP\-RESET ========= Reset layer states of all viewports. ZS == Zoom to object and to specified scale. ********* Functions ********* (**omc\-doc\-open**) (**omc\-zero\-entity** *entity\-data*) (**omc\-apply\-to\-block** *func* *insert* *visited*) Redefine blocks modifying each entity with the result of calling *func* with the entity data. Redefines all nested blocks recursevely. (**omc\-ssget** *msg* *method* *filter*) Prompt selection with a custom message and return a selection set. This function uses ``NOMUTT``, so you lose the interaction messages for selection method and for addition to and removal from the selection set, but it prints a message with the total at the end. You can still use all selection methods interactively as with ``ssget``, you just won't see the messages. You may pass ``nil`` to both the method and filter arguments. (**omc\-ssunion** *selection\-sets*) Return a new selection set that is the union of all selection sets in sslist. (**omc\-sleep** *seconds*) ************************ Functions called on load ************************ * **princ**