Method for generating list based on AM secondary development statistical graph piping insulationTechnical Field
The invention relates to the technical field of software development, in particular to a method for counting an insulation generation list of a picture piping system based on AM secondary development.
Background
The pipeline insulation plays an important role in sealing and preventing electrochemical corrosion in long-distance pipelines, is widely applied to ships, and has various types and huge number, so that the insulation disassembly and assembly work becomes a labor-consuming item in ship construction and maintenance.
The method has the advantages that an insulation list is needed in field work, the list is often manually counted and sorted at present, the method is low in efficiency, high in error rate and incapable of being updated in time, if a computer program is used, each segment can be rapidly identified in the design stage, the number of areas needing insulation can be reduced, the more accurate list can be provided for a production workshop earlier, the method has very important guiding significance for facilitating field construction and ensuring the construction progress, meanwhile, a large amount of manual counting time of a technical department can be saved, and the problem that manual counting is inaccurate due to source data updating can be avoided.
The software AVEVA MARINE (AM for short) is largely used in the shipbuilding industry, and the AVEVA Marine is a software series product of AVEVA company in UK and is used for designing and building integrated software of ships and maritime work projects. The method adopts an object-centered technology, provides a product combination consisting of a series of solutions, loading items and single-edition application programs, and runs through each link in the shipbuilding business process.
Aiming at the characteristics of Marine projects, AVEVA company carries out system integration on the hull of Tribon and PDMS widely adopted in Marine industries in 2007, and a new generation of AVEVA Marine design system is provided.
The AVEVA Marine covers shipbuilding professional technologies, combines enterprise engineering, design, communication and visualization technologies, realizes cross-professional function integration of a ship body, ship outfitting, engineering and design by using a single project model, and provides an integrated solution for ship enterprises.
AVEVA out fitting, AVEVA PDMS and AVEVA E3D in AVEVA Marine can be used in communication, ensure to cooperate with enterprise expert; the AVEVA Global can support the project in different places, and the environment target of the virtual shipyard is realized.
Disclosure of Invention
The invention aims to overcome the defects, and provides a secondary development system capable of automatically generating an insulation summary list under the condition that the AVEVA MARINE model has ship piping model data.
The purpose of the invention is realized as follows:
a method for generating a list based on AM secondary development statistical graph piping insulation comprises the following steps based on existing ship piping model data in an AVEVA MARINE model:
a. improving the insulation association relation of all the pipe sections by using an outfixing module of AVEVA MARINE software;
b. determining the area where the pipe section insulation needs to be counted;
c. reading all marine pipe section information in a view range by using a MarineDraft module of AVEVA MARINE software;
d. acquiring the length attribute and insulation information of each pipe section component;
e. compiling a dialog box interface by using a PML (programmable Macro language), wherein a 'selection picture' button, a 'clear' button, a 'generation installation picture list' button, a 'generation excel list' button and a table area are arranged on the dialog box interface;
f. appointing the function of each functional area in the dialog box; the 'select drawing' button is used for acquiring a data source range and automatically executing a program; the "clear" button is used to clear all data in the table; the 'generate installation drawing list' button is used for exporting the final result to be displayed on the drawing; the 'generate excel list' button is used for exporting the final result into an excel table; the table area is used for generating specific information;
g. generating an excel list;
h. and producing a drawing list.
Further, when the view range is obtained in step c, the correct layer is selected and then the information is read.
Further, the name in the table generated by the table area is from the name attribute of the spool piece component.
Further, the specific information generated by the table area includes a serial number, a name, a specification, a unit, a number, and a thickness of the case.
Compared with the prior art, the invention has the beneficial effects that:
(1) the invention reduces the time consumed by the technical department for manually counting the insulation lists and improves the production efficiency; (2) the method provides accurate basis for ordering the insulation of the pipe section in a workshop, and construction is carried out in advance, so that omission is avoided; (3) the invention solves the problem of artificial data statistics lag or error caused by source data updating, rapidly counts the number of insulated pipelines and greatly improves the efficiency.
Drawings
FIG. 1 is a flow chart of the operation of the present invention.
Fig. 2 is a diagram illustrating the system implementation of the present invention.
Detailed Description
For a better understanding of the technical aspects of the present invention, reference will now be made in detail to the accompanying drawings. It should be understood that the following specific examples are not intended to limit the embodiments of the present invention, but are merely exemplary embodiments of the present invention. It should be noted that the description of the positional relationship of the components, such as the component a is located above the component B, is based on the description of the relative positions of the components in the drawings, and is not intended to limit the actual positional relationship of the components.
Example 1:
referring to fig. 1 and 2, the method for generating the list of piping insulation based on the AM quadratic development statistical chart according to the present invention includes the following contents based on the existing ship piping model data in the existing used AVEVA MARINE model:
a. improving the insulation association relation of all the pipe sections by using an outfixing module of AVEVA MARINE software;
b. determining the area where the pipe section insulation needs to be counted;
c. reading all marine pipe section information in a view range by using a MarineDraft module of AVEVA MARINE software;
d. acquiring the length attribute and insulation information of each pipe section component;
e. compiling a dialog box interface by using a PML (programmable Macro language), wherein a 'selection picture' button, a 'clear' button, a 'generation installation picture list' button, a 'generation excel list' button and a table area are arranged on the dialog box interface;
f. appointing the function of each functional area in the dialog box; the 'select drawing' button is used for acquiring a data source range and automatically executing a program; the "clear" button is used to clear all data in the table; the 'generate installation drawing list' button is used for exporting the final result to be displayed on the drawing; the 'generate excel list' button is used for exporting the final result into an excel table; the table area is used for generating specific information (including serial number, name, specification, unit, number and tube shell thickness);
g. generating an excel list;
h. and producing a drawing list.
When the view range is obtained, because the number of layers of a single installation drawing is too many, the information can be read only by selecting the correct layer.
The name in the table is from the name attribute of the spool piece component.
Data is output depending on NWEI, DTXS, DTXT, LENGTH, ISPEC attributes of the pipeline accessory.
The name, specification, unit, number and thickness of the pipe shell of the accessory of the output pipeline.
The above is only a specific application example of the present invention, and the protection scope of the present invention is not limited in any way. All the technical solutions formed by equivalent transformation or equivalent replacement fall within the protection scope of the present invention.