CN112966328B - BIM-based method for automatically creating shared parameters by applying Dynamo - Google Patents

BIM-based method for automatically creating shared parameters by applying Dynamo Download PDF

Info

Publication number
CN112966328B
CN112966328B CN202110291754.7A CN202110291754A CN112966328B CN 112966328 B CN112966328 B CN 112966328B CN 202110291754 A CN202110291754 A CN 202110291754A CN 112966328 B CN112966328 B CN 112966328B
Authority
CN
China
Prior art keywords
dynamo
shared
list
parameter
generating
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
CN202110291754.7A
Other languages
Chinese (zh)
Other versions
CN112966328A (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 Construction First Group Corp Ltd
China Construction First Bureau Group South China Construction Co Ltd
Original Assignee
China Construction First Group Corp Ltd
China Construction First Bureau Group South China 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 Construction First Group Corp Ltd, China Construction First Bureau Group South China Construction Co Ltd filed Critical China Construction First Group Corp Ltd
Priority to CN202110291754.7A priority Critical patent/CN112966328B/en
Publication of CN112966328A publication Critical patent/CN112966328A/en
Application granted granted Critical
Publication of CN112966328B publication Critical patent/CN112966328B/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/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Abstract

The invention discloses a BIM-based method for automatically creating shared parameters by using Dynamo, which comprises the following steps: s1: collecting data in batches; s2: the collected data are sorted in batches; s3: generating a sharing parameter name list according to names; s4: generating a sharing parameter group list in groups; s5: generating a sharing parameter type list by classification; s6: performing cross-list combination and traversal on the shared parameter name list, the shared parameter group list and the shared parameter type list; s7: generating a DYN file in Dynamo using the method described in steps S1 to S6; s8: and running the DYN file, and automatically generating sharing parameters in batches. The invention can quickly and automatically generate the sharing parameters by grouping, classifying and naming in batches; the names, groups and types of the shared parameters can be adjusted and modified quickly and accurately through the modularized Dynamo.

Description

BIM-based method for automatically creating shared parameters by applying Dynamo
Technical Field
The invention belongs to the technical field of building information model projects, and particularly relates to a BIM-based method for automatically creating shared parameters by using Dynamo.
Background
Building Information Modeling (Building Information Modeling) BIM is a model-based intelligent process that links AEC professionals together to allow them to design, build, and operate buildings and infrastructure more efficiently, that is, to describe computer-aided design that is based on three-dimensional graphics, object-oriented, and architectonically related, by Building virtual three-dimensional models of construction, using digital techniques, to provide a complete and consistent library of construction Information for the models.
The existing method for establishing the shared parameter based on the BIM technology mainly comprises the following steps: the sharing parameters are created by manually inputting data such as sharing parameter groups, sharing parameter names and sharing parameter types directly into the building information model, and only one sharing parameter can be created at a time.
However, the method of directly and manually inputting the data for establishing the sharing parameters has large workload when establishing the sharing parameters, so that the sharing parameter files required by establishing the building information model are long in time; and the shared parameters cannot be changed after the shared parameters are created, the created shared parameters can only be deleted and re-created, the workload of creating the shared parameters is increased again, and the difficulty in creating and managing the shared parameters of the building information model is greatly increased.
Disclosure of Invention
The invention aims to solve the problem of insufficient shared parameter establishment through direct manual input, and provides a method for automatically establishing shared parameters by using Dynamo based on BIM.
The technical scheme of the invention is as follows: a BIM-based method for automatically creating sharing parameters by using Dynamo comprises the following steps:
s1: collecting data in batches;
s2: the collected data are sorted in batches;
s3: generating a sharing parameter name list for the data after batch sorting according to names;
s4: generating a sharing parameter group list for the data groups after batch sorting;
s5: classifying the data after batch sorting to generate a sharing parameter type list;
s6: performing cross-list combination and traversal on the shared parameter name list, the shared parameter group list and the shared parameter type list;
s7: generating a DYN file in Dynamo using the method described in steps S1 to S6;
s8: and running the DYN file by using the Dynamo Player, and automatically generating sharing parameters in batches.
Further, in step S1, the method for collecting data in batch includes: data were read in batches by rows from a Microsoft Excel spreadsheet.
Further, in step S2, the method for batch arrangement of the collected data includes: performing recombination and sequencing on a Microsoft Excel data structure, specifically: the Microsoft Excel data read by rows are stored into Dynamo as a series of lists, and batch sorting is completed.
Further, in step S3, the method for generating the shared parameter name list includes: and compiling a Script in Code Block by using Design Script, extracting name elements in a series of lists, and generating a shared parameter name list.
Further, in step S4, the method for generating the sharing parameter group list includes: and compiling a Script in Code Block by using Design Script, extracting group elements in a series of lists, and generating a shared parameter group list.
Further, in step S5, the method for generating the shared parameter type number list includes: and compiling a Script in Code Block by using Design Script, extracting type elements in a series of lists, and generating a shared parameter type list.
Further, in step S6, inputting the Revit shared parameter document, the Revit built-in parameter group enumeration and the boolean value into a shared parameter node created in the original Packages, to obtain output information; and inputting the output information, the shared parameter name list, the shared parameter group list and the shared parameter type list into a combiner node of the Dynamo, and performing combined traversal on the shared parameters to enable the name, the group and the type of each generated shared parameter to be in one-to-one correspondence.
Further, step S8 includes the following sub-steps:
s81: setting a File Path node of the DYN File as Is Input;
s82: newly building a Revit family file, and newly building a sharing parameter file in the Revit family file;
s83: and starting a Dynamo Player, inputting a Mirosoft Excel file path containing the self-defined sharing parameter information, running a DYN file, and automatically generating sharing parameters in batches in the newly-built sharing parameter file.
The invention has the beneficial effects that:
(1) according to the sharing parameter information defined in Microsoft Excel, the sharing parameters can be generated by grouping, classifying and naming in batches and automatically and rapidly; modular Dynamo can quickly and accurately adjust and modify the names, groups and types of shared parameters;
(2) the method has wide application range, can be applied to any family file generated based on Revit software, simplifies the working steps of manually establishing the sharing parameters, improves the efficiency of establishing and managing the sharing parameters, and is favorable for promoting the deep fusion of information and models in the BIM technology.
Drawings
Fig. 1 is a flow diagram of a method for automated creation of shared parameters using Dynamo;
FIG. 2 is a schematic diagram of batch sort of collected data;
FIG. 3 is a diagram of a shared parameter name list;
FIG. 4 is a diagram of a shared parameter group list;
FIG. 5 is a schematic diagram of a list of shared parameter types;
FIG. 6 is a diagram illustrating the custom sharing parameter name, sharing parameter group and sharing parameter type in a Microsoft Excel form according to the present invention;
FIG. 7 is a schematic diagram of custom generation of shared parameter names implemented after running Dynamo codes in the present invention;
FIG. 8 is a schematic diagram of a shared parameter group generated by a user after a Dynamo code is run in the present invention;
FIG. 9 is a schematic diagram of a type of sharing parameter generated by self-definition after a Dynamo code is run in the present invention;
FIG. 10 is a diagram illustrating reading data in a shared parameter standard workbook in Microsoft Excel according to the present invention.
Detailed Description
The embodiments of the present invention will be further described with reference to the accompanying drawings.
Before describing specific embodiments of the present invention, in order to make the solution of the present invention more clear and complete, the definitions of the abbreviations and key terms appearing in the present invention will be explained first:
dynamo: a visual programming tool is provided for use by both non-programmers and programmers. It enables the user to intuitively view script behavior, define custom logic, and use scripts of various text programming languages.
The original Packages: a shared plug-in package of a user-defined node of an assembly belongs to public resources.
Design Script: a language for scripting in Dynamo.
Code Block: one common node in Dynamo.
Dynamo Player: one of Revit calls the DYN file (created in Dynamo) to realize a plug-in that runs the DYN file one-key.
File Path: a node residing in Dynamo may be used to enter a file path.
Is Input: an option for popping up a menu after a node in Dynamo clicks right.
As shown in fig. 1, the present invention provides a BIM-based method for automatically creating shared parameters by using Dynamo, which includes the following steps:
s1: collecting data in batches;
s2: the collected data are sorted in batches;
s3: generating a sharing parameter name list for the data after batch sorting according to names;
s4: generating a sharing parameter group list for the data groups after batch sorting;
s5: classifying the data after batch sorting to generate a sharing parameter type list;
s6: performing cross-list combination and traversal on the shared parameter name list, the shared parameter group list and the shared parameter type list;
s7: generating a DYN file in Dynamo using the method described in steps S1 to S6;
s8: and running the DYN file by using the Dynamo Player, and automatically generating sharing parameters in batches.
In the embodiment of the present invention, as shown in fig. 1, in step S1, the method for collecting data in batch includes: data were read in batches by rows from a Microsoft Excel spreadsheet.
In the embodiment of the present invention, as shown in fig. 2, in step S2, the method for batch sorting of the collected data includes: performing recombination and sequencing on a Microsoft Excel data structure, specifically: the Microsoft Excel data read by rows are stored into Dynamo as a series of lists, and batch sorting is completed.
In this embodiment of the present invention, as shown in fig. 3, in step S3, the method for generating the shared parameter name list includes: and compiling a Script in Code Block by using Design Script, extracting name elements in a series of lists, and generating a shared parameter name list.
In this embodiment of the present invention, as shown in fig. 4, in step S4, the method for generating the sharing parameter group list includes: and compiling a Script in Code Block by using Design Script, extracting group elements in a series of lists, and generating a shared parameter group list.
In the embodiment of the present invention, as shown in fig. 5, in step S5, the method for generating the shared parameter type number list includes: and compiling a Script in Code Block by using Design Script, extracting type elements in a series of lists, and generating a shared parameter type list.
In the embodiment of the present invention, as shown in fig. 1, in step S6, a Revit shared parameter document, a Revit built-in parameter group enumeration and a boolean value are input to a shared parameter node created in the original Packages, so as to obtain output information; and inputting the output information, the shared parameter name list, the shared parameter group list and the shared parameter type list into a combiner node of the Dynamo, and performing combined traversal on the shared parameters to enable the name, the group and the type of each generated shared parameter to be in one-to-one correspondence.
The parameters in the shared parameter name list, the shared parameter group list and the shared parameter type list need to be mutually corresponding, so that cross-list combination is needed.
In the embodiment of the present invention, as shown in fig. 1, step S8 includes the following sub-steps:
s81: setting a File Path node of the DYN File as Is Input;
s82: newly building a Revit family file, and newly building a sharing parameter file in the Revit family file;
s83: and starting a Dynamo Player, inputting a Mirosoft Excel file path containing the self-defined sharing parameter information, running a DYN file, and automatically generating sharing parameters in batches in the newly-built sharing parameter file.
In an embodiment of the present invention, a visualization programming tool based on Dynamo for Revit specifically includes the following steps:
s1: customizing sharing parameter names, groups and types in Microsoft Excel;
as shown in fig. 6, the names of the sharing parameters to be created are 36, and there are 8 sharing parameter groups and 4 sharing parameter types respectively corresponding to the names;
s2: loading user-defined shared parameter data in Dynamo for Revit;
as shown in fig. 10, the Revit software is opened, and Dynamo is used for programming, and data in a standard workbook of shared parameters in microsoft Excel are read;
s3: sorting the loaded sharing parameter data in Dynamo for Revit;
as shown in fig. 2, the Microsoft Excel data structure was reorganized and ranked: reading data from a Microsoft Excel spreadsheet by rows, and storing the data in a Dynamo for Revit form a series of lists;
as shown in fig. 3, S4: element of the index is extracted in Dynamo using the write Design Script code — grab the designation from a given list: after running the Dynamo codes, self-defined shared parameter names can be automatically generated in batches;
s5: the user-defined generated sharing parameter group is as follows: after running the Dynamo codes, automatically generating a self-defined sharing parameter group in batches;
s6: the user-defined generated sharing parameter types are as follows: after running the Dynamo codes, automatically generating self-defined shared parameter types in batches;
as shown in fig. 7 to 9, S7: running Dynamo Player to run Dynamo code file achieves the effect of one-key creation and management of sharing parameters: and opening the completed Dynamo File, setting the 'File Path' node as 'input' in the Dynamo File, opening Dynamo Player, inputting the updated Microsoft Excel format sharing parameter File Path, and operating the Dynamo Player, namely, adjusting and managing the sharing parameters by modifying the sharing parameter name, the sharing parameter group and the sharing parameter type data in the Microsoft Excel.
The effective effects of the embodiment are as follows: based on a Dynamo for Revit visual programming tool, the technology for quickly, accurately and automatically generating grouping, classifying and naming sharing parameters in batches on a Revit platform is realized by combining the node characteristics of a building information model, the working steps of manually establishing the sharing parameters are simplified, the efficiency of establishing and managing the sharing parameters is improved, and the deep fusion of information and the model in the BIM technology is facilitated.
The working principle and the process of the invention are as follows: the invention relates to a method for creating sharing parameters in batch by using Micrisoft excel and Dynamo software by depending on a building information model, which comprises the steps of creating a Revit family file and a sharing parameter document; batch reading data from Microsoft Excel spreadsheet with Dynamo; compiling Design Script by using Code Block to split and extract the list to obtain a shared parameter name list, a shared parameter group list and a shared parameter type list; inputting a Revit shared parameter document, Revit built-in parameter group enumeration and Boolean values into a shared parameter creation node in an original package to obtain output information; and inputting the output information, the shared parameter name list, the shared parameter group list and the shared parameter type list into a combiner node, and performing combination traversal on the shared parameter files created by the names to automatically create the shared parameter files in batches. The method and the device have the effect of automatically grouping in batches, classifying and naming to generate the shared parameters.
The invention has the beneficial effects that:
(1) according to the sharing parameter information defined in Microsoft Excel, the sharing parameters can be generated by grouping, classifying and naming in batches and automatically and rapidly; modular Dynamo can quickly and accurately adjust and modify the names, groups and types of shared parameters;
(2) the method has wide application range, can be applied to any family file generated based on Revit software, simplifies the working steps of manually establishing the sharing parameters, improves the efficiency of establishing and managing the sharing parameters, and is favorable for promoting the deep fusion of information and models in the BIM technology.
It will be appreciated by those of ordinary skill in the art that the embodiments described herein are intended to assist the reader in understanding the principles of the invention and are to be construed as being without limitation to such specifically recited embodiments and examples. Those skilled in the art can make various other specific changes and combinations based on the teachings of the present invention without departing from the spirit of the invention, and these changes and combinations are within the scope of the invention.

Claims (7)

1. A BIM-based method for automatically creating shared parameters by using Dynamo is characterized by comprising the following steps:
s1: collecting data in batches;
s2: the collected data are sorted in batches;
s3: generating a sharing parameter name list for the data after batch sorting according to names;
s4: generating a sharing parameter group list for the data groups after batch sorting;
s5: classifying the data after batch sorting to generate a sharing parameter type list;
s6: performing cross-list combination and traversal on the shared parameter name list, the shared parameter group list and the shared parameter type list;
s7: generating a DYN file in Dynamo using the method described in steps S1 to S6;
in step S6, inputting the Revit shared parameter document, the Revit built-in parameter group enumeration and the boolean value into a shared parameter node created in the original Packages, to obtain output information; inputting the output information, a shared parameter name list, a shared parameter group list and a shared parameter type list into a combiner node of Dynamo, and performing combined traversal on the shared parameters to enable the name, the group and the type of each generated shared parameter to be in one-to-one correspondence;
s8: and running the DYN file by using the Dynamo Player, and automatically generating sharing parameters in batches.
2. The BIM-based application Dynamo automated shared parameter creation method of claim 1, wherein in step S1, the batch data collection method comprises: data were read in batches by rows from a Microsoft Excel spreadsheet.
3. The BIM-based application Dynamo automated shared parameter creation method of claim 2, wherein in step S2, the collected data is batch sorted by: performing recombination and sequencing on a Microsoft Excel data structure, specifically: the Microsoft Excel data read by rows are stored into Dynamo as a series of lists, and batch sorting is completed.
4. The BIM-based application Dynamo automated shared parameter creation method of claim 3, wherein in step S3, the method for generating the shared parameter name list is: and compiling a Script in Code Block by using Design Script, extracting name elements in a series of lists, and generating a shared parameter name list.
5. The BIM-based application Dynamo automated shared parameter creation method of claim 3, wherein in step S4, the method for generating the shared parameter group list is: and compiling a Script in Code Block by using Design Script, extracting group elements in a series of lists, and generating a shared parameter group list.
6. The BIM-based application Dynamo automated shared parameter creation method of claim 3, wherein in step S5, the method for generating the shared parameter type number list is as follows: and compiling a Script in Code Block by using Design Script, extracting type elements in a series of lists, and generating a shared parameter type list.
7. The BIM-based application Dynamo automated shared parameter creation method of claim 1, wherein step S8 includes the sub-steps of:
s81: setting a File Path node of the DYN File as Is Input;
s82: newly building a Revit family file, and newly building a sharing parameter file in the Revit family file;
s83: and starting a Dynamo Player, inputting a Mirosoft Excel file path containing the self-defined sharing parameter information, running a DYN file, and automatically generating sharing parameters in batches in the newly-built sharing parameter file.
CN202110291754.7A 2021-03-18 2021-03-18 BIM-based method for automatically creating shared parameters by applying Dynamo Active CN112966328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110291754.7A CN112966328B (en) 2021-03-18 2021-03-18 BIM-based method for automatically creating shared parameters by applying Dynamo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110291754.7A CN112966328B (en) 2021-03-18 2021-03-18 BIM-based method for automatically creating shared parameters by applying Dynamo

Publications (2)

Publication Number Publication Date
CN112966328A CN112966328A (en) 2021-06-15
CN112966328B true CN112966328B (en) 2021-11-23

Family

ID=76279316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110291754.7A Active CN112966328B (en) 2021-03-18 2021-03-18 BIM-based method for automatically creating shared parameters by applying Dynamo

Country Status (1)

Country Link
CN (1) CN112966328B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536428A (en) * 2021-07-15 2021-10-22 中建科技成都有限公司 Dynamo-based assembled component information extraction method and system
CN115203786A (en) * 2022-06-15 2022-10-18 广州市第三市政工程有限公司 Drainage pipeline construction work amount statistical method, system, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11481526B2 (en) * 2016-10-21 2022-10-25 Autodesk, Inc. Cloud-enabled generation of construction metrics and documentation
CN110210120B (en) * 2019-05-30 2023-12-29 北京工业大学 Automatic modeling method for railway engineering based on parameterization
CN110379009A (en) * 2019-06-05 2019-10-25 上海泾东建筑发展有限公司 A kind of parametrization geological model generation method based on BIM technology
CN110543710A (en) * 2019-08-23 2019-12-06 中国中材国际工程股份有限公司 Cement engineering three-dimensional nonstandard part design method based on Revit
CN110750831B (en) * 2019-10-21 2021-03-26 西南交通大学 Method for constructing tunnel BIM model based on Revit platform

Also Published As

Publication number Publication date
CN112966328A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN103135976B (en) code automatic generation method and device
CN112966328B (en) BIM-based method for automatically creating shared parameters by applying Dynamo
CN112835560A (en) WEB multi-terminal low-code intelligent software development platform
Pidd et al. Simulation software: not the same yesterday, today or forever
CN107944123B (en) Multi-professional collaborative design system and collaborative design method based on master model
CN111625226A (en) Prototype-based human-computer interaction design implementation method and system
CN113655996B (en) Enterprise-level system generation method based on demand model
CN114168117A (en) Credit low-code development tool based on designer and storage device
CN115469860B (en) Method and system for automatically generating demand-to-software field model based on instruction set
CN107273425A (en) A kind of Database Development Method and device based on ORM frameworks
CN116360766A (en) Low-code system and device based on DDD visual designer
Nawijn et al. Automated finite element analysis in a knowledge based engineering environment
CN111399829A (en) Waveform modeling method and terminal based on model driving
CN111552459B (en) Service arrangement flow management system and method
CN114281797A (en) Method for quickly creating basic level data aggregation warehouse based on agile low-code platform
CN106094561B (en) Marine Synthesize Electric Propulsion System modeling and simulating method and device
CN111291444A (en) Modeling method, device and equipment for airplane assembly and storage medium
Sarjoughian et al. System modeling with mixed object and data models.
CN117472379B (en) Automatic generation method and system for low-code platform interaction interface
CN115826936B (en) Electric power business expandable development framework based on low codes and visual drag
CN106648645A (en) Code generating system
Davis et al. Prototyping
Yan et al. Implementation of MML tool engine based on MOC
CN114580055A (en) BIM technology-based three-dimensional field automatic arrangement method
CN117331552A (en) Automatic interface code generation method based on grammar tree

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