CAD technology: Zhongwang CAD+ secondary development depth meets user needs

Engineers using CAD know that in complex CAD problems or special-purpose designs, using the functionality of the original software is often difficult to solve, or it takes a lot of effort and time to complete the required content. In this case, if the API function of CAD is used, the customization and secondary development of the software according to the special use of the customer can greatly improve the efficiency of drawing and deeply meet the requirements of the enterprise.

Among many CAD softwares, Zhongwang CAD+ is a platform software that can provide professional customized solutions for enterprises efficiently and conveniently. This is due to the rich and unique development tools of Zhongwang CAD+: LISP, VBA, ZRX and .NET. Among them, LISP and VBA development is relatively simple, but compared to ZRX, the function will be insufficient. ZRX development is based on the VC platform, using C++ language, can make good use of object-oriented technology, powerful, but requires high developer capabilities and slow development speed.

For LISP, Zhongwang CAD+ provides more than 95% of AutoCAD's functions. Compared with the previous Zhongwang CAD, it mainly supports more kinds of reactors and permanent reactors, and also adds engineering configuration and functions to interact with ZRX. At the same time, there is a substantial increase in the speed of operation, run the following example:

(defun test ()

(setq a 1

b 1

c 1

i 0

)

(while (< i 1000000)

(setq a (+ a 1)

b (+ b 1)

c (+ c 1)

i (+ i 1)

)

)

)

(defun gt () (* 86400 (getvar "tdusrtimer")))

(defun tt ()

(setq t1 (gt))

(test)

(princ " time:")

(princ (- (gt) t1))

)

(tt)

The program repeats some simple operations and records the running time. The results are as follows:

As can be seen from the above results, Zhongwang CAD+ has obvious advantages in terms of computational efficiency compared to the previous Zhongwang CAD, and is close to the level of AutoCAD.

VBA is a relatively small change in Zhongwang CAD+. It mainly repairs the original problem and is much more comfortable to use than Zhongwang CAD. For the program developed by ZRX, the first advantage it feels is its compatibility. Basically, the functions commonly used in ARX can be transplanted smoothly, even simpler than VBA. In terms of specific applications, Zhongwang Software also developed large professional applications such as mechanical version and architectural version with ZRX. CASS, Lizheng and other plug-ins in AutoCAD have also been successfully transplanted. When you use it for a while, you will feel the efficiency improvement, and the improvement of the refresh mechanism and the optimization of memory usage will allow developers to experience it.

From the middle of the CAD+2014 version, support for .NET, developers can use the .NET language to support the development of .NET, such as VB.NET, C# and Managed C++. .NET combines the power of VC++ and the easy-to-learn and easy-to-use features of VBA or Lisp. It can quickly develop powerful applications and is a completely object-oriented development method. .NET uses a garbage collection mechanism. The .NET framework determines the timing of memory reclamation and implements recycling, thus solving the memory leak problem that C++ programmers have headaches. At the same time, .NET encapsulates better classes and controls to quickly create a friendly interface. Zhongwang CAD+'s support for .NET is very valuable to developers.

Summary: The secondary development function of CAD software is an important part of CAD. The good API interface makes the CAD function expansion field wider and realizes the special needs of users. The interface of Zhongwang CAD+ is relatively mature. Users can transplant their original secondary development program to Zhongwang CAD+, or they can directly develop it on the middle. It is believed that the expected effect will be achieved. Click this page to download the latest CAD+ latest platform software for free!

About Zhongwang:

Guangzhou Zhongwang Longteng Software Co., Ltd. is the only national key software enterprise in the CAD industry. It is the world's leading supplier of CAD/CAM software and one of the few software vendors in the industry who have mastered CAD core technology. The main product is CAD and medium. Wang CAD mechanical version, Zhongwang CAD building version and industry overall solution are sold in more than 80 countries and regions, with more than 320,000 genuine users worldwide.

Zhongwang CAD+ is a software product of Guangzhou Zhongwang Digital Design Software Co., Ltd., a subsidiary of Zhongwang Software.

Chainsaw

Electric Chain Saw,Hand Held Chain Saw,Lithium Battery Electric Saw,Electric Cordless Chainsaw

Dtmade Manufacturing Co., LTD , https://www.dtmade.com