Wire labeling
Shown here is the running process and results of a lisp program for wire labeling. The custom function mydcl is used to label each point of the wire (polyline), and the label layer can be displayed and hidden.
1 Load the lisp program
1.1 lisp program loading process
Tools->AutoLisp->Load Application
1.2 Load lisp program
Select .lsp or .fas or .vlx file -> click Load -> show that it has been successfully loaded...
2 Run the lisp command
2.1 Enter the command mydcl (custom function)
2.2 Enter the path where the lisp program is located
3 Program running results
3.1 Pop-up wire labeling dialog box (custom)
3.2 Select the wire to be marked
3.3 Click OK
3.4 Program running results
Each point of the polyline is labeled with the serial number and coordinates; and the odd-numbered point is labeled as 2 triangles, and the even-numbered point is a circle and a triangle.
4 Hiding and showing the label layer
4.1 Hide label layer
Enter the dimoff (custom) command, the
label layer is hidden
4.2 Labeling layer display
Enter the dimon (custom) command and the
label layer is displayed