Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Batch processing method of cad drawing information based on objectarx

A technology for drawing information and batch processing, which is applied in the field of batch processing of CAD drawing information based on ObjectArx, which can solve the problems of automatic updating of drawing information that are difficult and easy to maintain, and achieve the effect of convenient and intuitive editing or saving, and simple and convenient maintenance

Active Publication Date: 2015-12-16
JSTI GRP CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above two projects will bring considerable duplication of labor when many drawings need to be edited, and it is difficult to maintain and automatically update drawing information

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Batch processing method of cad drawing information based on objectarx

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] A kind of CAD drawing information batch processing method based on ObjectArx of the present invention, comprises the following steps:

[0034] S1, load the program through the APPLOAD command in AutoCAD;

[0035] S2. Perform general settings, including specifying the feature frame, the relative position of the information item on the feature frame, the page number format and the labeling scale;

[0036] S3, add CAD file, CAD drawing is filled in the file list box;

[0037] S4, fill in the chart information in the chart information list box;

[0038] S5. Open the CAD drawing, save the polyline entity ID conforming to the characteristics of the feature frame in the TKArray array, and judge whether the feature frame in the TKArray array is attached with CTKInfo, if it is, then do not add it, if not, then give the feature map box append CTKInfo;

[0039] S6. Sort the TKArray array according to the X coordinates of the corner points of the polyline, so as to arrange the p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a CAD (computer-aided design) drawing information batch processing method based on ObjectArx. The CAD drawing information batch processing method comprises the following steps: opening a CAD drawing, storing a polyline entity ID (identity) according with feature drawing frame features into a TKAarray array, judging whether CTKInfo is attached to the feature drawing frame in the TKAarray array, if so, not adding, and otherwise, adding CTKInfo to the feature drawing frame; ordering the TKAarray array according to an X coordinate of a polyline angle point so as to arrange page numbers according to the order; orderly reading drawing information items in a chart-information list box, filling into the CTKInfo of the feature drawing frame in the opened CAD drawing, and adding related label information to a preset position according to the preset Scale. According to the invention, the CTKInfo is customized by expanding a CAD object; the drawing information batch processing function is achieved; the functions such as drawing information batch filling, compiling, labeling and automatic arranging of the drawing page number are included, and the CAD drawing information batch processing method has the characteristics of good modularity, strong independence, simple connection, use convenience and efficient internal function, strong code reusability and the like.

Description

technical field [0001] The invention relates to the technical field of secondary development of AutoCAD, in particular to a batch processing method for CAD drawing information based on ObjectArx. Background technique [0002] Currently mainstream AutoCAD secondary development tools (API interface) mainly include ObjecArx\ActiveXAutomation\VisualLISP. Among them, ObjectArx is a development software package launched by AutoDesk for the secondary development on the AutoCAD platform. It provides an object-oriented development environment and application program interface based on C++, and can access the AutoCAD graphics database really quickly. Compared with other development tools, ObjectArx has the following advantages: [0003] 1. ObjectArxAPI is an object-oriented development environment and application program interface based on C++ language. The ObjectArx program is essentially a Windows dynamic link library (DLL) program, which shares the address space with AutoCAD and c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44
Inventor 付利刚李小利
Owner JSTI GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products