Utilities
Included utilities can be started from the command line using the shortcuts shown in the table below.
The equivalent command as shown on the menu is listed along with a description of the function.
Shortcut commands are defined in the file Auto_Load.LSP located in the PlantManager installation directory.
This can be opened in a text editor like notepad and the shortcuts modified to avoid conflicts as required.
| Shortcut | Command | Description |
|---|---|---|
| a | Polyline Arc | Starts polyline arc creation. First indicate the starting direction of the arc then add new segments tangent to the previous segment. |
| art | Quantity Tool | Calculates the cumulative areas / length / perimeter of all selected objects. You can filter the selection by specifying a layer prior to making a selection. |
| bp | Boundary polyline | Pick a point within a closed area (surrounded by lines etc) and a polyline will be drawn around the perimeter. |
| bpo | Polyline offset | Does the same as above except you can specify the offset of the new polyline from the surrounding edges. |
| j | Join | Join two or more lines or polylines together without going through the PEDIT command. Assumes some fuzz distance so endpoints may be joined if not meeting exactly! |
| ll | Layer Linetype | enter a (Bylayer) linetype to to apply to the current layer |
| lo | Leave On | Select a layer to leave on and turn all other layers off. Layer visibility is saved and can be restored with the ‘ol’ command. (This is a shortcut for the native ‘Layiso’ command for versions which support the command. ) |
| ol | On Layers | Restores previous state (Shortcut for ‘Layuniso’) |
| lc | Layer Colour | Select a colour to be applied (Bylayer) to the current layer from a dialog box. |
| lm | Layer Make | Short cuts the command line version |
| off | Turn Off | Select layers to turn off. You can turn off layers within Xrefs and Blocks. A list of the currently selected layers is built up and is listed at the command line. This command can also be used in Paper Space to select objects in a viewport which are to be frozen in that viewport only. (This is a shortcut for the native ‘Layoff’ command) |
| on | Turn back on | Turn layers previously turned off back on. (Shortcut for native ‘Layon’ command) |
| sl | Set Layer | Set the current layer to that of the selected entity. |
| mb | Measure Block | Set out blocks on a line/polyline/arc/circle etc. by specifying a block and distance between each. To set out PM objects on a linear element, set the desired block current in the palette before using the command. |
| db | Divide Block | Same as above but uses the divide command. |
| msc | Model Scale | Reports and sets the viewport scale (Easier than Zoom XP….) |
| sca | Plotting Scale | Sets text height for labels and schedules based on the specified plotting scale. |
| trs | Tree Substitute | Substitute one tree for another |
| top | Two Point | Given two survey points and their elevations, this routine will place a POINT at the calculated position of a given elevation between these two survey points. Note the point will be placed with a z (elevation) value. (Credit: Alan Williams) |
| grd | Grade | A simple grading utility – pick a point with a known level and specify the grade as a percentage to a new point. Pick the new point on the screen and a text label is created with the value of the new level using the default text style and height. |
Other command line utilities
| Command | Description |
|---|---|
| badd | Add a block to an existing labelled array by picking the new block/s and then selecting the existing label |
| pmaudit | Run the pmaudit utility to check the drawing for errors |
| pmkeyname | Opens a dialog to specify the key characters to be included in the generation of key names during import. When running this command, the checkbox included at the lower left of the dialog can be set to apply key name changes to the current list, updating any drawing objects in the process. |
| mcp | Open the Move / Copy dialog to drag and drop items from one list to another |
| tpz | Command to open the tree protection zone calculator |
| pmtstyle | This command sets a custom tablestyle for schedules. If not set, a default name is generated automatically |
| offscale | Controls the scale factor for planting boundary offsets during plant area placement and labelling – default is 1. This is also set in the options tab |
| pmplaces | Sets the number of decimal places displayed in area calculations – default is 1 |
| symalign | Controls the symbol alignment in schedule columns – Middle (Default) or Top |
| pmset | Sets the selected plant or finish current, enabling subsequent assignment or insertion of the same item |
| assetexp | Exports drawing finish treatment data defined in geometry and its associated data in the fields named A_Amenity, A_Material, A_Cost, A_Completed, A_Comments and A_Asset |