Revit model-based super-dangerous beam plate component identification method and system
Through the Revit model-based identification method of super-risk beam and plate components, the Revit API interface is used to automatically analyze the hazards of beam and plate components, which solves the problem of time-consuming and labor-intensive safety analysis in high-risk formwork support projects, and improves the analysis efficiency and accuracy. Safety risks are reduced.
Patent Information
- Application Number
- CN202410964570.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-18
AI Technical Summary
In engineering construction, safety analysis of high-risk concrete formwork support projects is time-consuming and labor-intensive, easy to miss, and requires high experience of engineers. Existing technology is difficult to efficiently identify ultra-hazardous beam and plate components, resulting in safety hazards and economic losses.
The method of identifying super dangerous beam and plate components based on the Revit model is used to obtain active views and component parameters, filter the beam and plate components, conduct hazard analysis, and perform color classification based on the analysis results. The Revit API interface is used to automate the analysis to improve efficiency and accuracy.
It realizes automated analysis of the hazards of beam and plate components, improves analysis efficiency and accuracy, and avoids omissions caused by human factors. Color marking allows engineers to intuitively determine the location of components, significantly reducing potential safety hazards.
Smart Images

Figure CN118797779A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building modeling, and in particular to a method and system for identifying ultra-dangerous beam and slab components based on a Revit model. Background Art
[0002] In the prior art, In engineering construction, formwork is an important measure for the solidification of reinforced concrete, and its support system is an important guarantee for maintaining stability and safety during concrete pouring and solidification. In engineering construction projects, the application of concrete formwork support projects with a height of 8m or more, a span of 18m or more, a total construction load (design value) of 15kN / m2 or more, or a concentrated line load (design value) of 20kN / m or more is very common in engineering. However, this type of project is very dangerous. Once a safety accident occurs, it is very easy to cause serious injuries to personnel and cause major economic losses. According to relevant regulations, this type of concrete formwork support project must prepare a special construction plan and pass expert demonstration before it can be implemented. In the past, engineers needed to determine whether the structural components belonged to the category of special construction plans based on the construction drawings. This method was time-consuming and labor-intensive, easy to miss, and this process also had high requirements on the experience of engineers. Therefore, there is an urgent need for a method for identifying super-dangerous beam and slab components based on the Revit model. Summary of the invention
[0003] In order to solve the above-mentioned problems, the present invention provides a method and system for identifying super-dangerous beam and slab components based on the Revit model.
[0004] In the first aspect, the present invention provides a method for identifying ultra-dangerous beam and slab components based on a Revit model, which adopts the following technical solution: A method for identifying ultra-dangerous beam and slab components based on Revit model, comprising: Get active view and component parameters; Select all components based on the active view obtained; Filter beam and plate components among all components to obtain the required components; In the required components, perform risk analysis according to the component parameters and obtain analysis results; Color classification is performed based on the analysis results.
[0005] Furthermore, the obtaining of the active view and component parameters includes obtaining a UI file according to an API interface method of Revit, and obtaining the active view and construction parameters according to the UI file.
[0006] Furthermore, the selecting of all components according to the acquired active view includes constructing an element set to store pre-selected components, obtaining the component to be analyzed by using the Selection.PickObjects method, and determining whether the selected component is empty, and if not, it is valid.
[0007] Furthermore, the beam and plate components are filtered out from all components to obtain the required components, including a component set for storing the selected beams and plates, and the IDs of the selected beams and plates are used in a foreach loop to determine whether the construction is a beam or a plate, and the beams and plates are added to the corresponding lists.
[0008] Furthermore, in the required components, a hazard judgment is performed according to the component parameters to obtain a judgment result, including calculating the formwork height, formwork span and load of the beam and slab components in different modules according to the component parameters, wherein the load includes the concentrated line load of the beam and the total construction load of the slab during the construction process, and performing over-height analysis, over-span analysis and over-weight analysis according to the formwork height, formwork span and load.
[0009] Furthermore, the over-height analysis, over-span analysis and over-weight analysis are respectively performed according to the formwork height, formwork span and load, including respectively judging whether the formwork height, formwork span and load exceed the limit value, wherein, when the formwork height is greater than 8 meters, it is marked as over-dangerous; when the formwork span is greater than 18 meters, it is marked as over-dangerous; when the concentrated line load of the beam is greater than 20kN / m or the total construction load of the plate is greater than 15kN / m 2 , it is marked as extremely dangerous.
[0010] Furthermore, the color classification according to the analysis result includes setting the appearance color of the primitive in the view through OverrideGraphicSettings.SetCutFillColor and setting the appearance fill of the primitive through OverrideGraphicSettings.SetCutFillPatternId according to the judgment result.
[0011] In the second aspect, a super-dangerous beam and slab component identification system based on the Revit model includes: The data acquisition module is configured to acquire activity view and component parameters; The selection module is configured to select all components according to the acquired active view; filter the beam and plate components among all components to obtain the required components; The analysis acquisition module is configured to perform a risk analysis on the required component according to the component parameters and obtain the analysis result; The classification module is configured to analyze the results and perform color classification.
[0012] In a third aspect, the present invention provides a computer-readable storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded and executed by a processor of a terminal device, for example, a method for identifying ultra-dangerous beam and slab components based on a Revit model.
[0013] In a fourth aspect, the present invention provides a terminal device including a processor and a computer-readable storage medium, the processor being used to implement various instructions; the computer-readable storage medium being used to store a plurality of instructions, the instructions being suitable for being loaded by the processor and executing the method for identifying super-dangerous beam and slab components based on a Revit model.
[0014] In summary, the present invention has the following beneficial technical effects: 1. By using the BIM model to automatically analyze whether the beam and slab components in the entire project belong to the "highly dangerous" category, the "super dangerous" category, or the "ordinary" category, instead of manually analyzing one by one, the efficiency of analysis is greatly improved; 2. The invention takes the beam and slab BIM model components of the entire project as the analysis object, which greatly improves the accuracy of the analysis results and avoids omissions caused by human factors; 3. The invention marks the analysis results with different colors, making the analysis results more intuitive. Engineers can directly determine the locations of "highly dangerous" components and "super dangerous" components based on the different colors of the components. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a schematic diagram of a method for identifying ultra-dangerous beam and slab components based on a Revit model according to Embodiment 1 of the present invention; Figure 2 This is a diagram to verify the effect of a method for identifying ultra-dangerous beam and slab components based on a Revit model in Example 1 of the present invention. DETAILED DESCRIPTION
[0016] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0017] Example 1 Reference Figure 1 , a method for identifying ultra-dangerous beam and slab components based on a Revit model in this embodiment includes: Get active view and component parameters; Select all components based on the active view obtained; Filter beam and plate components among all components to obtain the required components; In the required components, perform risk analysis according to the component parameters and obtain analysis results; Color classification is performed based on the analysis results.
[0018] Specifically, the obtaining of the activity view and component parameters includes: According to Revit's API interface method IexternalCommand.Execute(ExternalCommandDatacommandData, ref string message, ElementSet elements), UIDocument is obtained, and then Document is obtained from UIDocument, and finally the active view is obtained according to Document. The code is as follows UIDocument uiDoc = commandData.Application.ActiveUIDocument; Autodesk.Revit.DB.Document dbDoc = uiDoc.Document; Autodesk.Revit.DB.View activeView = dbDoc.ActiveView; The step of selecting all components according to the acquired active view includes pre-selecting the components to be analyzed through Selection.PickObjects(ObjectType, String).
[0019] Among them, a new IList is created in the program <element>pickedElements = new List <element>() element collection to store pre-selected components.
[0020] Apply the Selection.PickObjects method to obtain the Reference, i.e. IList <reference>pReferences = uiDoc.Selection.PickObjects(ObjectType.Element,"Select the structural beam slab on a certain elevation."). When this method is run, a prompt will be displayed in the prompt area in the lower left corner of Revit prompt "Select the structural beam slab on a certain elevation." to guide you to select the beam slab on a certain elevation.
[0021] Here you need to determine whether the Reference of the selected component is empty. If it is not empty, it means that the selected beam and slab component is valid and is added to IList. <element>In the pickedElements collection. The code is as follows: foreach (Reference rf in pReferences) if (rf != null) pickedElements.Add(dbDoc.GetElement(rf)); continue; The above can be used to pre-select the beam and slab components to be analyzed.
[0022] The filtering of beam and plate components from all components to obtain the required component includes identifying whether the component is a beam or a plate by judging the Category of the selected element, and adding the beam / plate to the corresponding list.
[0023] The purpose here is to filter out beam components and plate components separately so as to analyze beams and plates separately. First, create four new collections to store the IDs of selected beams, selected plates, selected beams and plates, and selected beams and plates, as follows: IList <element>pickedBeams = new List <element>(); IList <floor>pickedFloors = new List <floor>(); IList <element>pickedBeamsFloors = new List <element>(); IList <elementid>pickedBeamsFloorsID = new List <elementid>(); According to the Revit API, beams belong to FamilyInstance and plates belong to Floor, so according to the IList obtained in the previous step <element>For the pickedElements, a foreach loop can be used to determine whether the element is a beam or a slab. As follows: foreach (Element e in pickedElements) if (e is FamilyInstance) if ((e as FamilyInstance).Symbol.Category.Id.IntegerValue ==(int)BuiltInCategory.OST_StructuralFraming) pickedBeams.Add(e); pickedBeamsFloors.Add(e); pickedBeamsFloorsID.Add(e.Id); continue; if (e is Floor) pickedFloors.Add((Floor)e); pickedBeamsFloors.Add(e); pickedBeamsFloorsID.Add(e.Id); continue; uiDoc.Selection.SetElementIds(pickedBeamsFloorsID); In the required elements, the risk is judged according to the element parameters to obtain the judgment result, including calculating the formwork support height, formwork support span and load of the beam and slab elements respectively in different modules according to the element parameters. The load includes the concentrated line load of the beam and the total construction load of the slab during the construction process. The ultra-high analysis, ultra-span analysis and overweight analysis are carried out according to the formwork support height, formwork support span and load respectively.
[0024] The formwork support height, formwork support span and load of the beam and slab elements are calculated respectively in different modules according to the element parameters. In the ultra-high analysis, use LookupParameter("Bottom Elevation") to obtain the bottom elevation h0 of the beam and slab elements, and calculate the formwork support height h = h0 - h1 according to the selected elevation h1 in Revit. Judge the range of h through the code, that is, if h >= 8, the element is in the ultra-dangerous category; if 5 <= h < 8, the element is in the dangerous and major category; otherwise, the element is in the ordinary category. In the super-span analysis, for beam components, use LookupParameter("shear length") to obtain the shear length L of the beam, and use the code to determine the range of L, that is, if L>= 18, the component is in the super-dangerous category; 10<= L<18, the component is in the severe dangerous category; otherwise, the component is in the normal category.
[0025] For plate components, Revit does not provide a plate span API. GetBoundingBox is used to obtain the plate range box, and then the corner points of the range box are obtained. The plate length b and plate width w are calculated based on the corner points. b or w is the maximum formwork span L of the plate. If b>= 18 or w>= 18, the component is in the super-critical category; (b>= 10&&b<18) or (w>= 10&&w<18), the component is in the critical category; otherwise, the component is in the normal category.
[0026] In overweight analysis, for beam components, use LookupParameter("b") and LookupParameter("h") to obtain the beam section width b and beam section height h, and the beam concentrated line load S 梁 = 1.3 * ((24 + 1.5) * b* h + 0.25 * (b +2 * h)) + 1.5 * 2 * b. S 梁 >= 20, the component is in the super-hazardous category; 15<= S 梁 <20, the component is in the critical category; otherwise, the component is in the normal category.
[0027] For plate components, use the GetCompoundStructure method to obtain the floor structure layer, and then obtain the structure layer thickness h and the total floor construction load S 板 = 1.3 * ((24 + 1.5) * h + 0.25) + 1.5 * 2. S 板 >= 15, the component is in the super-hazardous category; 10<= S 板 <15, the component is in the critical category; otherwise, the component is in the normal category.
[0028] The super-height analysis, super-span analysis and over-weight analysis are respectively performed according to the formwork height, formwork span and load, including respectively judging whether the formwork height, formwork span and load exceed the limit value, wherein, when the formwork height is greater than 8 meters, it is marked as super-dangerous; when the formwork span is greater than 18 meters, it is marked as super-dangerous; when the concentrated line load of the beam is greater than 20kN / m or the total construction load of the plate is greater than 15kN / m 2 , it is marked as extremely dangerous.
[0029] The color classification according to the analysis result includes setting the appearance color of the primitive in the view through OverrideGraphicSettings.SetProjectionFillColor (Color color) according to the judgment result, and setting the appearance filling of the primitive through OverrideGraphicSettings. SetProjectionFillPatternId (ElementId fillPatternId).
[0030] The SetProjectionFillColor method in the Revit API is used to set the appearance color of the element, and the SetProjectionFillPatternId method is used to set the surface fill style of the element. First, create the fill color to be used, and use the filter to filter out the entity fill used. The details are as follows: / / Construct OverrideGraphicSettings of beams and plates and create three colors OverrideGraphicSettings beamOGS = new OverrideGraphicSettings(); OverrideGraphicSettings floorOGS = new OverrideGraphicSettings(); Color dangerColor = new Color(255, 0, 0); / / red Color lowColor = new Color(255, 128, 0); / / Orange Color color = new Color(255, 255, 255); / / white / / Get entity fill style Element fillPatternElement = null; FilteredElementCollector fpCollector = new FilteredElementCollector(dbDoc); fpCollector.OfClass(typeof(FillPatternElement)); IList <element>fps = fpCollector.ToElements(); if (fp.Name == "Solid Fill") fillPatternElement = fp; break; The above gives the surface fill color and surface fill style (solid fill) of the primitive. Then, according to the calculation of the component category in the previous step, the surface color and surface fill pattern of the primitive can be set by the following method.
[0031] beamOGS.beamOGS.SetProjectionFillColor(dangerColor), beamOGS.SetProjectionFillPatternId(fillPatternElement.Id); floorOGS.SetProjectionFillColor(dangerColor); floorOGS.SetProjectionFillPatternId(fillPatternElement.Id); As a further embodiment, Aiming at the technical problem that engineering technicians need to determine whether beam and slab components need high formwork one by one according to the content of construction drawings, the present invention proposes a method for identifying super-dangerous beam and slab components based on Revit model, and performs secondary development based on Revit software to add super-dangerous component identification plug-in. The method includes three modules, namely super-high analysis module, super-span analysis module and super-weight analysis module.
[0032] Super height analysis module: Analyze whether the formwork height h of beam and slab components exceeds the limit. If h≥8m, the component is marked as "super dangerous" and marked in red; if 5m≤h<8m, the component is marked as "dangerous" and marked in red-brown; if h<5m, the component is marked as "normal" and marked in white; Overspan analysis module: Analyze whether the span L of the beam-slab formwork exceeds the limit. If L≥18m, the component is marked as an "ultra-dangerous" component and marked in red; if 10m≤L<18m, the component is marked as a "dangerous" component and marked in red-brown; if L<10m, the component is marked as an "ordinary" component and marked in white; Overweight analysis module: Analyze the concentrated line load S of the beam during construction 梁 and the total construction load S of the slab 板 Whether it exceeds the limit. If S 梁 ≥20kN / m, S 板 ≥15kN / m 2 The beam / slab member is marked as an "ultra-dangerous" member and marked in red; if 15kN / m≤S 梁 <20kN / m,10kN / m 2 ≤S 板 <15kN / m 2 , the beam / slab member is marked as a "critical" member and marked in red-brown; if S 梁 <15kN / m,S 板 <10kN / m 2 , then the beam / slab member is marked as a "normal" member and marked in white.
[0033] As a further embodiment 1. Development of a plug-in for identifying ultra-dangerous beam and slab components based on the Revit model Based on the Revit software development language C#, three modules of super-height analysis, super-span analysis and super-weight analysis are developed. Including obtaining active views, selecting all components, filtering beam / slab components, calculating according to beam and slab parameters, judging calculation results, and marking components.
[0034] Get the active view: This is used to modify the appearance of Revit components in the active view. The method used is Document.ActiveView.
[0035] Select all components: through Selection.PickObjects(ObjectType, String ) Pre-select the components to be analyzed.
[0036] Filter beam / plate components: Identify whether the component is a beam or a plate by judging the Category of the selected element, and add the beam / plate to the corresponding list.
[0037] Calculation is performed based on beam and slab parameters: in different modules, the formwork height and span of the beam and slab components, the concentrated line load of the beam during construction, and the total construction load of the slab are calculated respectively.
[0038] Calculation result judgment: Determine whether the calculated result belongs to the category of "super dangerous", "highly dangerous" or "normal".
[0039] Component mark: Based on the judgment result, through OverrideGraphicSettings.SetProjectionFillColor ( Color color ) Set the appearance color of the element in the view, through OverrideGraphicSettings.SetProjectionFillPatternId (ElementId fillPatternId ) Sets the appearance fill of the primitive.
[0040] 2. BIM Modeling Standards A method for identifying super-dangerous beam-slab components based on Revit model aims to identify BIM model components with specific erection height, erection span, total construction load and concentrated line load in the entire project model. According to the implementation principle of BIM, the model components to be analyzed should include the erection height, erection span, total construction load and concentrated line load parameters, or the target parameters can be obtained according to certain parameters in the BIM components. To achieve this goal, when constructing the structural BIM model, the beam-slab components are modeled in BIM based on the principle of "disconnection by span", that is, the beams and slabs are modeled as independent BIM model components for each span.
[0041] Example 2 This embodiment provides a super-dangerous beam and slab component identification system based on a Revit model, including: The data acquisition module is configured to acquire activity view and component parameters; The selection module is configured to select all components according to the acquired active view; filter the beam and plate components among all components to obtain the required components; The analysis acquisition module is configured to perform a risk analysis on the required component according to the component parameters and obtain the analysis result; The classification module is configured to analyze the results and perform color classification.
[0042] A computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded and executed by a processor of a terminal device, for example, a method for identifying ultra-dangerous beam and slab components based on a Revit model.
[0043] A terminal device includes a processor and a computer-readable storage medium, wherein the processor is used to implement various instructions; the computer-readable storage medium is used to store multiple instructions, wherein the instructions are suitable for being loaded and executed by the processor, a method for identifying ultra-dangerous beam and slab components based on a Revit model.
[0044] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.< / element> < / element> < / elementid> < / elementid> < / element> < / element> < / floor> < / floor> < / element> < / element> < / element> < / reference> < / element> < / element>
Claims
1. A method for identifying ultra-dangerous beam and slab components based on Revit model, characterized in that: include: Get active view and component parameters; Select all components based on the active view obtained; Filter beam and plate components among all components to obtain the required components; In the required components, perform risk analysis according to the component parameters and obtain analysis results; Color classification is performed based on the analysis results.
2. The method for identifying ultra-dangerous beam and slab components based on the Revit model according to claim 1 is characterized in that: The obtaining of the active view and component parameters includes obtaining a UI file according to an API interface method of Revit, and obtaining the active view and construction parameters according to the UI file.
3. The method for identifying ultra-dangerous beam and slab components based on the Revit model according to claim 2 is characterized in that: The method selects all components according to the acquired active view, including constructing an element set to store pre-selected components, obtaining the component to be analyzed through the Selection.PickObjects method, and determining whether the selected component is empty, and if not, it is valid.
4. The method for identifying ultra-dangerous beam and slab components based on the Revit model according to claim 3 is characterized in that: The beam and plate components are filtered out from all components to obtain the required components, including a component set for storing the selected beams and plates, and the IDs of the selected beams and plates are used in a foreach loop to determine whether the construction is a beam or a plate, and the beams and plates are added to the corresponding lists.
5. The method for identifying ultra-dangerous beam and slab components based on the Revit model according to claim 4 is characterized in that: In the required components, a hazard judgment is performed according to the component parameters to obtain a judgment result, including calculating the formwork height, formwork span and load of the beam and slab components in different modules according to the component parameters, wherein the load includes the concentrated line load of the beam and the total construction load of the slab during the construction process, and performing super-elevation analysis, super-span analysis and over-weight analysis according to the formwork height, formwork span and load.
6. The method for identifying ultra-dangerous beam and slab components based on the Revit model according to claim 5 is characterized in that: The super-height analysis, super-span analysis and over-weight analysis are respectively performed according to the formwork height, formwork span and load, including respectively judging whether the formwork height, formwork span and load exceed the limit value, wherein, when the formwork height is greater than 8 meters, it is marked as super-dangerous; when the formwork span is greater than 18 meters, it is marked as super-dangerous; when the concentrated line load of the beam is greater than 20kN / m or the total construction load of the plate is greater than 15kN / m 2 , it is marked as extremely dangerous.
7. The method for identifying ultra-dangerous beam and slab components based on the Revit model according to claim 6 is characterized in that: The color classification according to the analysis result includes setting the appearance color of the primitive in the view through OverrideGraphicSettings.SetCutFillColor and setting the appearance filling of the primitive through OverrideGraphicSettings.SetCutFillPatternId according to the judgment result.
8. A super-dangerous beam and slab component identification system based on Revit model, comprising: The data acquisition module is configured to acquire activity view and component parameters; The selection module is configured to select all components according to the obtained active view; Filter beam and plate components among all components to obtain the required components; The analysis acquisition module is configured to perform a risk analysis on the required component according to the component parameters and obtain the analysis result; The classification module is configured to analyze the results and perform color classification.
9. A computer-readable storage medium storing a plurality of instructions, characterized in that: The instructions are suitable for being loaded by a processor of a terminal device and executed by a method for identifying ultra-dangerous beam and slab components based on a Revit model as described in claim 1.
10. A terminal device, comprising a processor and a computer-readable storage medium, wherein the processor is used to implement each instruction; and the computer-readable storage medium is used to store multiple instructions, characterized in that: The instructions are suitable for being loaded by a processor and executed by a method for identifying ultra-dangerous beam and slab components based on a Revit model as described in claim 1.
