CN102693281B - AUTOCAD-based method for generating auxiliary line in PDMS - Google Patents

AUTOCAD-based method for generating auxiliary line in PDMS Download PDF

Info

Publication number
CN102693281B
CN102693281B CN201210134568.3A CN201210134568A CN102693281B CN 102693281 B CN102693281 B CN 102693281B CN 201210134568 A CN201210134568 A CN 201210134568A CN 102693281 B CN102693281 B CN 102693281B
Authority
CN
China
Prior art keywords
pdms
lines
autocad
boost line
coordinate information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210134568.3A
Other languages
Chinese (zh)
Other versions
CN102693281A (en
Inventor
罗小华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Nuclear Power Engineering Co Ltd
Original Assignee
China Nuclear Power Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Nuclear Power Engineering Co Ltd filed Critical China Nuclear Power Engineering Co Ltd
Priority to CN201210134568.3A priority Critical patent/CN102693281B/en
Publication of CN102693281A publication Critical patent/CN102693281A/en
Application granted granted Critical
Publication of CN102693281B publication Critical patent/CN102693281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an AUTOCAD-based method for generating an auxiliary line in a PDMS. Firstly, according to the auxiliary line required in the PDMS, needed lines are created and selected in the AUTOCAD and coordinate information of the lines is acquired. Then, the coordinate information of the lines is outputted and is stored in an auxiliary-line format that the PDMS can distinguish. Finally, a file is directly called in the PDMS, so that the lines are introduced into the PDMS and the generation of the auxiliary line in the PDMS is finished, wherein the file is stored in the auxiliary-line format that the PDMS can distinguish. The method of the invention generates the auxiliary line required in the PDMS through the AUTOCAD, and for PDMS calling outputs the coordinate information of needed lines in the auxiliary-line format that the PDMS can distinguish. The method is simply realized, and greatly improves the efficiency in creating auxiliary lines in the PDMS.

Description

A kind of generation method based on boost line in the PDMS of AUTOCAD
Technical field
The present invention relates to the generation technique field of boost line in PDMS, be specifically related to a kind of generation method based on boost line in the PDMS of AUTOCAD.
Background technology
PDMS (Plant Design Management system) i.e. factory's three dimensional arrangement design management system, it is the flagship product of CADCentre company of Britain, since first PDMS business version in 1977 is issued, PDMS just becomes large-scale, the first-selected design software system of complex plant design item.
Due in PDMS operating environment, the location of object often needs to create boost line and just can carry out, the establishment of boost line is then work the most loaded down with trivial details in PDMS, work efficiency is low, such as when the boost line of designated length needing an establishment optional position, first by calculating the coordinate of starting point and terminal, then the coordinate in XYZ tri-directions must be inputted respectively in the starting point and terminal list of boost line dialog box, altogether needing seven steps.And in this process, the most time-consuming is exactly that coordinates computed is (especially loaded down with trivial details and consuming time when needing to create oblique straight line, Many times also needs AUTOCAD to assist setting-out just can obtain coordinate on the contrary), secondly other several steps rely on mouse click menu and object operates all substantially, and need input through keyboard rectilinear direction, efficiency comparison is low, if meet many boost lines, then needs multiple exercise similar operations.
In AUTOCAD, be then easy to the straight line that can create a designated length in any position, copy, move, offset, rotate, to revise this straight line also very simple.AUTOCAD as numerous staff the program be familiar with, left-hand seat is easy, and meanwhile, AUTOCAD also has an advantage to be exactly can batch processing object.Therefore, in conjunction with AUTOCAD, the object in PDMS is positioned and well can improve its work efficiency.From AUTOCAD, boost line is imported PDMS, the thinking and countermeasure realized at present is all cad data is converted to the discernible form of PDMS, but effect is unsatisfactory in practical operation, ease for use and execution efficiency.The present invention, just for the problems referred to above, proposes a kind of AUTOCAD of utilization carries out quick position method to the object in PDMS, improves the work efficiency of objects location in PDMS.
Summary of the invention
For the defect existed in prior art, the object of the present invention is to provide a kind of generation method based on boost line in the PDMS of AUTOCAD, realize the quick generation of boost line in PDMS, increase work efficiency.
For achieving the above object, the technical solution used in the present invention is as follows:
Based on a generation method for boost line in the PDMS of AUTOCAD, comprise the following steps:
(1) according to boost line required in PDMS, create in AUTOCAD and lines required for selecting;
(2) obtain the coordinate information of described lines, described coordinate information comprises starting point and the terminal point coordinate of lines;
(3) coordinate information of described lines is preserved with the discernible boost line formatted output of PDMS;
(4) in PDMS, call the described file preserved with the discernible boost line form of PDMS, lines are imported in PDMS.
Further, a kind of generation method based on boost line in the PDMS of AUTOCAD as above, in step (1), the number of described lines is one or more of.
Further, a kind of generation method based on boost line in the PDMS of AUTOCAD as above, in step (2), described coordinate information comprises starting point and the terminal point coordinate in lines XYZ tri-directions.
Further again, a kind of generation method based on boost line in the PDMS of AUTOCAD as above, in step (3), exports by the coordinate information of described lines with the character-serial of the discernible boost line format command of PDMS and preserves.
Beneficial effect of the present invention is: method of the present invention, realize based on AUTOL I SP language development, boost line required in PDMS is generated by AUTOCAD, and the coordinate information of required lines is called for PDMS with the discernible boost line formatted output of PDMS with PDMS identifiable design, the method realizes simple, substantially increases in PDMS the efficiency creating boost line.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of generation method based on boost line in the PDMS of AUTOCAD of the present invention;
Fig. 2 is the lines schematic diagram created in AUTOCAD in embodiment;
Fig. 3 is the schematic diagram of the boost line generated in PDMS by the method for the invention in embodiment.
Embodiment
Below in conjunction with Figure of description and embodiment, the present invention is described in further detail.
Fig. 1 shows the process flow diagram of a kind of generation method based on boost line in the PDMS of AUTOCAD of the present invention, and the method mainly comprises the following steps:
Step 511: create in AUTOCAD as required and lines required for selecting;
In PDMS operating environment, the location of object often needs to create boost line and just can carry out, and the establishment of boost line is then work the most loaded down with trivial details in PDMS.A kind of generation method based on boost line in the PDMS of AUTOCAD that method of the present invention proposes for this problem just.First, according to boost line information required in PDMS, in AUTOCAD, these lines are generated.Because be easy to create the lines of designated length in AUTOCAD, and can batch processing, so the lines required for one or more can be generated in step as required, as shown in Figure 2, by generating many lines in AUTOCAD.
Step S12: the coordinate information obtaining lines;
In obtaining step S11 generate the coordinate information of lines, namely the starting point of lines and terminal point coordinate, comprise starting point coordinate (x1, y1, z1) and the terminal point coordinate (x2, y2, z2) in lines XYZ tri-directions.The coordinate information obtaining lines is because when creating the boost line of the designated length of an optional position in PDMS, must first by calculating the coordinate of starting point and terminal, and in the generative process of boost line, the most time-consuming is exactly coordinates computed, utilize AUTOCAD to complete the establishment of lines in the present invention, and in AUTOCAD, be easy to the coordinate information getting lines.
Step S13: the coordinate information of lines is preserved with the discernible boost line formatted output of PDMS; Complete the establishment of lines and after obtaining the coordinate information of lines, the coordinate information of lines is being preserved with the discernible boost line formatted output of PDMS.Such as, by above-mentioned starting point coordinate (x1, y1, and terminal point coordinate ((x2 z1), y2, z2) with the form of the character-serial AID LINE E x1N y1 U z1 T0 E x2 N y2 U z2 of the discernible boost line format command of PDMS be saved in file D: in PDMS_AID.TXT.
Step S14: call the file preserved with the discernible boost line form of PDMS in PDMS, lines are imported in PDMS.
Owing to the coordinate information of lines being preserved with the discernible boost line form of PDMS in step S13, so directly can realize the importing of boost line in this step by calling the above-mentioned file preserved with the discernible boost line form of PDMS in PDMS.Namely can again in the order line of PDMS input command MD: PDMS_AID.TXT import boost line, as shown in Figure 3.
The present invention is the program using AUTOLISP language development, only comprises single FAS file (the type file is the distinctive executable file of AUTOCAD program).After perform this program in AUTOCAD, the coordinate information of required lines can be extracted and be write as a PDMS and can identify that boost line descriptor format is for calling.This program can be widely used in any project that ACP1000, AP1000, M310 heap-type etc. uses PDMS platform.Under normal circumstances, for the boost line creating general complexity, this program can be increased work efficiency many times.Such as, the PDMS modeling work of certain factory building, if with traditional approach about two months consuming time, then can complete at about one week by this program.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technology thereof, then the present invention is also intended to comprise these change and modification.

Claims (4)

1., based on a generation method for boost line in the PDMS of AUTOCAD, comprise the following steps:
(1) according to boost line required in PDMS, create in AUTOCAD and lines required for selecting;
(2) obtain the coordinate information of described lines, described coordinate information comprises starting point and the terminal point coordinate of lines;
(3) coordinate information of described lines is preserved with the discernible boost line formatted output of PDMS; By the coordinate information of described lines in the mode of the discernible boost line formatted output of PDMS be: the program using AUTOLISP language development in AUTOCAD, this program only comprises single FAS file, after perform this program in AUTOCAD, the coordinate information of described lines is extracted the boost line descriptor format write as a PDMS and can identify;
(4) in PDMS, call the described file preserved with the discernible boost line form of PDMS, lines are imported in PDMS.
2. a kind of generation method based on boost line in the PDMS of AUTOCAD as claimed in claim 1, it is characterized in that: in step (1), the number of described lines is one or more of.
3. a kind of generation method based on boost line in the PDMS of AUTOCAD as claimed in claim 1 or 2, it is characterized in that: in step (2), described coordinate information comprises starting point and the terminal point coordinate in lines XYZ tri-directions.
4. a kind of generation method based on boost line in the PDMS of AUTOCAD as claimed in claim 1, it is characterized in that: in step (3), the coordinate information of described lines is exported with the character-serial of the discernible boost line format command of PDMS and preserves.
CN201210134568.3A 2012-05-02 2012-05-02 AUTOCAD-based method for generating auxiliary line in PDMS Active CN102693281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210134568.3A CN102693281B (en) 2012-05-02 2012-05-02 AUTOCAD-based method for generating auxiliary line in PDMS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210134568.3A CN102693281B (en) 2012-05-02 2012-05-02 AUTOCAD-based method for generating auxiliary line in PDMS

Publications (2)

Publication Number Publication Date
CN102693281A CN102693281A (en) 2012-09-26
CN102693281B true CN102693281B (en) 2015-05-06

Family

ID=46858715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210134568.3A Active CN102693281B (en) 2012-05-02 2012-05-02 AUTOCAD-based method for generating auxiliary line in PDMS

Country Status (1)

Country Link
CN (1) CN102693281B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462643A (en) * 2014-10-28 2015-03-25 张红军 Three-dimensional space processing system based on computer processing
CN105631058A (en) * 2014-10-28 2016-06-01 张红军 Three-dimensional space processing method based on computer processing
CN104573179A (en) * 2014-12-01 2015-04-29 艾法能源工程股份有限公司 Generating method for corrugated board based on AUTOCAD in PDMS (Plant Design Management System)
CN104484512A (en) * 2014-12-01 2015-04-01 艾法能源工程股份有限公司 Pattern generation method based on AUTOCAD in PDMS (plant design management system)
CN104536732A (en) * 2014-12-09 2015-04-22 南京梅山冶金发展有限公司 Drill jumbo medium length hole data reading method
CN106547997B (en) * 2016-12-08 2020-01-14 京能十堰热电有限公司 PDMS auxiliary line-based closed line segment group searching method
CN108345440A (en) * 2017-01-22 2018-07-31 亿度慧达教育科技(北京)有限公司 A kind of method and its device of the geometric figure auxiliary line of display addition
CN109858087B (en) * 2018-12-26 2021-03-26 中冶南方都市环保工程技术股份有限公司 Electrical pipeline laying collaborative design method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346797A (en) * 2011-09-20 2012-02-08 北京伟熙华高新科技有限公司 Three-dimensional design method and system for nuclear powder support hanger

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346797A (en) * 2011-09-20 2012-02-08 北京伟熙华高新科技有限公司 Three-dimensional design method and system for nuclear powder support hanger

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
总图三维模型创建及与PDMS接口设计探讨;刘杰等;《价值工程》;20110906;第30卷(第16期);第46页 *
新一代三维工厂设计管理系统软件的开发;李国斌;《第十四届全国工程设计计算机应用学术会议论文集》;20081106;第381-387页 *

Also Published As

Publication number Publication date
CN102693281A (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN102693281B (en) AUTOCAD-based method for generating auxiliary line in PDMS
CN115293751B (en) Method, system and equipment for processing BIM model data of rail transit
CN103593456A (en) Form user-defined design method and device
CN103761357A (en) Method for making feature modeling system on the basis of extensive markup language (XML) in unigraphics (UG) environment
CN106709985B (en) Virtual sacrifice three-dimensional scene generation method and device
CN105447246A (en) Method and system for generating electrical principle diagram through one key
CN108829653A (en) A kind of generation method of report, device, equipment and medium
WO2024045615A1 (en) Automatic labeling method and system for pipeline three-dimensional building information modeling
CN102831281B (en) The aided modeling method in two-dimensional working face is set up in GOCAD software
CN102929853A (en) DCS (Data Communication System) project data generating system and method based on Excel sheet association
CN103870540A (en) Database based on structural design and analysis integration
CN109388812B (en) Cloud computing-based modular automatic plotting method and system
CN103258014A (en) Method for working out production plan through network diagram
JP5923604B2 (en) Method and system for generating instructions in accordance with changes in font outline
CN106557312B (en) Program development support device and program development support software
CN108762750A (en) A kind of visualization interface generation method and system based on FMP models
Bocevska et al. An example of application design using solidworks application programming interface
CN111126012B (en) Custom generation expression method and device
CN116643745A (en) Code development method, device and equipment
CN113126866A (en) Object determination method and device, electronic equipment and storage medium
CN113051651A (en) Materialization expression method of steel bar broken material node information
CN101872467A (en) Special scale computer drawing method for scutcheon
CN112346736A (en) Data processing method and system
WO2015172401A1 (en) Inter-program communication and reprograming software design, implementation and man-machine interaction method
US20240070360A1 (en) Simulation system for a cylindrical 3-dimensional semiconductor device using a hybrid mesh and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant