Application of ActiveX Technology in Tool CAD (2)
4 application examples
Take the typical complex tool CAD system developed by Luzhou University as an example. The system uses VB as the development platform, and successfully integrates the calculation program and the drawing program by using ActiveX technology. The reference to the AutoCAD type library in the project is described in the previous section. Here only how to set up AutoCAD program objects and document objects, and how to manipulate AutoCAD entity objects. The interface of the tool CAD system is shown in Figure 5.
The system automatically calculates the results after entering the known condition parameters and selecting the calculation options in the Tools menu. If the calculation is passed, you can select the drawing option of the tool menu to generate the tool graphic. In this menu option, use the following code to implement the join with the AutoCAD application and generate the tool graphic entity:
Previous page
Weight Indicator,Scale Indicator,Stainless Steel Indicator,Weighing Indicators
Changzhou Weibo Weighing Equipment CO .,LTD , https://www.webowt-scale.com