Viewport primitive locking method and device for building information model and electronic equipment

By extracting and comparing the elements in the view list in the building information model, the newly added objects that are not in the list are automatically hidden, which solves the problem of automatically adding new objects to the view, and improves design efficiency and drawing quality.

CN119885367APending Publication Date: 2025-04-25WATER TRANSPORT PLANNING & DESIGN INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411941724.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

When adding new objects to the building information model, the relevant view content will automatically add new objects, resulting in the need to manually hide new objects in the view of each drawing, which is huge and prone to errors and omissions.

Method used

By extracting the drawings, views, and primitives of the associated target project, it is included in the project view list, and when a new object is detected, it is compared to whether it is in the list. New objects not in the list are hidden in the specified view, locking the view's display content.

Benefits of technology

Reduces the tedious work of manually adjusting views due to model updates, saves design time, reduces error rate, ensures that the element display status of each view meets the design requirements, and maintains the visual clarity of the drawings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119885367A_ABST
    Figure CN119885367A_ABST
Patent Text Reader

Abstract

The invention discloses a viewport primitive locking method and device for a building information model and electronic equipment, and relates to the field of drawing updating, and the method comprises the steps: extracting a drawing, a view and a primitive of an associated target project, listing the drawing, the view and the primitive into a project view list, detecting the content of a user side modified by using the building information model, and obtaining a detection result, and when the detection result indicates that the newly-added object primitives to be displayed appear, comparing whether the newly-added object primitives in the specified view are in the project view list or not to obtain a comparison result, and hiding the newly-added object primitives to be displayed in the specified view under the condition that the comparison result indicates that the newly-added object primitives are not in the project view list. And locking the display content of the specified view. According to the method and the device, the technical problems that the new object needs to be manually hidden in the view of each drawing, the workload is huge and mistakes and omissions are easy to occur due to the fact that the new object is automatically added in the associated view content when the new object is added in the building information model in the related technology are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drawing update or other related fields, and in particular to a method and device for locking viewport elements of a building information model, and electronic equipment. Background Art

[0002] Today, as building information modeling software is widely used in architectural design and construction, forward drawing has become a standard process for building project documents. General building information modeling software allows users to build three-dimensional models, create and adjust multiple views, and finally integrate these views into drawings to generate accurate construction drawings. However, due to the core feature of building information modeling software - the dynamic link between models and views, once a component is added or modified in the model, all views related to it will automatically update to reflect these changes. At different stages of a design project, engineers and designers often need to maintain multiple views, each of which focuses on a specific part or specific function of the model. For example, in the structural design stage, different views may focus on components such as beams, columns, walls or plates. As the project progresses, new components are constantly added to the model or existing components are modified, and these changes are automatically reflected in all related views. This means that if a view is carefully adjusted during design to highlight a specific component or achieve a specific visual effect, subsequent modifications to the model may destroy these carefully designed layouts, resulting in unnecessary information in the drawings or interference with the original visual focus. Especially in large projects, which usually contain thousands or even tens of thousands of components and hundreds of views, every time a new component is added, the designer needs to check and possibly manually adjust each related view to ensure that the clarity and professionalism of the drawing are not affected. This is not only a time-consuming process, but also prone to omissions, which affects the quality of the drawing and the smooth progress of the project.

[0003] Therefore, in the related art, each time a new object is added to the building information model, the new object will be automatically added to the related view content, resulting in the need to manually hide the new object in the view of each drawing, which is a huge workload and prone to errors.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a method and device for locking viewport elements of a building information model, and an electronic device, so as to at least solve the technical problem in the related art that each time a new object is added to the building information model, the associated view content will automatically add the new object, resulting in the need to manually hide the new object in the view of each drawing, which is a huge workload and prone to errors.

[0006] According to one aspect of an embodiment of the present invention, a viewport element locking method for a building information model is provided, comprising: after detecting that a user terminal completes a drawing operation of a target project using a building information model, extracting drawings, views and elements associated with the target project and listing them in a project view list, wherein each view includes at least one of the elements; detecting the content modified by the user terminal using the building information model to obtain a detection result, wherein when an object element is added to the building information model, each view displays the object element; when the detection result indicates that a newly added object element to be displayed appears in the building information model, comparing whether the newly added object element in a specified view is in the project view list to obtain a comparison result; when the comparison result indicates that the newly added object element is not in the project view list, hiding the newly added object element to be displayed in the specified view, and locking the display content of the specified view.

[0007] Optionally, the step of extracting drawings, views and entities associated with the target project and including them in the project view list includes: identifying all drawings used to complete the target project using the building information model and the view IDs of each drawing; establishing a first mapping relationship between all drawings and the view IDs of each drawing, and recording the first mapping relationship in the project view list; identifying each view under each drawing and the object entity ID under each view; for each drawing, establishing a second mapping relationship between each view under the drawing and the object entity ID under each view, and recording the second mapping relationship in the project view list.

[0008] Optionally, after extracting drawings, views and graphics elements associated with the target project and listing them in the project view list, it also includes: responding to a project drawing display instruction, controlling the interactive panel to display a list of all drawings and the project view list, wherein the drawing list includes all drawings, and the project view list includes: all views and the corresponding graphics elements under each view; receiving a locking operation performed by the user terminal on the interactive panel, and obtaining a view locking operation output by the interactive panel, wherein the view locking operation is used to lock the specified view.

[0009] Optionally, after extracting drawings, views and elements associated with the target project and listing them in the project view list, it also includes: locking all newly added object elements in each view in the drawings, and displaying the locked newly added object elements in the hidden element bar in the interactive panel.

[0010] Optionally, after hiding the newly added object primitives to be displayed in the designated view and locking the display content of the designated view, it also includes: responding to the unlocking operation of the user terminal, restoring the object primitive update function in the designated view; when newly added object primitives appear in the building information model, updating the newly added object primitives in the restored designated view, and displaying the newly added object primitives in the display primitive column corresponding to the designated view.

[0011] Optionally, the viewport element locking method for a building information model further includes: in response to a panel drawing display instruction, the interactive panel displays a locked drawing list and an unlocked drawing list; in response to a panel view display instruction, the interactive panel displays a locked view list and an unlocked view list; in response to a view element display instruction, the interactive panel displays all elements displayed in the current view and all elements hidden in the current view.

[0012] Optionally, the viewport element locking method for the building information model also includes: the visibility status of the object element corresponding to each view in each drawing is directly associated with the number of items in the drawing steel bar schedule, wherein the visibility status includes: hiding the newly added object element when the specified view is locked, and restoring the display of the newly added object element when the specified view is unlocked.

[0013] According to another aspect of an embodiment of the present invention, a viewport primitive locking device for a building information model is provided, comprising: a drawing extraction unit, for extracting drawings, views and primitives associated with the target project after detecting that a user terminal completes a drawing operation of a target project using a building information model, and listing them in a project view list, wherein each view includes at least one primitive; a modification result detection unit, for detecting the content modified by the user terminal using the building information model, and obtaining a detection result, wherein when an object primitive is added to the building information model, each view displays the object primitive; a view comparison unit, for comparing whether the newly added object primitive in a specified view is in the project view list when the detection result indicates that a newly added object primitive to be displayed appears in the building information model, and obtaining a comparison result; and a primitive locking unit, for hiding the newly added object primitive to be displayed in the specified view and locking the display content of the specified view when the comparison result indicates that the newly added object primitive is not in the project view list.

[0014] Optionally, the drawing extraction unit includes: a drawing identification module, used to identify all drawings of the target project completed using the building information model and the view IDs of each drawing; a first mapping relationship establishment module, used to establish a first mapping relationship between all drawings and the view IDs of each drawing, and record the first mapping relationship in the project view list; a view identification module, used to identify each view under each drawing and the object primitive ID under each view; a second mapping relationship establishment module, used to establish, for each drawing, a second mapping relationship between each view under the drawing and the object primitive ID under each view, and record the second mapping relationship in the project view list.

[0015] Optionally, the viewport element locking device for a building information model further includes: a drawing display unit, which is used to, after extracting drawings, views and elements associated with the target project and listing them in a project view list, respond to a project drawing display instruction, and control the interactive panel to display a list of all drawings and a list of project views, wherein the drawing list includes all drawings, and the project view list includes: all views and corresponding elements under each view; a first locking unit, which is used to receive a locking operation performed by the user terminal on the interactive panel, and obtain a view locking operation output by the interactive panel, wherein the view locking operation is used to lock the specified view.

[0016] Optionally, the viewport element locking device for the building information model also includes: a second locking unit, which is used to lock all newly added object elements in each view of the drawing after extracting the drawings, views and elements associated with the target project and listing them in the project view list, and display the locked newly added object elements in the hidden element bar in the interactive panel.

[0017] Optionally, the viewport element locking device for a building information model further includes: an unlocking unit, which is used to restore the object element update function in the designated view in response to an unlocking operation of the user terminal after hiding the newly added object element to be displayed in the designated view and locking the display content of the designated view; when a newly added object element appears in the building information model, the newly added object element is updated in the restored designated view, and the newly added object element is displayed in a display element column corresponding to the designated view.

[0018] Optionally, the viewport element locking device for the building information model also includes: a drawing list display unit, which is used to respond to the panel drawing display instruction, and display the locked drawing list and the unlocked drawing list by the interactive panel; a view list display unit, which is used to respond to the panel view display instruction, and display the locked view list and the unlocked view list by the interactive panel; an element display unit, which is used to respond to the view element display instruction, and display all the elements displayed in the current view and all the elements hidden in the current view by the interactive panel.

[0019] Optionally, the viewport element locking device for the building information model also includes: the visibility status of the object element corresponding to each view in each drawing is directly related to the number of items in the drawing steel bar schedule, wherein the visibility status includes: hiding the newly added object element when the specified view is locked, and restoring the display of the newly added object element when the specified view is unlocked.

[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned viewport element locking methods for a building information model.

[0021] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned viewport element locking methods for a building information model.

[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, which implements the steps of any one of the above-mentioned viewport element locking methods for a building information model when executed by a processor.

[0023] In the present disclosure, after detecting that the user end completes the drawing operation of the target project using the building information model, the drawings, views and elements of the associated target project are extracted and included in the project view list, wherein each view includes at least one element; the content modified by the user end using the building information model is detected to obtain a detection result, wherein when a new object element is added to the building information model, each view displays the object element, and when the detection result indicates that the new object element to be displayed appears in the building information model, the new object element in the specified view is compared to see if it is in the project view list to obtain a comparison result, and when the comparison result indicates that the new object element is not in the project view list, the new object element to be displayed in the specified view is hidden, and the display content of the specified view is locked.

[0024] According to the above disclosed content, the display status of the view can be locked. Even if new objects are added to the model, the locked view can maintain its design integrity and will not be disturbed by the new objects, ensuring that the display status of the elements in each view meets the design requirements, reducing the tedious work of manually adjusting the view due to model updates, saving design time and reducing the error rate, thereby solving the technical problem in the related technology that each time a new object is added to the building information model, the associated view content will automatically add the new object, resulting in the need to manually hide the new object in the view of each drawing, which is a huge workload and prone to errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0026] Figure 1 is a flow chart of an optional method for locking viewport primitives of a building information model according to an embodiment of the present invention;

[0027] Figure 2 is a flowchart of an optional method for locking view display content according to an embodiment of the present invention;

[0028] Figure 3 is a schematic diagram of an optional interactive panel displaying drawings, views and graphic elements according to an embodiment of the present invention;

[0029] Figure 4 is a schematic diagram of a newly added object in an optional model according to an embodiment of the present invention;

[0030] FIG5( a) is a schematic diagram of an optional drawing viewport according to an embodiment of the present invention;

[0031] FIG5( b ) is a schematic diagram of a front side beam according to an embodiment of the present invention;

[0032] FIG5( c ) is a schematic diagram of hidden elements of a front side beam according to an embodiment of the present invention;

[0033] Figure 6 is a schematic diagram of an optional display of a steel bar list according to an embodiment of the present invention;

[0034] Figure 7 is a schematic diagram of an optional viewport primitive locking device for a building information model according to an embodiment of the present invention;

[0035] Figure 8The present invention is a hardware structure block diagram of an electronic device (or mobile device) for executing a viewport primitive locking method for a building information model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0038] It should be noted that the viewport element locking method and device for building information model in the present disclosure can be used in the technical field of drawing update to achieve the locking of drawing viewport elements in building information model.

[0039] The following embodiments of the present invention can be applied to various systems / applications / devices for locking viewport elements in building information models. The present invention avoids the tedious work of designers or engineers manually adjusting each related view after the model is updated by automating the management of the view display content, thereby greatly improving work efficiency and reducing the time for design and document preparation. At the same time, locking the view display content ensures the visual clarity of the design drawings and the consistency of the design intent. Even if new components are added to the model, the locked view will not be disturbed, and its original design layout and visual focus will be maintained.

[0040] The present invention reduces the possible errors and omissions caused by manual adjustment by automatically managing views, improves the accuracy and consistency of drawing information, and reduces the risks in project management. In addition, a user interaction panel is provided, so that users can intuitively view and manage the display status of each view, including lock, unlock and update functions. This not only enhances the user's control over the view content, but also provides the ability to flexibly adjust at different design stages.

[0041] The present invention is described in detail below in conjunction with various embodiments.

[0042] Embodiment 1

[0043] According to an embodiment of the present invention, an embodiment of a viewport element locking method for a building information model is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0044] It should be noted that the embodiments of the present invention can be applied to project design scenarios and construction document preparation scenarios. For example, in the architectural design and drafting stage: when designers are fine-tuning the detailed views of specific design elements, such as elevations, sections or structural details, they often need to ensure that these views will not be affected by subsequent updates of the model. The present invention enables designers to lock the display status of views, so that even if new objects are added to the model, the locked views can maintain their design integrity and will not be disturbed by new objects. When designing large-scale building structures, such as bridges, docks and other projects, multiple views and complex graphics are usually involved. Ensuring that the display status of the graphics in each view meets the design requirements is crucial to generating clear and accurate construction drawings. The present technical solution can effectively manage this process, reduce the tedious work of manually adjusting views due to model updates, save design time and reduce the error rate.

[0045] In addition, during the construction document preparation and project management stage, when the construction team prepares detailed construction drawings, it is necessary to select specific views from the model to display structural details and construction requirements. The locked view display content provided by the embodiment of the present invention can avoid the display of non-related components, ensure that the construction drawings are accurate and easy to understand, and help the smooth progress of the construction process.

[0046] Figure 1 is a flowchart of an optional method for locking viewport primitives for a building information model according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0047] Step S101, after detecting that the user terminal completes the drawing operation of the target project using the building information model, extract the drawings, views and graphic elements associated with the target project and list them in the project view list, wherein each view includes at least one graphic element.

[0048] In step S101, after the user completes the drawing operation of the target project using the building information modeling software, the system automatically identifies and extracts all drawings, views (it can also refer to viewports, each drawing includes multiple partial views) and graphic element information associated with the project, and establishes a detailed project view list. It should be noted that the construction of the project view list can be achieved through the FilteredElementCollector function in the software, which can traverse the entire project, filter and collect all relevant drawings and view elements. Each view contains at least one graphic element, which may be a building component, a structural element, a device or any other entity represented in the model. By arranging this information into a list, the system can clearly understand the content of each view and provide data support for subsequent view display content locking operations.

[0049] It should also be noted that in the process of extracting views and elements, the view.IsElementHidden() function can be used to determine the display status of each element in a specific view, that is, whether it is hidden. This step is crucial for subsequent locking and hiding operations because it helps the system determine which elements are visible in the current view and which are manually hidden, so that newly added elements can be accurately identified when the model is updated.

[0050] Optionally, step S101 may include: identifying all drawings of the target project completed using the building information model and the view IDs of each drawing; establishing a first mapping relationship between all drawings and the view IDs of each drawing, and recording the first mapping relationship in the project view list; identifying each view under each drawing and the object primitive ID under each view; for each drawing, establishing a second mapping relationship between each view under the drawing and the object primitive ID under each view, and recording the second mapping relationship in the project view list.

[0051] Among them, identifying all drawings and view IDs can be when using building information modeling software for project design. The system first identifies all drawings associated with the target project and further extracts the IDs of all views under each drawing. The view ID is the unique identifier of the view in the BIM software, through which each view can be accurately located and managed. After that, the system constructs a first mapping table to associate all drawings with their respective view IDs to form a clear hierarchical relationship. This mapping not only helps the system understand the relationship between drawings and views, but also provides convenience for subsequent view management. The mapping relationship is recorded in the project view list to facilitate subsequent queries and operations. Then for each view under each drawing, the system further identifies and records the IDs of all object elements in the view. Object elements include but are not limited to building components, structural elements, equipment, etc. Subsequently, the system establishes a second mapping relationship for the view in each drawing, associates the view with the element ID to manage the display content of each view. This mapping relationship is also recorded in the project view list to provide data support for subsequent view locking and element management.

[0052] Step S102, detecting the content modified by the user end using the building information model, and obtaining a detection result, wherein when an object primitive is added to the building information model, each view displays the object primitive.

[0053] When users use BIM software to modify the model, the system will detect these changes in real time and record the changes, especially when new objects are added to the model. After these changes are captured by the system, corresponding detection results will be generated, which contain information about the new objects. Due to the characteristics of BIM software, once a new object is added to the model, all views related to it will be automatically updated to display the new object. Although this automatic update mechanism ensures data consistency, it can be inconvenient in some cases, especially when it is necessary to keep a specific view layout and content fixed.

[0054] Step S103, when the detection result indicates that a newly added object graphic element to be displayed appears in the building information model, a comparison is made to see whether the newly added object graphic element in the specified view is in the project view list to obtain a comparison result.

[0055] Once the system detects that new objects have been added to the model, it then automatically identifies and compares these new objects. The system checks whether the new objects to be displayed in the specified view already exist in the project view list. For example, the comparison process is completed by analyzing the view ID and element ID, as well as the current display status of the element in the view. If the new object element does not appear in the list, the system will mark it as a "new object element" to be processed.

[0056] Step S104, when the comparison result indicates that the newly added object primitive is not in the project view list, the newly added object primitive to be displayed in the specified view is hidden, and the display content of the specified view is locked.

[0057] When it is determined that there are new objects in a particular view that are not recorded in the project view list, the system will automatically hide the display of these elements in the view, thereby locking the display content of the specified view and keeping its layout and information stable. For example, the hiding operation can be achieved by automatically calling the View.HideElements function in the building information model, which allows the system to hide a specified set of elements and prevent them from appearing in the locked view. After hiding the new objects, the system locks the display state of the view to prevent subsequent model updates from affecting the view.

[0058] When implementing the above functions, the system also provides a user interaction panel, which allows users to intuitively see which views have been locked and which elements are hidden, and allows users to lock and unlock, as well as view and adjust the display status of a single element in each view. In addition, the system also has the ability to unlock and restore synchronization. Users can choose to restore the synchronous update of views and models, so that hidden elements can be displayed again to meet the requirements of design modification or review.

[0059] Through the above steps, after detecting that the user end completes the drawing operation of the target project using the building information model, the drawings, views and elements of the associated target project can be extracted and included in the project view list, wherein each view includes at least one element; the content modified by the user end using the building information model is detected to obtain a detection result, wherein when an object element is added to the building information model, each view displays the object element, and when the detection result indicates that the newly added object element to be displayed appears in the building information model, the newly added object element in the specified view is compared to see whether it is in the project view list to obtain a comparison result, and when the comparison result indicates that the newly added object element is not in the project view list, the newly added object element to be displayed in the specified view is hidden, and the display content of the specified view is locked. In this embodiment, the display status of the view can be locked. Even if new objects are added to the model, the locked view can maintain its design integrity and will not be disturbed by the new objects, thereby ensuring that the display status of the graphics elements in each view meets the design requirements, reducing the tedious work of manually adjusting the views due to model updates, saving design time and reducing the error rate, thereby solving the technical problem in the related art that each time a new object is added to the building information model, the associated view content will automatically add the new object, resulting in the need to manually hide the new object in the view of each drawing, which is a huge workload and prone to errors.

[0060] Optionally, after extracting drawings, views and elements of the associated target project and listing them in the project view list, the method further includes: responding to the project drawing display instruction, controlling the interactive panel to display all drawing lists and project view lists, wherein the drawing list includes all drawings, and the project view list includes: all views and the corresponding elements under each view; receiving a lock operation performed by the user end on the interactive panel, and obtaining a view lock operation output by the interactive panel, wherein the view lock operation is used to lock the specified view.

[0061] It should be noted that the user can send instructions through the interactive panel to request the display of a list of all drawings and a list of project views. In response to this instruction, a list containing all drawings and view information, as well as the display status of all elements under each view, is displayed, providing users with a comprehensive view management interface and an overview of the element display status.

[0062] In addition, the interactive panel provided in this embodiment also has the function of receiving the user's view locking operation. The user can select a specific view to lock, and the system records this operation and controls the display content of the locked view to no longer change with the model update, maintaining its visual and information integrity.

[0063] Optionally, after extracting drawings, views and elements of the associated target project and listing them in the project view list, it also includes: locking all newly added object elements in each view in the drawing, and displaying the locked newly added object elements in the hidden element bar in the interactive panel.

[0064] That is, when the system detects that a new object element has been added to the model, if the element is related to the locked view, the system will automatically hide the newly added element and display the hidden element information in the hidden element column of the interaction panel. This ensures that the display content of the locked view will not be interfered with by the new element, maintaining the clarity and coherence of the design intent.

[0065] Another optional embodiment includes, after hiding the newly added object graphics elements to be displayed in the specified view and locking the display content of the specified view, responding to the unlocking operation of the user end and restoring the object graphics element update function in the specified view; when the newly added object graphics elements appear in the building information model, updating the newly added object graphics elements in the restored specified view, and displaying the newly added object graphics elements in the display graphics element column corresponding to the specified view.

[0066] In this embodiment, the user can restore the dynamic link between the view and the model through the unlock function of the interactive panel, allowing the view content to be updated according to the model. After unlocking, any newly added object primitives will be re-displayed in the view and listed in the display primitive column, intuitively reflecting the latest status of the model.

[0067] Furthermore, the present embodiment can also perform a list display, and the viewport element locking method for the building information model also includes: responding to the panel drawing display instruction, the interactive panel displays a locked drawing list and an unlocked drawing list; responding to the panel view display instruction, the interactive panel displays a locked view list and an unlocked view list; responding to the view element display instruction, the interactive panel displays all elements displayed in the current view and all elements hidden in the current view.

[0068] Among them, when displaying the list of locked and unlocked drawings and views, the system responds to the panel display command, and the interactive panel displays the locked and unlocked drawing lists and view lists. This function allows users to quickly understand which drawings and views are locked and which are still in a dynamic update state. Then the user can use the view element display command to display all displayed elements and all hidden elements in the current view on the interactive panel. This provides users with real-time control over the view display content, making it easy to show and hide specific elements to meet design or review requirements.

[0069] Optionally, the viewport element locking method for the building information model also includes: the visibility status of the object elements corresponding to each view in each drawing is directly related to the number of items in the drawing steel bar schedule, wherein the visibility status includes: hiding the newly added object elements when the specified view is locked, and restoring the display of the newly added object elements when the specified view is unlocked.

[0070] In building information modeling software, the visibility status of the elements in each view of the drawing directly affects the number of items in the drawing reinforcement schedule. When a specified view is locked and the newly added object element is hidden, the number of items related to the element in the schedule will decrease; when the view is unlocked and the newly added element is restored, the number of items will increase accordingly. This association mechanism ensures the consistency of drawing information and reinforcement schedule, which is crucial for construction document preparation and project cost management.

[0071] The above-mentioned embodiment can avoid the problem that designers or engineers need to manually adjust each related view after the model is modified by automatically identifying and hiding the newly added objects, thereby greatly reducing the workload and improving work efficiency. In addition, locking the view display content ensures the visual clarity of the drawing. Even if new components are added to the model, the locked view will not be disturbed, so that the drawing can be more focused on the core information that the designer or engineer wants to express. Furthermore, users can easily manage the display and hiding status of the view through the interactive panel, including locking, unlocking and updating operations, which provides more flexible and sophisticated control means for complex model management. In large projects, due to the dynamic linking characteristics of views and models, manual management of view display content often becomes a bottleneck in project management. The present invention optimizes the efficiency of project document preparation and review by automating this process, and provides an important technical tool for project management.

[0072] Another optional specific implementation is described in detail below.

[0073] The goal of the embodiments of the present invention is to solve the problem that when a new object is added to a model in a general modeling software, the display content of the related views will be added. The specific solution introduces the "view display content custom setting" function, allowing users to lock the display status of the element in the drawing view, thereby avoiding manual resetting after each model modification.

[0074] Figure 2 is a flowchart of an optional method for locking view display content according to an embodiment of the present invention. Figure 2 As shown, including:

[0075] The first step is to extract project drawings, views, and element information and include them in the list.

[0076] In this embodiment, an interactive panel can be provided through TaskDialog for user operation, displaying all drawings (ViewSheet) and view (View) information, allowing the user to view and manage the list of displayed and hidden elements (Elements) in the current viewport.

[0077] In this embodiment, a drawing lock function button may be provided, for example:

[0078] Fi lteredElementCollector: Extract drawings, views, and elements from a project.

[0079] view.IsElementHidden(): Determines whether the element is hidden in the view.

[0080] The second step is to select view lock through the interaction panel.

[0081] Figure 3 is a schematic diagram of an optional interactive panel displaying drawings, views and graphic elements according to an embodiment of the present invention, such as Figure 3 As shown, the interactive panel can display the drawing list (including all locked drawing information and unlocked drawing information), the view list (including all locked view information and unlocked view information), the elements displayed in the current view, the elements hidden in the current view, the current element display view, and the current element hidden view.

[0082] It should be noted that this embodiment may provide buttons such as Apply, Lock All, Release All, Update All, Highlight Selected, and OK on the interactive panel.

[0083] Lock the view display content. After the model is modified, compare whether the objects in the locked view are in the original list of the view. If not, hide the newly added elements in the view through View.HideElements, so as to lock the display content of the view.

[0084] Then identify the view IDs of each drawing and record the relationship between drawings and views in a list so that when the drawing is locked, all views in the drawing can be linked together. Figure 1 and locked.

[0085] Afterwards, all newly added entities in the locked view can be displayed in the hidden entity column in the panel. The hidden entity column lists all hidden objects in the view.

[0086] The third step is to modify the BIM model.

[0087] Figure 4 is a schematic diagram of a newly added object in an optional model according to an embodiment of the present invention, such as Figure 4 As shown, after modifying the BIM model, a new object (front beam) is added to the model, and each view will display the new element.

[0088] Step 4: Update the locked view display.

[0089] Figure 5(a) is a schematic diagram of an optional drawing viewport according to an embodiment of the present invention. As shown in Figure 5(a), a structural reinforcement drawing of the front beam of the newly added object is displayed, and different views and steel bar arrangements are marked on the drawing.

[0090] Specifically, the 1-1 cross-sectional view (viewed from the side) in FIG. 5( a) Figure 1 _1) shows the arrangement of the steel bars inside the structure. FIG5(b) is a schematic diagram of the graphic elements of the front side beam according to an embodiment of the present invention. As shown in FIG5(b), the graphic elements of the front side beam include the front side beam structure, the front side beam steel bars, the front side beam text labeling, etc.

[0091] Furthermore, the contents of hidden graphics can also be displayed. Figure 5(c) is a schematic diagram of hidden graphics of the front side beam according to an embodiment of the present invention. As shown in Figure 5(c), it is a display of hidden graphics of the 1-1 section view, showing the graphics hidden in the 1-1 section view, including graphics other than the front side beam, such as panels, wheel guards, beams, pile caps, etc.

[0092] The elevation view in Figure 5(a) (view Figure 1 _2): Shows the overall appearance of the structure and the distribution of steel bars.

[0093] The lifting hole reinforcement diagram in Figure 5(a) (view Figure 1 _3): Provides detailed information on the location of the structural lifting holes, including the specific location and layout of the steel bars.

[0094] The steel bar schedule in Figure 5(a) lists in detail the type, diameter, length and quantity of each steel bar.

[0095] The material table in Figure 5(a) lists the materials used in the drawing and their specifications.

[0096] Scale bar in Figure 5(a): The scale bar marked in the lower right corner of the view indicates the proportional relationship between the dimensions on the view and the actual dimensions.

[0097] Figure 6 is a schematic diagram of an optional display of a steel bar list according to an embodiment of the present invention, such as Figure 6 As shown, the information of the steel bars numbered 1-6 is displayed, including: schematic diagram, specification, single length, quantity, spacing, total length of steel bars, weight per linear meter, and total weight of single piece. The visibility of drawing view objects can be directly related to the number of items in the drawing steel bar list.

[0098] Step 5: Check if the object exists in the list. If yes, go to step 6; if not, go to step 7.

[0099] Step 6. Keep the current display status unchanged and end.

[0100] Step 7: Hide the newly added graphics.

[0101] Check the display and hiding status of a single element in each view. After selecting a single element, open the interactive panel, and you can see and adjust the display and hiding status of the element in each view on the right side of the panel.

[0102] At the same time, the present invention also provides unlocking and resuming synchronization functions. The user can choose to unlock the view and resume the synchronous update of the drawing viewport content. Subsequently, newly added graphics will appear in the view. The hidden elements in the view can be restored through View.ShowElements. After restoration, all newly added graphics will be displayed in the "Show Element Bar".

[0103] The embodiment of the present invention provides a method for locking the display of drawing viewport elements, which can realize batch locking of element display status in drawing views in general modeling software, provide users of building information modeling software with refined management and control of view display content, and greatly improve the efficiency and accuracy of design and construction document preparation. At the same time, through direct association with the steel bar schedule, the system also ensures the consistency and reliability of key data in the construction documents, laying a foundation for the smooth progress of the construction phase.

[0104] The following is a detailed description in conjunction with another embodiment.

[0105] Embodiment 2

[0106] The viewport primitive locking device for a building information model provided in this embodiment includes a plurality of implementation units, each of which corresponds to each implementation step in the above-mentioned first embodiment.

[0107] Figure 7 is a schematic diagram of an optional viewport element locking device for a building information model according to an embodiment of the present invention, such as Figure 7 As shown, the viewport primitive locking device for building information model may include: a drawing extraction unit 71, a modification result detection unit 72, a view comparison unit 73, and a primitive locking unit 74.

[0108] The drawing extraction unit 71 is used to extract drawings, views and graphic elements of the associated target project and list them in the project view list after detecting that the user terminal completes the drawing operation of the target project using the building information model, wherein each view includes at least one graphic element.

[0109] The modification result detection unit 72 is used to detect the content modified by the user end using the building information model and obtain the detection result, wherein when an object primitive is added to the building information model, each view displays the object primitive.

[0110] The view comparison unit 73 is used to compare whether the newly added object primitive in the specified view is in the project view list when the detection result indicates that the newly added object primitive to be displayed appears in the building information model, and obtain a comparison result.

[0111] The graphic element locking unit 74 is used to hide the new object graphic element to be displayed in the specified view and lock the display content of the specified view when the comparison result indicates that the new object graphic element is not in the project view list.

[0112] The above-mentioned viewport element locking device for building information model can extract drawings, views and elements of the associated target project and include them in the project view list after detecting that the user end uses the building information model to complete the drawing operation of the target project through the drawing extraction unit 71, wherein each view includes at least one element, and detect the content modified by the user end using the building information model through the modification result detection unit 72 to obtain the detection result, wherein when an object element is added to the building information model, each view displays the object element, and when the detection result indicates that the newly added object element to be displayed appears in the building information model, the view comparison unit 73 compares whether the newly added object element in the specified view is in the project view list to obtain the comparison result, and when the comparison result indicates that the newly added object element is not in the project view list, the element locking unit 74 hides the newly added object element to be displayed in the specified view and locks the display content of the specified view. In this embodiment, the display status of the view can be locked. Even if new objects are added to the model, the locked view can maintain its design integrity and will not be disturbed by the new objects, thereby ensuring that the display status of the graphics elements in each view meets the design requirements, reducing the tedious work of manually adjusting the views due to model updates, saving design time and reducing the error rate, thereby solving the technical problem in the related art that each time a new object is added to the building information model, the associated view content will automatically add the new object, resulting in the need to manually hide the new object in the view of each drawing, which is a huge workload and prone to errors.

[0113] Optionally, the drawing extraction unit includes: a drawing identification module, used to identify all drawings of the target project completed using the building information model and the view IDs of each drawing; a first mapping relationship establishment module, used to establish a first mapping relationship between all drawings and the view IDs of each drawing, and record the first mapping relationship in the project view list; a view identification module, used to identify each view under each drawing and the object primitive ID under each view; a second mapping relationship establishment module, used to establish, for each drawing, a second mapping relationship between each view under the drawing and the object primitive ID under each view, and record the second mapping relationship in the project view list.

[0114] Optionally, the viewport element locking device for the building information model also includes: a drawing display unit, which is used to respond to the project drawing display instruction after extracting the drawings, views and elements of the associated target project and listing them in the project view list, and control the interactive panel to display all drawing lists and project view lists, wherein the drawing list includes all drawings, and the project view list includes: all views and the corresponding elements under each view; a first locking unit, which is used to receive the locking operation performed by the user end on the interactive panel, and obtain the view locking operation output by the interactive panel, wherein the view locking operation is used to lock the specified view.

[0115] Optionally, the viewport element locking device for the building information model also includes: a second locking unit, which is used to lock all newly added object elements in each view in the drawing after extracting the drawings, views and elements of the associated target project and listing them in the project view list, and display the locked newly added object elements in the hidden element bar in the interactive panel.

[0116] Optionally, the viewport element locking device for a building information model further includes: an unlocking unit, which is used to hide newly added object elements to be displayed in a specified view, lock the display content of the specified view, and then respond to an unlocking operation of the user terminal to restore the object element update function in the specified view; when newly added object elements appear in the building information model, the newly added object elements are updated in the restored specified view, and the newly added object elements are displayed in the display element column corresponding to the specified view.

[0117] Optionally, the viewport element locking device for the building information model also includes: a drawing list display unit, which is used to respond to the panel drawing display instruction, and display the locked drawing list and the unlocked drawing list by the interactive panel; a view list display unit, which is used to respond to the panel view display instruction, and display the locked view list and the unlocked view list by the interactive panel; an element display unit, which is used to respond to the view element display instruction, and display all the elements displayed in the current view and all the elements hidden in the current view by the interactive panel.

[0118] Optionally, the viewport element locking device for the building information model also includes: the visibility status of the object element corresponding to each view in each drawing is directly related to the number of items in the drawing steel bar schedule, wherein the visibility status includes: hiding the newly added object element when the specified view is locked, and restoring the display of the newly added object element when the specified view is unlocked.

[0119] The above-mentioned viewport element locking device for building information modeling can also include a processor and a memory. The above-mentioned drawing extraction unit 71, modification result detection unit 72, view comparison unit 73, element locking unit 74, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0120] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the display locking of the drawing viewport element of the BIM model can be achieved by adjusting the kernel parameters.

[0121] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0122] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the viewport element locking methods for a building information model in the above-mentioned embodiment 1.

[0123] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the viewport element locking method for a building information model of any one of the above-mentioned embodiments one.

[0124] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the viewport element locking method for a building information model described in various embodiments of the present application.

[0125] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the viewport element locking method for a building information model described in each embodiment of the present application are implemented.

[0126] Figure 8 1 is a hardware structure block diagram of an electronic device (or mobile device) for executing a viewport primitive locking method for a building information model according to an embodiment of the present invention. Figure 8 As shown, the electronic device may include one or more ( Figure 8 802a, 802b, ..., 802n are used to illustrate) a processor (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 804 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. A person skilled in the art can understand that Figure 8 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 8 More or fewer components as shown, or with Figure 8 Different configurations are shown.

[0127] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0128] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0129] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0131] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0132] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0133] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for locking viewport elements in a building information model, characterized in that: include: After detecting that the user terminal completes the drawing operation of the target project using the building information model, extracting drawings, views and graphic elements associated with the target project and listing them in a project view list, wherein each view includes at least one graphic element; detecting content modified by the user end using the building information model to obtain a detection result, wherein when an object primitive is added to the building information model, each view displays the object primitive; When the detection result indicates that a newly added object graphic element to be displayed appears in the building information model, comparing whether the newly added object graphic element in the specified view is in the project view list to obtain a comparison result; When the comparison result indicates that the newly added object primitive is not in the project view list, the newly added object primitive to be displayed in the designated view is hidden, and the display content of the designated view is locked.

2. The viewport primitive locking method according to claim 1, characterized in that: The steps of extracting drawings, views and elements associated with the target project and listing them in the project view list include: Identify all drawings that use the building information model to complete the target project and the view IDs under each drawing; Establishing a first mapping relationship between all drawings and each view ID under each drawing, and recording the first mapping relationship in the project view list; Identify each view under each drawing and the object element ID under each view; For each drawing, a second mapping relationship between each view under the drawing and the object primitive ID under each view is established, and the second mapping relationship is recorded in the project view list.

3. The viewport primitive locking method according to claim 1, characterized in that: After extracting the drawings, views and elements associated with the target project and listing them in the project view list, it also includes: In response to the project drawing display instruction, the interactive panel is controlled to display a list of all drawings and a list of project views, wherein the list of drawings includes all drawings, and the list of project views includes: all views and corresponding graphic elements under each view; A locking operation performed by the user terminal on the interactive panel is received, and a view locking operation output by the interactive panel is obtained, wherein the view locking operation is used to lock the specified view.

4. The viewport primitive locking method according to claim 1, characterized in that: After extracting the drawings, views and elements associated with the target project and listing them in the project view list, it also includes: Lock all newly added object elements in each view of the drawing, and display the locked newly added object elements in the hidden element column in the interaction panel.

5. The viewport primitive locking method according to claim 1, characterized in that: After hiding the newly added object primitive to be displayed in the specified view and locking the display content of the specified view, the method further includes: In response to the unlocking operation of the user terminal, the object primitive updating function in the specified view is restored; When a newly added object element appears in the building information model, the newly added object element is updated in the restored designated view, and the newly added object element is displayed in a display element column corresponding to the designated view.

6. The viewport primitive locking method according to claim 1, characterized in that: Also includes: In response to the panel drawing display command, the interactive panel displays the locked drawing list and the unlocked drawing list; In response to the panel view display instruction, the interactive panel displays a locked view list and an unlocked view list; In response to the view element display instruction, the interactive panel displays all elements displayed in the current view and all elements hidden in the current view.

7. The viewport primitive locking method according to claim 1, characterized in that: Also includes: The visibility status of the object graphics elements corresponding to each view in each drawing is directly related to the number of items in the drawing steel bar schedule, wherein the visibility status includes: hiding the newly added object graphics elements when the specified view is locked, and restoring the display of the newly added object graphics elements when the specified view is unlocked.

8. A viewport element locking device for a building information model, characterized in that: include: A drawing extraction unit is used to extract drawings, views and graphic elements associated with the target project and list them in a project view list after detecting that the user terminal completes the drawing operation of the target project using the building information model, wherein each view includes at least one graphic element; a modification result detection unit, used to detect the content modified by the user end using the building information model, and obtain a detection result, wherein when an object primitive is added to the building information model, each view displays the object primitive; A view comparison unit, configured to compare whether the newly added object primitive to be displayed in the specified view is in the project view list when the detection result indicates that the newly added object primitive to be displayed appears in the building information model, to obtain a comparison result; The graphic element locking unit is used to hide the new object graphic element to be displayed in the specified view and lock the display content of the specified view when the comparison result indicates that the new object graphic element is not in the project view list.

9. An electronic device, characterized in that: The method comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the viewport element locking method for a building information model as described in any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the viewport element locking method for a building information model described in any one of claims 1 to 7 are implemented.