A method and device for determining model object floor information in BIM software

By automatically calculating the floor information of model objects in BIM software, the problem of floor information not being updated after cross-floor operations is solved, achieving efficient and accurate floor information matching, and improving design efficiency and model standardization.

CN122241834APending Publication Date: 2026-06-19GLODON CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GLODON CO LTD
Filing Date
2026-03-26
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

In existing BIM design software, when model objects are moved or copied across floors, the floor information cannot be updated automatically, resulting in cumbersome operations, low efficiency, and a high risk of errors, which affects the accuracy and consistency of the design process.

Method used

By acquiring the user's dragging operation across floors in the elevation and section view, the height offset value of the model object is calculated, and the floor information of the model object in the new position is automatically determined using the preset floor elevation database and positioning rules. This includes the geometric center of linear components and the base point or baseline midpoint of point components as key points, and precise matching is performed in combination with the floor positioning rules.

Benefits of technology

It enables dynamic updating and accurate matching of floor information for model objects, reducing the workload of designers in repeatedly checking and manually modifying information, improving design efficiency, ensuring the standardization and integrity of the model, and providing accurate data for subsequent construction drawings and quantity statistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122241834A_ABST
    Figure CN122241834A_ABST
Patent Text Reader

Abstract

This application discloses a method and apparatus for determining floor information of a model object in BIM software. The method includes: acquiring a drag operation performed by a user on a target model object in a target building project across floors in an elevation / section view; wherein the drag operation is used to move or copy the target model object from its original position to a target position; calculating the offset value of the target model object in the height direction based on the drag operation; acquiring the elevation information of each floor in the target building project using a preset floor elevation database; and determining the floor information of the target model object at the target position based on the original elevation value, offset value, and elevation information of each floor when the target model object is at its original position using preset floor positioning rules. This application can automatically calculate the floor information of the model object at the new position based on the user's drag operation across floors, without manual adjustment, significantly improving design efficiency and the accuracy of model information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer-aided design technology, and in particular to a method and apparatus for determining floor information of model objects in BIM software. Background Technology

[0002] Currently, BIM design software is widely used throughout the entire architectural design process, and model editing in elevation and section views (including operations such as moving and copying) is one of the core aspects of architectural design. The accurate positioning of the floor to which the model object belongs directly affects the integrity and standardization of the building information model, as well as the accuracy of subsequent construction and quantity calculation processes.

[0003] In existing BIM design software, floor information for model objects primarily relies on manual settings. Specifically, when a model object is created, the user typically manually specifies its floor, or the software defaults to binding it to the current floor at creation time. When a user performs cross-floor movement or copying operations on a model object in elevation or section views, the actual position of the model object changes, but the floor information recorded in its properties remains in the initial setting and cannot be automatically updated. At this point, designers must manually modify the floor information of the model object to match its actual position. This manual adjustment method is not only cumbersome and inefficient, but also prone to omissions or errors, leading to discrepancies between the floor information and the actual situation, affecting the accuracy and consistency of subsequent design processes.

[0004] Therefore, how to automatically determine the floor information of a model object in a new location when moving or copying it across floors, in order to overcome the problems of low efficiency and error-proneness caused by relying on manual adjustment in the prior art, has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this application is to provide a method and apparatus for determining the floor information of model objects in BIM software. This application was completed with the support of the project titled "Key Technologies for Construction and Application of Large Models of Building Engineering" and project number "2024YFC3811200". This application can automatically calculate the floor information of model objects at new locations based on the user's cross-floor dragging operation, without the need for manual adjustment, which significantly improves design efficiency and the accuracy of model information.

[0006] To achieve the above objectives, this application provides a method for determining floor information of model objects in BIM software, the method comprising:

[0007] The system retrieves cross-floor drag operations performed by a user on a target model object in a target building project within an elevation / section view; wherein the drag operation is used to move or copy the target model object from its original position to a target position. Based on the drag operation, calculate the offset value of the target model object in the height direction; Using a pre-set floor elevation database, obtain the elevation information of each floor in the target building project; Using preset floor positioning rules, the floor information of the target model object when it is located at the target position is determined based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

[0008] Optionally, the step of using preset floor positioning rules to determine the floor information of the target model object at the target location based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor includes: Obtain the component type of the target model object, and determine the key points corresponding to the component type from the target model object according to the floor positioning rules; wherein, for linear components, the geometric center is the key point, and for point components, the base point or the midpoint of the baseline is the key point; Determine the original elevation value of the key point relative to the origin of the coordinate system when the target model object is located at the original position, and set the sum of the original elevation value and the offset value as the reference elevation value; According to the floor positioning rules, and using the reference elevation value and the elevation information of each floor, the floor information when the target model object is located at the target position is determined.

[0009] Optionally, determining the floor information when the target model object is located at the target position according to the floor positioning rules and using the reference elevation value and the elevation information of each floor includes: If the reference elevation value is greater than the maximum elevation value in the floor elevation database, then the top floor of the target building project is set as the floor information. If the reference elevation value is less than the minimum elevation value in the floor elevation database, then the bottom floor of the target building project is set as the floor information. If the reference elevation value is greater than or equal to the bottom elevation in the Nth layer elevation information And it is less than the bottom elevation in the (N+1)th layer elevation information. Then obtain the floor height C of the Nth floor, when the reference elevation value is greater than or equal to And less than or equal to (R×C+ When the reference elevation value is greater than (R×C+), the Nth floor is set as the floor information. and less than When the (N+1)th floor is set as the floor information, R is a preset ratio value.

[0010] Optionally, after determining the floor information of the target model object at the target location based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor using preset floor positioning rules, the method further includes: Obtain the original positioning information of the target model object when it is located at the original position; wherein, the original positioning information includes: the original bottom reference elevation, the original bottom offset value relative to the original bottom reference elevation, the original top reference elevation, and the original top offset value relative to the original top reference elevation; The floor difference is calculated based on the floor information of the target model object when it is located at the target location and the floor information of the target model object when it is located at the original location. The original bottom reference elevation and the original top reference elevation are added to the floor difference to obtain the target bottom reference elevation and the target top reference elevation, respectively. The target bottom offset value is calculated based on the original bottom reference elevation, the original bottom offset value, the offset value, and the target bottom reference elevation; The target top offset value is calculated based on the original top reference elevation, the original top offset value, the offset value, and the target top reference elevation; The target bottom reference elevation, the target bottom offset value, the target top reference elevation, and the target top offset value are used as the target positioning information when the target model object is located at the target position.

[0011] Optionally, the method further includes: When a new model object is created in the elevation section view, the key points of the new model object are determined using the floor positioning rules, and the initial elevation value of the key points is determined. Based on the initial elevation value, and using the floor elevation database and the floor positioning rules, the floor information of the new model object is automatically calculated.

[0012] Optionally, when the target model object is a multi-floor model object, the method further includes: Obtain the lowest and highest elevation values ​​of the target model object when it is located at the target position; Based on the lowest point elevation value and the highest point elevation value, and using the floor elevation database and the floor positioning rules, determine the first floor information corresponding to the lowest point elevation value and the second floor information corresponding to the highest point elevation value; All consecutive floors between the first floor information and the second floor information are determined as the floor information of the target model object at the target location.

[0013] To achieve the above objectives, this application also provides an apparatus for determining floor information of model objects in BIM software, the apparatus comprising: The drag module is used to acquire cross-floor drag operations performed by the user on a target model object in the target building project in the elevation and section view; wherein, the drag operation is used to move or copy the target model object from its original position to a target position; The calculation module is used to calculate the offset value of the target model object in the height direction based on the drag operation; The acquisition module is used to acquire the elevation information of each floor in the target building project using a preset floor elevation database; The determination module is used to determine the floor information of the target model object when it is located at the target position by using preset floor positioning rules, based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

[0014] Optionally, the determining module is used to: Obtain the component type of the target model object, and determine the key points corresponding to the component type from the target model object according to the floor positioning rules; wherein, for linear components, the geometric center is the key point, and for point components, the base point or the midpoint of the baseline is the key point; Determine the original elevation value of the key point relative to the origin of the coordinate system when the target model object is located at the original position, and set the sum of the original elevation value and the offset value as the reference elevation value; According to the floor positioning rules, and using the reference elevation value and the elevation information of each floor, the floor information when the target model object is located at the target position is determined.

[0015] To achieve the above objectives, this application also provides a computer device, which specifically includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method for determining floor information of model objects in BIM software as described above.

[0016] To achieve the above objectives, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above for determining floor information of model objects in BIM software.

[0017] The method and apparatus provided in this application for determining floor information of model objects in BIM software automatically calculate the height offset value in response to the user's cross-floor dragging operation on the model object in the elevation and section view. Combined with a preset floor elevation database and floor positioning rules, it directly determines the floor information after the model object is moved or copied to a new location. This application completely eliminates the cumbersome process of manually setting or modifying floor information in traditional BIM design, achieving dynamic updating and accurate matching of floor information. This application significantly reduces the workload of designers in manually checking and modifying floor attributes one by one after cross-floor operations, avoiding human omissions or errors, thereby improving overall design efficiency. It also provides an accurate and reliable data foundation for subsequent construction drawing output, quantity surveying, and clash detection, effectively ensuring the standardization and integrity of the BIM model. Attached Figure Description

[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a schematic diagram of an optional process for determining floor information of a model object in BIM software, as provided in Embodiment 1. Figure 2 This is a schematic diagram of an optional component structure of the device for determining floor information of a model object in BIM software, as provided in Embodiment 2. Figure 3 This is a schematic diagram of an optional hardware structure for the computer device provided in Embodiment 3. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0020] Example 1 This application provides a method for determining floor information of model objects in BIM software, such as... Figure 1 As shown, the method specifically includes the following steps: Step S101: Obtain the cross-floor drag operation performed by the user on the target model object in the target building project in the elevation section view; wherein, the drag operation is used to move or copy the target model object from its original position to the target position.

[0021] The elevation and section views are the interface in BIM software that displays the vertical structure of a building. Users can visually view and manipulate model objects on different floors within this view; these objects include various building components such as floor slabs, stair beams, curtain walls, doors, and windows. This step involves recognizing and acquiring user actions, which serve as trigger conditions for subsequent automated processing.

[0022] Step S102: Calculate the offset value of the target model object in the height direction according to the drag operation.

[0023] In this embodiment, after detecting a user's cross-floor dragging operation on a target model object, the software records the coordinate parameters of the model object's original position before dragging and its target position after dragging in the vertical height direction (Z-axis) of the building project. By comparing the difference in vertical coordinates between the original position and the target position, the vertical distance between the two in the height direction is calculated. This vertical distance is the offset value of the target model object in the height direction. The offset value directly reflects the distance and direction of the model's vertical dragging, providing accurate vertical displacement data for the subsequent determination of floor information.

[0024] Step S103: Use a preset floor elevation database to obtain the elevation information of each floor in the target building project.

[0025] In this embodiment, a floor elevation database is pre-constructed based on the BIM model information of the target building project. This database stores the elevation information, floor identifiers, and floor order of each floor in the target building project. The elevation information of a single floor includes both the bottom and top elevations. Furthermore, the floor elevation database is linked to the target building project, supporting the addition, deletion, and elevation adjustment of floors. When floor information changes, the floor elevation database is automatically updated, simultaneously triggering a recalculation of the floor positioning for all associated model objects to ensure information synchronization.

[0026] Step S104: Using preset floor positioning rules, determine the floor information of the target model object when it is located at the target position based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

[0027] The original elevation value refers to the characteristic value used to characterize the height of the target model object at its original position, reflecting its vertical height reference. Adding this original elevation value to the offset value yields the reference elevation value of the target model object at the target position. This reference elevation value represents the height reference of the target model object at the new position. Subsequently, this reference elevation value is compared with the elevation information of each floor according to floor positioning rules to determine the floor information of the target model object at the target position. For example, the floor positioning rules stipulate that: if the reference elevation value is greater than or equal to the bottom elevation of a certain floor and less than the top elevation of that floor, then the floor information of the target model object at the target position is determined to be that floor; if the reference elevation value is exactly equal to the top elevation of a certain floor, then if that floor is the top floor of the target building project, then the floor information of the target model object at the target position is determined to be that floor; or, if that floor is not the top floor of the target building project, then the floor information of the target model object at the target position is determined to be the floor above that floor. Through the above logic, this step achieves automatic and accurate determination of floor information.

[0028] In this embodiment, when a user performs a copy or move operation across elevations (across floors) on a target model object in an elevation / section view, the BIM software automatically reads the elevation value at the new location after copying or moving the target model object. Combining this with the floor elevation database and floor positioning rules, it calculates the floor information to which the target model object belongs at the new location and binds the corresponding floor identifier to the target model object at the new location. This embodiment completely eliminates the cumbersome process of manually setting or modifying floor information in traditional BIM design, achieving dynamic updates and accurate matching of floor information. This embodiment significantly reduces the workload of designers in manually checking and modifying floor attributes one by one after cross-floor operations, avoiding human omissions or errors, thereby improving overall design efficiency. It also provides an accurate and reliable data foundation for subsequent construction drawing output, quantity surveying, and clash detection, effectively ensuring the standardization and integrity of the BIM model.

[0029] It should also be noted that this embodiment supports batch copying of target model objects across multiple floors. Users can select multiple target locations in the elevation and section views and perform batch drag-and-drop copying operations on the target model objects across floors. The software will automatically copy the target model objects to each target location. For each newly copied model object, based on the preset floor elevation database and floor positioning rules, it will automatically calculate and determine its floor information at the corresponding target location, and bind the matching floor information to each new model object. The entire batch copying process does not require users to operate one by one or make manual modifications, and can automatically determine the floor information of multiple models and multiple floors, effectively simplifying the model editing process, avoiding omissions and errors caused by manual operation, and improving the efficiency of batch processing of models across floors in BIM software.

[0030] Specifically, step S104, which uses preset floor positioning rules to determine the floor information of the target model object at the target location based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor, includes the following steps: Step A1: Obtain the component type of the target model object, and determine the key points corresponding to the component type from the target model object according to the floor positioning rules; wherein, linear components use the geometric center as the key point, and point components use the base point or the midpoint of the baseline as the key point.

[0031] It should be noted that linear components refer to building components that extend in a single direction, such as walls, beams, and columns. For linear components, their spatial position is usually characterized by their geometric center, therefore, their geometric center is used as the key point. Point components refer to building components that do not have obvious linear extension and are distributed in a block-like or point-like manner, such as doors, windows, furniture, and equipment. The positioning of point components usually depends on their installation or placement reference points, therefore, their base point or the midpoint of the baseline is used as the key point. The base point refers to the feature point defined in the software for positioning the component, such as the center point of the bottom surface of a floor slab; the baseline refers to the centerline of the component in its length direction, such as the centerline of the bottom surface of a wall. For components such as inclined beams, the midpoint of their baseline is taken as the key point. Through the above distinction, this step can accurately select key points for subsequent calculations based on the positioning characteristics of different types of components.

[0032] Step A2: Determine the original elevation value of the key point relative to the origin of the coordinate system when the target model object is located at the original position, and set the sum of the original elevation value and the offset value as the reference elevation value.

[0033] In this embodiment, the height value of the key point of a linear component relative to the origin of the coordinate system can be denoted as D, and the height value of the key point of a point component relative to the origin of the coordinate system can be denoted as G. D or G is the original elevation value when the target model object is in its original position. Subsequently, this original elevation value is added to the offset value H calculated based on the drag operation to obtain the reference elevation value X when the target model object is in the target position, that is: for linear components, X = H + D; for point components, X = H + G. This reference elevation value X is the basic parameter for subsequent determination of floor information.

[0034] In this embodiment, the geometric center extraction module built into the BIM software can be used to automatically identify the geometric boundaries of the model object, calculate the three-dimensional geometric center coordinates of the model object, and extract the elevation value (Z-axis coordinate) as the core basis for positioning judgment. In addition, for irregularly shaped models, a weighted average algorithm is used to calculate the geometric center to determine the accuracy of the elevation value extraction.

[0035] Step A3: According to the floor positioning rules, and using the reference elevation value and the elevation information of each floor, determine the floor information when the target model object is located at the target position.

[0036] In this embodiment, the floor positioning rule stipulates that: if the reference elevation value of the key point of the target model object is located between the bottom elevation (inclusive) and the top elevation (exclusive) of a certain floor, then the floor information of the target model object at the target location is determined to be that floor; if the reference elevation value of the target model object is exactly equal to the top elevation of a certain floor, then when the floor is the top floor, the floor information of the target model object at the target location is determined to be that floor; when the floor is not the top floor, the floor information of the target model object at the target location is determined to be the floor above that floor.

[0037] The floor positioning rules in this embodiment clarify, on the one hand, the selection method for determining the corresponding key points for elevation calculation based on different component types, obtaining the original elevation value based on the key points and calculating the reference elevation value by combining the offset value; on the other hand, a standardized floor assignment calculation logic is built-in, which compares the calculated reference elevation value with the elevation information of each floor in the floor elevation database, performs interval matching, completes the numerical comparison and floor matching according to the preset elevation assignment judgment logic, and finally determines the floor information corresponding to the target model object at the target location.

[0038] Furthermore, step A3, which involves determining the floor information of the target model object at the target location according to the floor positioning rules and using the reference elevation value and the elevation information of each floor, specifically includes the following steps: Step A31: If the reference elevation value is greater than the maximum elevation value in the floor elevation database, then set the top floor of the target building project as the floor information; Step A32: If the reference elevation value is less than the minimum elevation value in the floor elevation database, then the bottom floor of the target building project is set as the floor information; Step A33: If the reference elevation value is greater than or equal to the bottom elevation in the Nth layer elevation information And it is less than the bottom elevation in the (N+1)th layer elevation information. Then obtain the floor height C of the Nth floor, when the reference elevation value is greater than or equal to And less than or equal to (R×C+ When the reference elevation value is greater than (R×C+), the Nth floor is set as the floor information. and less than When the (N+1)th floor is set as the floor information, R is a preset ratio value.

[0039] In this embodiment, if the reference elevation value exceeds the maximum or minimum elevation range in the floor elevation database, it is directly set as the top or bottom floor to ensure reasonable attribution in extreme cases.

[0040] Furthermore, in traditional BIM software, for model components with small thickness or low height (such as thin floor slabs, canopies, etc.), the location of their key points (such as geometric centers or base points) may be very close to the floor boundaries. For example, the key point of a thin component may fall in the top area of ​​the Nth floor, but according to design conventions, this component should actually belong to the (N+1)th floor. If the judgment is made solely based on the elevation range where the key point is located, such components will be incorrectly assigned to the next floor, resulting in floor assignments that do not conform to the actual design intent, and the designer will still need to manually correct them. To avoid the above situation, in this embodiment, when the reference elevation value X is located at the bottom elevation of the Nth floor... Elevation of the bottom of the (N+1)th layer In the intermediate steps, first, the Nth layer is determined as the target layer and its height C is obtained. Then, a preset ratio value R (preferably 0.8) is introduced to divide the Nth layer into two regions in the height direction: from to( The first region of +R×C, and from ( +R×C) to The second region is defined. If X falls in the first region, the target model object is determined to belong to the Nth floor; if X falls in the second region, it is determined to belong to the (N+1)th floor. By introducing the floor height ratio parameter R, the floor intervals are finely divided, and a "transition zone" is defined in the top area of ​​the floor. Components whose key points fall in this area are automatically determined to be on the upper floor, thus simulating the judgment logic of designers in actual work. In particular, when R is 0.8, it can effectively avoid misjudgments caused by the key point position being close to the floor boundary line, making the floor assignment of thin-walled components and near-boundary components more in line with business habits, and greatly improving the accuracy and reliability of automatic calculation.

[0041] Furthermore, after step S104, the method further includes: Step B1: Obtain the original positioning information of the target model object when it is located at the original position; wherein, the original positioning information includes: the original bottom reference elevation, the original bottom offset value relative to the original bottom reference elevation, the original top reference elevation, and the original top offset value relative to the original top reference elevation; Step B2: Calculate the floor difference based on the floor information of the target model object when it is located at the target location and the floor information of the target model object when it is located at the original location; Step B3: Add the original bottom reference elevation and the original top reference elevation to the floor difference to obtain the target bottom reference elevation and the target top reference elevation; Step B4: Calculate the target bottom offset value based on the original bottom reference elevation, the original bottom offset value, the offset value, and the target bottom reference elevation; Step B5: Calculate the target top offset value based on the original top reference elevation, the original top offset value, the offset value, and the target top reference elevation; Step B6: Use the target bottom reference elevation, the target bottom offset value, the target top reference elevation, and the target top offset value as the target positioning information when the target model object is located at the target position.

[0042] After determining the floor information of the target model object at the target location, this embodiment also includes an automatic adjustment step for its positioning information. In BIM software, in addition to the floor information, model objects also contain positioning information used to determine their specific vertical placement. Positioning information typically includes bottom reference elevation, bottom offset value, top reference elevation, and top offset value. The bottom and top reference elevations refer to the floor reference planes (e.g., 1F and 2F) referenced by the lowest and highest points of the model object; the bottom offset value is the vertical distance between the lowest point of the model object and the reference floor reference plane, and the top offset value is the vertical distance between the highest point of the model object and the reference floor reference plane. By combining these parameters, different positioning methods for the same model object can be flexibly expressed. For example, a model object with a height of 3 meters, if the first floor height is 3 meters, can be represented as follows: bottom reference elevation is 1F, bottom offset is 0 meters, top reference elevation is 2F, top offset is 0 meters; it can also be represented as bottom reference elevation is 1F, bottom offset is 0 meters, top reference elevation is 1F, top offset is 3 meters; or it can be represented as bottom reference elevation is 2F, bottom offset is -3 meters, top reference elevation is 2F, top offset is 0 meters. Regardless of the representation method used, the actual geometric height of the model object remains constant.

[0043] In this embodiment, after determining the floor information of the target model object at the target location through the aforementioned steps, the new floor information, the positioning information at the original location, and the offset value are used to automatically calculate the new positioning information at the target location. Specifically, firstly, the floor difference is calculated based on the floor information of the original location and the target location. Then, the floor difference is added to the original bottom reference elevation and the original top reference elevation to obtain the target bottom reference elevation and the target top reference elevation. Subsequently, the target bottom offset value is calculated based on the original bottom reference elevation, the original bottom offset value, the offset value, and the target bottom reference elevation. For example: Target bottom offset value = Actual elevation value corresponding to the original bottom reference elevation + Original bottom offset value + Offset value generated by dragging operation - Actual elevation value corresponding to the target bottom reference elevation. Similarly, the target top offset value is calculated based on the original top reference elevation, the original top offset value, the offset value, and the target top reference elevation. For example: Target top offset value = Actual elevation value corresponding to the original top reference elevation + Original top offset value + Offset value generated by dragging operation - Actual elevation value corresponding to the target top reference elevation. Through the above calculations, a complete set of target positioning information is obtained, including the target bottom reference elevation, target bottom offset value, target top reference elevation, and target top offset value. This process ensures that after a model object is moved or copied across floors, not only is its floor information automatically updated, but its specific positioning parameters are also automatically adjusted, and the geometric height of the model object remains unchanged. This achieves fully automatic parameter updates from floor assignment to precise positioning, further improving the intelligence level and data consistency of BIM design.

[0044] In this embodiment, when the position (e.g., copying, moving) or shape (e.g., stretching, modifying geometry) of the target model object changes, or when the floor elevation information in the floor elevation database of the target building object is adjusted (e.g., modification of the bottom and top elevations of the floor), the floor information to which the target model object belongs is automatically recalculated, and the positioning information associated with the target model object is adjusted synchronously to ensure that the positioning information conforms to business habits and logic.

[0045] Furthermore, the method also includes: Step C1: When creating a new model object in the elevation section view, the key points of the new model object are determined using the floor positioning rules, and the initial elevation value of the key points is determined. Step C2: Based on the initial elevation value, and using the floor elevation database and the floor positioning rules, automatically calculate the floor information of the new model object.

[0046] In this embodiment, an automatic floor information determination process is also provided when creating a new model object. In step C1, when a user creates a new model object in the elevation and section view, the key points of the new model object are first determined according to the floor positioning rules, and the initial elevation value of the key points relative to the origin of the coordinate system at the current creation position is obtained. In step C2, based on the initial elevation value, combined with the floor elevation database and the floor positioning rules, the floor information of the new model object is automatically calculated. Since the specific logic of how to use the floor elevation database and floor positioning rules to determine the floor information based on the elevation value has been explained in detail in the previous steps, it will not be repeated here. This step ensures that the newly created model object has accurate floor assignment information from the beginning, without the need for manual specification by the user, thus guaranteeing the standardization and consistency of floor information in the BIM model from the source.

[0047] Furthermore, when the target model object is a multi-floor model object, the method further includes: Step D1: Obtain the lowest and highest elevation values ​​of the target model object when it is located at the target position; Step D2: Based on the lowest point elevation value and the highest point elevation value, and using the floor elevation database and the floor positioning rules, determine the first floor information corresponding to the lowest point elevation value and the second floor information corresponding to the highest point elevation value; Step D3: Determine all consecutive floors between the first floor information and the second floor information as the floor information of the target model object at the target location.

[0048] It should be noted that the general processing flow described in steps S101 to S104 above also applies to cross-floor model objects. That is, for components that span multiple floors, their floor information can also be determined through this flow. However, considering the special nature of cross-floor model objects (their actual space spans multiple floors), determining floor affiliation based solely on a single key point may lead to incomplete information. Therefore, to ensure the accuracy and completeness of the floor information determination results for cross-floor model objects, this method also provides a specialized processing flow described in steps D1 to D3 above, as a supplement and optimization to the general flow. Through this specialized flow, all consecutive floors spanned by a component can be accurately determined based on the lowest and highest elevation values ​​of the component, thereby more completely expressing the actual floor affiliation of cross-floor components and further improving the information accuracy and application value of the BIM model.

[0049] Additionally, after step S104, the method further includes multi-view... Figure 1 Synchronization steps for consistency: Step E1: Obtain the original floor information of the target model object before the update and the new floor information after the update; Step E2: Based on the original floor information, locate the first plan view that displays the original floor, and set the target model object to be invisible in the first plan view; Step E3: Based on the new floor information, locate the second plan view that displays the new floor, and set the target model object to be visible in the second plan view.

[0050] In this embodiment, when the floor information of the target model object is updated, the software initiates a real-time multi-view positioning consistency synchronization mechanism. For all plan views using the floor-based display mode, the software automatically locates the plan view corresponding to the original floor information and the plan view corresponding to the new floor information of the target model object, and synchronously modifies the visibility of the two views: setting the model to invisible in the original floor view and visible in the new floor view. Simultaneously, the floor assignment display and floor filtering status of the model in each view are adjusted synchronously to ensure that the model floor information viewed by the designer in any view remains consistent, and the model display range accurately matches the updated floor information, effectively avoiding view display errors, ensuring the uniformity and accuracy of BIM design views, and meeting the specifications for design drawings.

[0051] This embodiment solves the technical problems in the prior art, such as the reliance on manual adjustment for the floor location of model objects, the inability to automatically update floor information after moving and copying across elevations, poor floor positioning accuracy, and low adaptability to complex components. This embodiment has the following beneficial effects: (1) Improve automation and reduce design workload: By establishing a floor elevation database and floor positioning rules, the automatic calculation of the floor to which the model object belongs and the dynamic update after cross-elevation operation are realized. Designers do not need to manually adjust the floor labels, which effectively reduces manual operation, avoids omissions and errors, improves design efficiency and reduces rework rate; (2) Ensure positioning accuracy and consistency: accurately determine the floor to which the model object belongs by using the geometric center elevation value, and combine with the real-time verification mechanism to ensure that the actual position of the model object is consistent with the floor positioning information; at the same time, realize the synchronization of multi-view positioning information to avoid confusion of floor ownership in different views and improve the standardization and integrity of the BIM model; (3) Adaptable to cross-elevation operation scenarios, highly practical: Specifically designed for the core scenario of copying model objects across elevations in elevation and section views, it automatically triggers positioning updates, supports positioning calculations for batch copying of multiple floors, perfectly solves the problem of chaotic positioning after cross-elevation operations in existing technologies, and is suitable for various architectural design scenarios. (4) Convenient operation and good user experience: It adds manual adjustment and batch update functions to adapt to special design needs. At the same time, it sets operation prompts, progress display and result feedback to improve the convenience of user operation; the model object positioning is automatically updated after the floor elevation is adjusted, without the need for users to manually trigger it, further improving design efficiency. (5) Strong compatibility and easy to promote: It can be adapted to various BIM design software such as 3D architectural design software, without the need for large-scale software reconstruction, with low development cost. It can be widely used in architectural design, engineering consulting and other fields, and has strong promotion value.

[0052] Example 2 This application provides an embodiment of a device for determining floor information of a model object in BIM software, such as... Figure 2 As shown, the device specifically includes the following components: The drag module 201 is used to acquire cross-floor drag operations performed by the user on a target model object in the target building project in the elevation and section view; wherein, the drag operation is used to move or copy the target model object from its original position to a target position; Calculation module 202 is used to calculate the offset value of the target model object in the height direction based on the drag operation; The acquisition module 203 is used to acquire the elevation information of each floor in the target building project using a preset floor elevation database; The determination module 204 is used to determine the floor information of the target model object when it is located at the target position by using a preset floor positioning rule, based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

[0053] Specifically, the determining module 204 is used for: The acquisition unit is used to acquire the component type of the target model object and determine the key points corresponding to the component type from the target model object according to the floor positioning rules; wherein, linear components use the geometric center as the key point, and point components use the base point or the midpoint of the baseline as the key point; The calculation unit is used to determine the original elevation value of the key point relative to the coordinate origin when the target model object is located at the original position, and set the sum of the original elevation value and the offset value as the reference elevation value; The determining unit is used to determine the floor information when the target model object is located at the target position, according to the floor positioning rules and using the reference elevation value and the elevation information of each floor.

[0054] Furthermore, the determining unit is specifically used for: If the reference elevation value is greater than the maximum elevation value in the floor elevation database, then the top floor of the target building project is set as the floor information. If the reference elevation value is less than the minimum elevation value in the floor elevation database, then the bottom floor of the target building project is set as the floor information. If the reference elevation value is greater than or equal to the bottom elevation in the Nth layer elevation information And it is less than the bottom elevation in the (N+1)th layer elevation information. Then obtain the floor height C of the Nth floor, when the reference elevation value is greater than or equal to And less than or equal to (R×C+ When the reference elevation value is greater than (R×C+), the Nth floor is set as the floor information. and less than When the (N+1)th floor is set as the floor information, R is a preset ratio value.

[0055] Furthermore, the device also includes a linkage module for: Obtain the original positioning information of the target model object when it is located at the original position; wherein, the original positioning information includes: the original bottom reference elevation, the original bottom offset value relative to the original bottom reference elevation, the original top reference elevation, and the original top offset value relative to the original top reference elevation; The floor difference is calculated based on the floor information of the target model object when it is located at the target location and the floor information of the target model object when it is located at the original location. The original bottom reference elevation and the original top reference elevation are added to the floor difference to obtain the target bottom reference elevation and the target top reference elevation, respectively. The target bottom offset value is calculated based on the original bottom reference elevation, the original bottom offset value, the offset value, and the target bottom reference elevation; The target top offset value is calculated based on the original top reference elevation, the original top offset value, the offset value, and the target top reference elevation; The target bottom reference elevation, the target bottom offset value, the target top reference elevation, and the target top offset value are used as the target positioning information when the target model object is located at the target position.

[0056] Furthermore, the device also includes a creation module for: When a new model object is created in the elevation section view, the key points of the new model object are determined using the floor positioning rules, and the initial elevation value of the key points is determined. Based on the initial elevation value, and using the floor elevation database and the floor positioning rules, the floor information of the new model object is automatically calculated.

[0057] Furthermore, the device also includes an optimization module for: When the target model object is a multi-floor model object, obtain the lowest point elevation value and the highest point elevation value when the target model object is located at the target position; Based on the lowest point elevation value and the highest point elevation value, and using the floor elevation database and the floor positioning rules, determine the first floor information corresponding to the lowest point elevation value and the second floor information corresponding to the highest point elevation value; All consecutive floors between the first floor information and the second floor information are determined as the floor information of the target model object at the target location.

[0058] Example 3 This embodiment also provides a computer device, such as a smartphone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server, or cabinet server (including a standalone server or a server cluster composed of multiple servers), etc., capable of executing programs. Figure 3 As shown, the computer device 30 in this embodiment includes, but is not limited to, a memory 301 and a processor 302 that are communicatively connected to each other via a system bus. It should be noted that... Figure 3 Only a computer device 30 with components 301-302 is shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0059] In this embodiment, the memory 301 (i.e., the readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 301 may be an internal storage unit of the computer device 30, such as the hard disk or memory of the computer device 30. In other embodiments, the memory 301 may also be an external storage device of the computer device 30, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 30. Of course, the memory 301 may include both the internal storage unit and the external storage device of the computer device 30. In this embodiment, the memory 301 is typically used to store the operating system and various application software installed on the computer device 30. In addition, the memory 301 may also be used to temporarily store various types of data that have been output or will be output.

[0060] In some embodiments, processor 302 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. This processor 302 is typically used to control the overall operation of the computer device 30.

[0061] Specifically, in this embodiment, the processor 302 is used to execute the program stored in the memory 301 for a method of determining the floor information of a model object in BIM software. When the program for determining the floor information of a model object in BIM software is executed, it performs the following steps: The system retrieves cross-floor drag operations performed by a user on a target model object in a target building project within an elevation / section view; wherein the drag operation is used to move or copy the target model object from its original position to a target position. Based on the drag operation, calculate the offset value of the target model object in the height direction; Using a pre-set floor elevation database, obtain the elevation information of each floor in the target building project; Using preset floor positioning rules, the floor information of the target model object when it is located at the target position is determined based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

[0062] For a detailed description of the above method steps, please refer to Example 1. This example will not be repeated here.

[0063] Example 4 This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, app store, etc., which stores a computer program. When the computer program is executed by a processor, it implements the following method steps: The system retrieves cross-floor drag operations performed by a user on a target model object in a target building project within an elevation / section view; wherein the drag operation is used to move or copy the target model object from its original position to a target position. Based on the drag operation, calculate the offset value of the target model object in the height direction; Using a pre-set floor elevation database, obtain the elevation information of each floor in the target building project; Using preset floor positioning rules, the floor information of the target model object when it is located at the target position is determined based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

[0064] For a detailed description of the above method steps, please refer to the first embodiment. This embodiment will not repeat the details here.

[0065] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0066] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0067] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0068] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for determining floor information of model objects in BIM software, characterized in that, The method includes: The system retrieves cross-floor drag operations performed by a user on a target model object in a target building project within an elevation / section view; wherein the drag operation is used to move or copy the target model object from its original position to a target position. Based on the drag operation, calculate the offset value of the target model object in the height direction; Using a pre-set floor elevation database, obtain the elevation information of each floor in the target building project; Using preset floor positioning rules, the floor information of the target model object when it is located at the target position is determined based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

2. The method for determining floor information of a model object in BIM software according to claim 1, characterized in that, The step of determining the floor information of the target model object at the target location using preset floor positioning rules, based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor, includes: Obtain the component type of the target model object, and determine the key points corresponding to the component type from the target model object according to the floor positioning rules; wherein, for linear components, the geometric center is the key point, and for point components, the base point or the midpoint of the baseline is the key point; Determine the original elevation value of the key point relative to the origin of the coordinate system when the target model object is located at the original position, and set the sum of the original elevation value and the offset value as the reference elevation value; According to the floor positioning rules, and using the reference elevation value and the elevation information of each floor, the floor information when the target model object is located at the target position is determined.

3. The method for determining floor information of model objects in BIM software according to claim 2, characterized in that, The step of determining the floor information when the target model object is located at the target position according to the floor positioning rules and using the reference elevation value and the elevation information of each floor includes: If the reference elevation value is greater than the maximum elevation value in the floor elevation database, then the top floor of the target building project is set as the floor information. If the reference elevation value is less than the minimum elevation value in the floor elevation database, then the bottom floor of the target building project is set as the floor information. If the reference elevation value is greater than or equal to the bottom elevation in the Nth layer elevation information And it is less than the bottom elevation in the (N+1)th layer elevation information. Then obtain the floor height C of the Nth floor, when the reference elevation value is greater than or equal to And less than or equal to (R×C+ When the reference elevation value is greater than (R×C+), the Nth floor is set as the floor information. and less than When the (N+1)th floor is set as the floor information, R is a preset ratio value.

4. The method for determining floor information of a model object in BIM software according to claim 1, characterized in that, After determining the floor information of the target model object at the target location using preset floor positioning rules, based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor, the method further includes: Obtain the original positioning information of the target model object when it is located at the original position; wherein, the original positioning information includes: the original bottom reference elevation, the original bottom offset value relative to the original bottom reference elevation, the original top reference elevation, and the original top offset value relative to the original top reference elevation; The floor difference is calculated based on the floor information of the target model object when it is located at the target location and the floor information of the target model object when it is located at the original location. The original bottom reference elevation and the original top reference elevation are added to the floor difference to obtain the target bottom reference elevation and the target top reference elevation, respectively. The target bottom offset value is calculated based on the original bottom reference elevation, the original bottom offset value, the offset value, and the target bottom reference elevation; The target top offset value is calculated based on the original top reference elevation, the original top offset value, the offset value, and the target top reference elevation; The target bottom reference elevation, the target bottom offset value, the target top reference elevation, and the target top offset value are used as the target positioning information when the target model object is located at the target position.

5. The method for determining floor information of a model object in BIM software according to claim 2, characterized in that, The method further includes: When a new model object is created in the elevation section view, the key points of the new model object are determined using the floor positioning rules, and the initial elevation value of the key points is determined. Based on the initial elevation value, and using the floor elevation database and the floor positioning rules, the floor information of the new model object is automatically calculated.

6. The method for determining floor information of a model object in BIM software according to claim 1, characterized in that, When the target model object is a multi-floor model object, the method further includes: Obtain the lowest and highest elevation values ​​of the target model object when it is located at the target position; Based on the lowest point elevation value and the highest point elevation value, and using the floor elevation database and the floor positioning rules, determine the first floor information corresponding to the lowest point elevation value and the second floor information corresponding to the highest point elevation value; All consecutive floors between the first floor information and the second floor information are determined as the floor information of the target model object at the target location.

7. A device for determining floor information of a model object in BIM software, characterized in that, The device includes: The drag module is used to acquire cross-floor drag operations performed by the user on a target model object in the target building project in the elevation and section view; wherein, the drag operation is used to move or copy the target model object from its original position to a target position; The calculation module is used to calculate the offset value of the target model object in the height direction based on the drag operation; The acquisition module is used to acquire the elevation information of each floor in the target building project using a preset floor elevation database; The determination module is used to determine the floor information of the target model object when it is located at the target position by using preset floor positioning rules, based on the original elevation value of the target model object at its original position, the offset value, and the elevation information of each floor.

8. The apparatus for determining floor information of a model object in BIM software according to claim 7, characterized in that, The determining module includes: The acquisition unit is used to acquire the component type of the target model object and determine the key points corresponding to the component type from the target model object according to the floor positioning rules; wherein, linear components use the geometric center as the key point, and point components use the base point or the midpoint of the baseline as the key point; The calculation unit is used to determine the original elevation value of the key point relative to the coordinate origin when the target model object is located at the original position, and set the sum of the original elevation value and the offset value as the reference elevation value; The determining unit is used to determine the floor information when the target model object is located at the target position, according to the floor positioning rules and using the reference elevation value and the elevation information of each floor.

9. A computer device, the computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.