CN113468683B - Pipeline axonometric diagram dimension marking and exporting method based on Revit - Google Patents

Pipeline axonometric diagram dimension marking and exporting method based on Revit Download PDF

Info

Publication number
CN113468683B
CN113468683B CN202110674888.7A CN202110674888A CN113468683B CN 113468683 B CN113468683 B CN 113468683B CN 202110674888 A CN202110674888 A CN 202110674888A CN 113468683 B CN113468683 B CN 113468683B
Authority
CN
China
Prior art keywords
revit
line
creating
marking
elements
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
CN202110674888.7A
Other languages
Chinese (zh)
Other versions
CN113468683A (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 Energy Engineering Group Tianjin Electric Power Construction Co ltd
Original Assignee
China Energy Engineering Group Tianjin Electric Power Construction 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 Energy Engineering Group Tianjin Electric Power Construction Co ltd filed Critical China Energy Engineering Group Tianjin Electric Power Construction Co ltd
Priority to CN202110674888.7A priority Critical patent/CN113468683B/en
Publication of CN113468683A publication Critical patent/CN113468683A/en
Application granted granted Critical
Publication of CN113468683B publication Critical patent/CN113468683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a pipeline axonometric diagram dimension marking and exporting method based on Revit, which comprises the following steps: loading a label auxiliary family; prompting to select an element to be marked; acquiring coordinates of a marked starting point and a marked ending point; creating a Line element; creating a CurveLoop element; creating Solid elements; creating a DirectShape element; searching a Reference element; adding Reference to a Reference array element; setting a working plane Sketchplane of a current view; creating a marking reference line; creating a label; and deleting the marking auxiliary family. The invention can realize the dimension marking, drawing and plotting of the axonometric drawing pipeline, and can also realize the functions of pipeline material statistics, engineering quantity accounting, crater statistics and pipe section blanking statistics.

Description

Pipeline axonometric diagram size marking and exporting method based on Revit
Technical Field
The invention relates to the technical field of pipeline construction, in particular to a pipeline axonometric diagram dimension marking and exporting method based on Revit.
Background
At present, design units in the industries of petrochemical engineering, thermal power generation and the like in China mainly use PDMS of AVEVA and Aecostim Building design of Bentley to design pipelines and generate statistical engineering quantities for statistics, but the requirements on personnel specialty are high, the software cost is high, the overall threshold is high, and the wide popularization and application of construction units are not facilitated. Revit of Autodesk corporation has great advantages in usability, use cost and expansibility, and along with the popularization of BIM, Revit has great user foundation in China.
However, at present, Revit does not have the function of dimension marking under a three-dimensional view, cannot generate a pipeline axonometric view, does not have the function of custom derivation of family parameters, cannot derive a project quantity statistical table customized according to user requirements, and is very inconvenient to use.
Disclosure of Invention
The invention aims to solve the defects of the prior art and provides a pipeline axonometric drawing dimension marking and deriving method based on Revit.
In order to achieve the purpose, the invention adopts the following technical scheme:
a pipeline axonometric diagram dimension marking method based on Revit comprises the following specific steps:
the method comprises the following steps that firstly, a labeling auxiliary family is automatically loaded when Revit software is opened;
after the user selects the marking mode, prompting to select the element to be marked in the status bar in a text mode;
after the user selects the element to be labeled, generating a locationCurve object by using the Location attribute of the element, acquiring the Curge attribute of the representative position of the locationCurve object, and finally acquiring the coordinates of the starting point and the ending point of the label by using a Curve.
Step four, establishing a Line element passing through two points by taking the coordinates of the starting point and the end point obtained in the step three as the reference;
taking the Line element created in the fourth step as a reference, translating for 10 pounds along the positive direction of the X axis to obtain a new Line element Line1, taking the Line element created in the fourth step as a reference, translating for 10 pounds along the negative direction of the X axis to obtain a new Line element Line2, respectively taking the end points of two Line elements Line1 and Line2 as references, creating two new Line elements Line3 and Line4, and creating a CurveLoop element by software by using four Line elements connected end to end;
step six, using the CurveLoop element created in the step five as a reference, and creating a Solid element by using a createExclusive geometry method of GeometryCreationUtilities;
step seven, using the marking auxiliary family loaded in the step one and the Solid element created in the step six as a reference to create a DirectShape element by using a DirectShape.
Step eight, establishing a referenceIntersector object by taking the DirectShape element established in the step seven as a Reference, and searching the nearest Reference elements in the positive direction and the negative direction of the Line element established in the step four by using a FindNearest method;
step nine, creating a ReferenceArray element by using a new ReferenceArray () method, and adding the Reference found in the step eight into the ReferenceArray element;
creating a Plane element by using a Plane, createbynormalndorigin method, and setting a working Plane Sketchplane of the current view by taking the current view of Revit and the Plane element as references;
step eleven, taking the Line element created in the step four as a reference, translating X pounds along the positive direction of the X axis to obtain a new Line element as a marking reference Line, wherein the translation distance X can be defined by a user;
step twelve, using a document, create, new dimension method of the element to be labeled to create a label with the reference line and the ReferenceArray as references;
and thirteen, deleting the labeled auxiliary family loaded in the step one.
Further, in the fifth step, when the Line1 and the Line2 elements are created, if the Line element created in the fourth step is parallel to the X axis of the coordinate axes, the Line element is translated along the Y axis, and the positive and negative of the direction are the same as those in the translation along the X axis.
Further, in the eleventh step, when the marking reference Line is created, if the Line element created in the fourth step is parallel to the X axis of the coordinate axes, the Line element is translated in the positive direction of the Y axis.
The engineering quantity deriving method comprises the following specific steps:
step 1, setting export configuration, comprising: the method comprises the following steps of setting parameters of category names, family keywords, family system names, information items, information item types and information item parameters;
step 2, filtering the elements of the current view according to the set family keywords and the family system name to obtain all the elements to be exported;
step 3, acquiring attribute parameters of the elements, and calculating built-in parameters according to the attribute parameters;
step 4, combining the parameters of the elements according to the rules set by the user;
step 5, storing the combined data into a data table;
step 6, detecting whether a user carries out summary configuration and whether a classification column and an addition column are configured, if so, storing the data in the data table to another data table after grouping and adding the data according to the classification column and the addition column;
and 7, outputting the processed data table to Excel.
Further, the built-in parameters in the step 3 include a serial number, a wall thickness, a large connecting pipe size and a small connecting pipe size.
Further, the combination mode in step 4 covers direct output of element attribute parameters, direct output of fixed characters, addition, subtraction, multiplication and division calculation of the element attribute parameters, and splicing and Max () and Min () function processing of the three items of data.
The invention has the beneficial effects that:
1. pipeline marking is carried out in the Revit three-dimensional view, a user can directly mark the size of the pipeline in the three-dimensional view, and marks of relevant elements such as welding spots, foot supports, character marking and the like are supported, and finally drawing and drawing of pipeline axonometric diagrams are achieved.
2. And (3) self-defining derivation of Revit family parameters, wherein a user can derive the required family attribute parameters in the current view to Excel through self-defining derivation configuration, so that the functions of pipeline material statistics, engineering quantity accounting, welded junction statistics and pipe section blanking statistics are realized, and finally the functions of 'guiding all drawn pictures and easy guiding all drawn pictures' are realized.
Drawings
FIG. 1 is a flow chart of the labeling method of the present invention;
FIG. 2 is a state diagram illustrating the labeling method of the present invention;
the following detailed description will be made in conjunction with embodiments of the present invention with reference to the accompanying drawings.
Detailed Description
The invention is further illustrated by the following examples:
a pipeline axonometric diagram dimension marking method based on Revit comprises the following specific steps:
the method comprises the following steps that firstly, a labeling auxiliary family is automatically loaded when Revit software is opened and is used for assisting the software to create a reference plane, and size labeling operation is simplified;
step two, after the user selects a marking mode (two-point marking or item selecting marking), prompting and selecting an element to be marked in a status bar in a text mode;
after the user selects the element to be labeled, generating a locationCurve object by using the Location attribute of the element, acquiring the Curge attribute of the representative position of the locationCurve object, and finally acquiring the coordinates of the starting point and the ending point of the label by using a Curve.
Step four, establishing a Line element passing through two points by taking the coordinates of the starting point and the end point obtained in the step three as the reference;
taking the Line element created in the fourth step as a reference, translating for 10 pounds along the positive direction of the X axis to obtain a new Line element Line1, taking the Line element created in the fourth step as a reference, translating for 10 pounds along the negative direction of the X axis to obtain a new Line element Line2, respectively taking the end points of two Line elements Line1 and Line2 as references, creating two new Line elements Line3 and Line4, and creating a CurveLoop element by software by using four Line elements connected end to end; when Line1 and Line2 elements are created, if the Line element created in the step four is parallel to the X axis of the coordinate axes, translation is carried out along the Y axis, and the positive and negative of the direction are the same as those of translation along the X axis;
step six, using the CurveLoop element created in the step five as a reference, and creating a Solid element by using a createExclusive geometry method of GeometryCreationUtilities;
step seven, using the marking auxiliary family loaded in the step one and the Solid element created in the step six as a reference to create a DirectShape element by using a DirectShape.
Step eight, establishing a referenceIntersector object by taking the DirectShape element established in the step seven as a Reference, and searching the nearest Reference elements in the positive direction and the negative direction of the Line element established in the step four by using a FindNearest method;
step nine, creating a ReferenceArray element by using a new ReferenceArray () method, and adding the Reference found in the step eight into the ReferenceArray element;
creating a Plane element by using a Plane, createbynormalndorigin method, and setting a working Plane Sketchplane of the current view by taking the current view of Revit and the Plane element as references;
step eleven, taking the Line element created in the step four as a reference, translating X pounds along the positive direction of the X axis to obtain a new Line element as a marking reference Line, wherein the translation distance X can be defined by a user, and translating along the positive direction of the Y axis if the Line element created in the step four is parallel to the X axis of the coordinate axis when the marking reference Line is created;
step twelve, using a document, create, new dimension method of the element to be labeled to create a label with the reference line and the ReferenceArray as references;
and thirteen, deleting the marking auxiliary family loaded in the step one.
The engineering quantity deriving method comprises the following specific steps:
step 1, setting export configuration, comprising: the method comprises the steps of (1) obtaining a category name (serving as the name of an excelsheet page when being exported), a family keyword (all families containing the family keyword are exported when being exported), a family system name (generally Pipe and family instant), an information item (serving as the column name in an Excel table when being exported, and if corresponding engineering quantity calculation books comprise Excel columns such as 'serial number', 'figure number or code', 'name', 'specification and model'), an information item type and an information item parameter setting parameter;
step 2, filtering the elements of the current view according to the set family keywords and the family system name to obtain all the elements to be exported;
step 3, acquiring attribute parameters of the elements, and calculating built-in parameters according to the attribute parameters, wherein the built-in parameters comprise serial numbers, wall thicknesses, large connecting pipe sizes and small connecting pipe sizes;
step 4, combining the parameters of the elements according to the rules set by the user, wherein the combination mode covers direct output of the element attribute parameters, direct output of fixed characters, addition, subtraction, multiplication and division calculation of the element attribute parameters, splicing of the three data and Max () and Min () function processing;
step 5, storing the combined data into a data table;
step 6, detecting whether a user carries out summary configuration and whether a classification column and an addition column are configured, if so, grouping and adding the data in the data table according to the classification column and the addition column and storing the data in another data table;
and 7, outputting the processed data table to Excel.
The present invention has been described in connection with the specific embodiments, and it is obvious that the specific implementation of the present invention is not limited by the above-mentioned manner, and it is within the protection scope of the present invention as long as various modifications are made by using the method concept and technical solution of the present invention, or the present invention is directly applied to other occasions without modification.

Claims (6)

1. A pipeline axonometric diagram dimension marking method based on Revit is characterized by comprising the following specific steps:
the method comprises the following steps that firstly, a labeling auxiliary family is automatically loaded when Revit software is opened;
after the user selects the marking mode, prompting to select the element to be marked in the status bar in a text mode;
after the user selects the element to be labeled, generating a locationCurve object by using the Location attribute of the element, acquiring the Curge attribute of the representative position of the locationCurve object, and finally acquiring the coordinates of the starting point and the ending point of the label by using a Curve.
Step four, establishing a Line element passing through two points by taking the coordinates of the starting point and the end point obtained in the step three as the reference;
taking the Line element created in the fourth step as a reference, translating for 10 pounds along the positive direction of the X axis to obtain a new Line element Line1, taking the Line element created in the fourth step as a reference, translating for 10 pounds along the negative direction of the X axis to obtain a new Line element Line2, respectively taking the end points of two Line elements Line1 and Line2 as references, creating two new Line elements Line3 and Line4, and creating a CurveLoop element by software by using four Line elements connected end to end;
step six, using the CurveLoop element created in the step five as a reference, and creating a Solid element by using a createExclusive geometry method of GeometryCreationUtilities;
step seven, using the marking auxiliary family loaded in the step one and the Solid element created in the step six as a reference to create a DirectShape element by using a DirectShape.
Step eight, establishing a referenceIntersector object by taking the DirectShape element established in the step seven as a Reference, and searching the nearest Reference elements in the positive direction and the negative direction of the Line element established in the step four by using a FindNearest method;
step nine, creating a ReferenceArray element by using a new ReferenceArray () method, and adding the Reference found in the step eight into the ReferenceArray element;
creating a Plane element by using a Plane, createbynormalndorigin method, and setting a working Plane Sketchplane of the current view by taking the current view of Revit and the Plane element as references;
step eleven, taking the Line element created in the step four as a reference, translating X pounds along the positive direction of the X axis to obtain a new Line element as a marking reference Line, wherein the translation distance X can be defined by a user;
step twelve, using a document, create, new dimension method of the element to be labeled to create a label with the reference line and the ReferenceArray as references;
and thirteen, deleting the labeled auxiliary family loaded in the step one.
2. The Revit-based pipeline axonometric dimension marking method of claim 1, wherein in the fifth step, when creating Line1 and Line2 elements, if the Line element created in the fourth step is parallel to the X axis of the coordinate axes, the Line element is translated along the Y axis, and the positive and negative of the direction are the same as when translating along the X axis.
3. The Revit-based pipeline axonometric dimension labeling method of claim 1, wherein in the eleventh step, when the labeling reference Line is created, if the Line element created in the fourth step is parallel to the X axis of the coordinate axes, the Line element is translated in the positive direction of the Y axis.
4. A method for deriving the engineering quantity of a pipeline axonometric diagram based on Revit is characterized in that any one of the method for marking the dimension of the pipeline axonometric diagram based on Revit in claims 1-3 is used, and the method comprises the following specific steps:
step 1, setting export configuration, comprising: the method comprises the following steps of setting parameters of category names, family keywords, family system names, information items, information item types and information item parameters;
step 2, filtering the elements of the current view according to the set family keywords and the family system name to obtain all the elements to be exported;
step 3, acquiring attribute parameters of the elements, and calculating built-in parameters according to the attribute parameters;
step 4, combining the parameters of the elements according to the rule set by the user;
step 5, storing the combined data into a data table;
step 6, detecting whether a user carries out summary configuration and whether a classification column and an addition column are configured, if so, grouping and adding the data in the data table according to the classification column and the addition column and storing the data in another data table;
and 7, outputting the processed data table to Excel.
5. The Revit-based pipeline axonometric engineering quantity derivation method according to claim 4, wherein the built-in parameters in the step 3 comprise serial number, wall thickness, large pipe connecting size and small pipe connecting size.
6. The Revit-based pipeline axonometric engineering quantity derivation method of claim 4, wherein the combination manner in the step 4 covers element attribute parameter direct output, fixed character direct output, addition, subtraction, multiplication and division calculation of element attribute parameters, and splicing and Max (), Min () function processing of the three previous items of data.
CN202110674888.7A 2021-06-18 2021-06-18 Pipeline axonometric diagram dimension marking and exporting method based on Revit Active CN113468683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110674888.7A CN113468683B (en) 2021-06-18 2021-06-18 Pipeline axonometric diagram dimension marking and exporting method based on Revit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110674888.7A CN113468683B (en) 2021-06-18 2021-06-18 Pipeline axonometric diagram dimension marking and exporting method based on Revit

Publications (2)

Publication Number Publication Date
CN113468683A CN113468683A (en) 2021-10-01
CN113468683B true CN113468683B (en) 2022-05-06

Family

ID=77870378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110674888.7A Active CN113468683B (en) 2021-06-18 2021-06-18 Pipeline axonometric diagram dimension marking and exporting method based on Revit

Country Status (1)

Country Link
CN (1) CN113468683B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115906124B (en) * 2022-12-08 2023-08-18 广州优比建筑咨询有限公司 Encryption method, decryption method, device and equipment for Revit project file
CN117807969B (en) * 2024-01-05 2024-07-16 中建安装集团有限公司 Engineering quantity information acquisition method, device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704932A (en) * 2019-10-09 2020-01-17 北京中外建建筑设计有限公司 Revit software-based prefabricated staircase detailed graph rapid plotting method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108268707B (en) * 2017-12-31 2021-08-06 马钢集团设计研究院有限责任公司 ReVIT-based transfer station standard template drawing method and transfer station construction method
US10902580B2 (en) * 2019-04-18 2021-01-26 Applied Software Technology, Inc. Auto-dimensioning REVIT models
CN110472302B (en) * 2019-07-25 2023-02-28 中国中材国际工程股份有限公司 Method for drawing pipeline support and hanger by Revit
CN110543707B (en) * 2019-08-21 2024-02-13 中国中材国际工程股份有限公司 Plotting method for creating factory non-standard components based on Revit
CN110930396A (en) * 2019-12-03 2020-03-27 西安建筑科技大学 Revit platform-based automatic pipeline weld joint labeling method
CN111428295B (en) * 2020-03-17 2023-02-28 中色科技股份有限公司 Heating map making method for large workshop for BIM forward design
CN112131651B (en) * 2020-09-29 2022-03-08 建图智能科技有限公司 Intelligent axis creating method based on Revit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704932A (en) * 2019-10-09 2020-01-17 北京中外建建筑设计有限公司 Revit software-based prefabricated staircase detailed graph rapid plotting method

Also Published As

Publication number Publication date
CN113468683A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN113468683B (en) Pipeline axonometric diagram dimension marking and exporting method based on Revit
CN103473274B (en) A kind of construction method machining three-dimensional process instruction card
CN101877015B (en) The three-dimensional labeling method of part processing
CN111400822B (en) Three-dimensional operation instruction automatic generation system and method for SPD system
KR20060128738A (en) Device of making cad data and method thereof
CN101833545B (en) Method for indexing data in digital recourse processing process
CN105824794A (en) Annotation adding method and device
CN101425007B (en) Method capable of structuredly displaying electronic table function cue
JPH10275222A (en) Document information management system
CN109086985B (en) Professional test information management system for spacecraft assembly
CN114090611A (en) Method and device for generating cable inventory by terminal wiring table and electronic equipment
CN101859293A (en) Electronic reader and edition document storage method
Lee et al. Enhancing the usability of an office information system through direct manipulation
JP3032225B2 (en) Document editing device using three-dimensional display
CN108519882A (en) A kind of method and system of the ends Web displaying live view cad file
KR100216068B1 (en) A method of converting dxf data format to informap database
CN113535166B (en) Modularized page generation method
US11210451B2 (en) System and method for dynamic linking between graphic documents and comment data bases
CN102024069A (en) Computer aided design system and method used for determining pumping head
JP3059330B2 (en) CAD data converter
CN115730118A (en) Neno character annotating system
Bouton CorelDRAW: the official guide
CN116795262A (en) Device and method for clustering multiple tools on whiteboard
Gross File format for data exchange between graphic data bases
CN114036926A (en) Automatic precious metal material data file extraction system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant