13.6 Common CAD commands and notes
13.6.1 Multi polyline merging
Please enter the commands "pe", "m" in sequence, select the merged polylines and enter the commands "j".
13.6.2 Complete a closed polyline area based on the centerline offset
Please enter the commands in sequence: "o", specify the distance, select the centerline, and specify a point above it; Please select the centerline and specify a point below it and delete the centerline (as needed), connect the upper and lower offset lines with polylines, and merge them using the "pe" command.
13.6.3 Save the specified layer as a dwg again
①Please open the layer manager, open the corresponding layer, and close others;
②Please select all elements with the mouse;
③Please enter the "wblock" command.
13.6.4 Create transformer block
①Please create a new rectangle first;

②Please select the rectangle created, enter "b" and enter name: "Transformer";

③Please right click the "Block Editor" button;

③Please Define block attributes;


④Other attributes can also be added as needed (not mandatory).
| Marking | Prompt | Default | Describtion |
| Transformer capacity | Transformer capacity | 3150 | The capacity of the transformer is "kVA" |
| Combine | Electrical connection | 2 | 0~3 respectively represent the four types of electrical connection modes for dividing the interface of power blocks |
⑤Please close the block editor and save. Enter the "battman" command to synchronize.

13.6.5 Quickly select all certain elements (Taking 3D polylines as an example)
Please Select "Tools" ->"Quick Select" from the menu bar, choose "Whole Shape", "3D Polylines" in the interface and select "Select All", then click "OK" to select all 3D Polylines in the image.

13.6.6 Delete unused blocks
In some cases, users have already deleted all the elements of a certain layer, but still cannot delete that layer because there are block definitions that have not been deleted.
The delete method is as below:
(1)Please select: File - Drawing Utilities -> Purge ("PU" command)

(2)Please refer to the following diagram for operation

13.6.7 Move CAD elements from specified points to origin
(1)Please enter command "m";
(2)Please select object
(3)Please click on the first moving base point with the mouse
(4)Please enter the position to move to, such as: "0,0"
13.6.8 Move the origin of CAD elements from (0,0) to the specified point
(1)Please obtain the minimum X and Y values of the topographic map, and refer to the relevant description in section "Coordinate Correction" for the method of obtaining them. If the minimum X and Y values of the topographic map have been recorded before, they can be used directly without the need to obtain them again;
(2)Please enter the command "m" and press "Enter" key;
(3)Please enter the command "@ 0,0", press "Enter" key, "@ MinX, MinY", press Enter" key (replace minimum X and Y values with the previously obtained values of minimum X and Y values for this terrain map).
(4) At this point, the topographic map has been moved back to its original geodetic coordinates, but due to the distance of movement, it has left the current view. Users can enter "Z", enter "A", or click the mouse wheel to move the view to the topographic map.