How to load LISP program in Zhongwang CAD

The emergence of CAD has brought great convenience to our drawing work. With the continuous refinement of work, the requirements of CAD for designers are constantly enhanced. Some functions required in the work are in CAD software. Not provided, in this context, directly led to the emergence of LISP programs.

LISP is one of the four interfaces provided by Zhongwang CAD. Designers can use this interface to hook up their own LISP programs. The specific hooking methods are as follows:
1, first load the lisp program, the loading method is as follows:
In the menu bar, select Tools - Load Application - Add, select the lisp program and load it, then select Add to Startup Group. (Other lisp makes the loading the same way)

2, then add a custom bar and icons, the method is as follows (take the coordinates as an example, the rest of the operation is the same):
Right-click in the blank area at the top right of the software and select Customize - Toolbar - New - (Modify Name) to determine (the following operations are performed without closing the customization).
A blank toolbar will appear below the left layer toolbar.



Then in the command, just find an icon (such as new, open, etc., for example), drag it into the newly created blank toolbar, right click and drag the icon in the blank toolbar, and select Modify.


In the pop-up dialog box, there are three names, commands, and descriptions that can be modified.


Change the command "^C^C_new" to "^C^C_zbbz", change the name to "coordinate label", and then confirm. Right click on this icon again and select Edit button image, the last command icon in the tool column, Import From File.


Select the icon corresponding to the coordinate label to open and confirm.

3. After using the custom toolbar, you may need to export these toolbars to other colleagues. This is the method to export, export and import the toolbar as follows:
Export: After customizing the toolbar, select the tool - Custom - Toolbar and then export, in the option box will be the custom tick, other icons do not select, otherwise there will be duplicates, then OK, select XML The toolbar file (xml) format is saved.


Import: Load Toolbar File: Select Tools - Customize - Toolbar, select Import, File Type Select XML Toolbar File (xml), select and open.

The points to note are: Other commands operate in the same way as above. The folder where the lisp program and the image are loaded is a fixed folder and cannot be modified. Otherwise, the command cannot be called. After loading the lisp program, you must select Add to the startup group. ", otherwise the software can not load this lisp program after starting.
The above is the specific hooking method for loading LISP program in Zhongwang CAD. In addition to LISP, Zhongwang CAD also provides VBA, SDS and DRX (ARX-like) interfaces, users can optimize and improve software usage functions according to their own requirements. , the way, the launch of Zhongwang CAD2009, the expansion interface of Zhongwang CAD, especially the DRX interface is more perfect, and has been successfully applied to the cooperation with Tianhe Software, Tsinghua Swell Building, Hongye HVAC Water Supply and Drainage, etc. go with. I believe that Zhongwang CAD will become more and more mature to meet the individualized professional needs of various enterprise users.

Mosaic Kits

C&K MOSAIC , https://www.cnkmosaics.com