Wall Search Method, Device, Electronic Device and Storage Medium

By obtaining room dividers in the Revit software and combining the organization, naming and geometric relationship of the model file, searching for walls from the center and link files, the inefficient search problem caused by room dividers and walls not being in the same file is solved, and efficient wall retrieval is achieved.

CN114329673BActive Publication Date: 2025-07-08SHENZHEN XUMI YUNTU SPACE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111630131.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2025-07-08
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

In Revit software, room dividers and walls are not in the same file, resulting in inefficient wall search.

Method used

By obtaining the room divider of the target room in the architectural model, combining the organizational relationship, file naming and three-dimensional geometric relationship of the architectural model file, searching for walls connected or intersecting with the room divider from the central file and linked file, the three-layer filtering method is used to narrow the search scope: model organizational relationship filter, file naming filter and geometric relationship filter.

Benefits of technology

Improves wall retrieval efficiency, especially when searching across files in Revit software, 80%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114329673B_ABST
    Figure CN114329673B_ABST
Patent Text Reader

Abstract

The present disclosure provides a wall search method, device, electronic device and storage medium, relating to the field of software technology. The method includes: obtaining the room dividing lines of a target room in a building model; and searching for walls that are connected to or intersect with the room dividing lines from the central file and linked files of the building model according to the room dividing lines of the target room, in combination with the organizational relationship of the building model files, file naming and the three-dimensional geometric relationship of the building model objects. The present disclosure can narrow down the file retrieval scope and improve the retrieval efficiency of walls.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In the field of architectural design, in order to calculate the spatial area, an area plan is often established. When generating an area plan using Revit software, it is necessary to search for corresponding walls for the room division lines to calculate the offset of the area boundary. Due to the modeling standards of designers, the room division lines and the walls serving as room boundaries are often not in the same file, resulting in low search efficiency for walls.

[0003] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0004] The present disclosure provides a wall search method, device, electronic device, and storage medium, which at least to a certain extent overcome the technical problem of low wall search efficiency caused by the room division line and the wall not being in the same file in the related art.

[0005] Other features and advantages of the present disclosure will become apparent through the following detailed description, or will be partially learned through the practice of the present disclosure.

[0006] According to one aspect of the present disclosure, a wall search method is provided. The method includes: obtaining the room division line of a target room in a building model; and searching for walls that are connected or intersect with the room division line from the central file and linked files of the building model according to the room division line of the target room, in combination with the organizational relationship of the building model files, file naming, and the three-dimensional geometric relationship of the building model objects.

[0007] In some embodiments, the following steps are used to search for walls that are connected or intersect with the room division line from the central file: offset both sides of the room division line along the line by a preset distance, traverse each wall in the central file, and determine whether each wall intersects or is connected with the room division line; according to the determination result, filter out the walls in the central file that intersect or are connected with the room division line.

[0008] In some embodiments, the following steps are used to search for walls that are connected or intersect with the room division line from the linked files: search for walls that are connected or intersect with the room division line in the parent linked file according to the organizational relationship of the building model files; when no wall related to the room division line is found in the parent linked file, obtain the child linked files of the parent linked file, and exclude the child linked files that are irrelevant to the walls according to the file naming of the child linked files; search for walls that are connected or intersect with the room division line in the remaining child linked files according to the three-dimensional geometric relationship between the room division line and the walls.

[0009] In some embodiments, before searching for the walls that are connected to or intersect with the room dividing line in the parent hierarchical file according to the organizational relationship of the building model file, the method further includes: offsetting both sides of the room dividing line by a preset distance along the line, traversing each linked file, and determining whether each linked file intersects or is connected to the room dividing line; according to the determination result, screening out the parent linked files and child linked files that intersect or are connected to the room dividing line.

[0010] In some embodiments, after searching for the walls that are connected to or intersect with the room dividing line from the central file and linked files of the building model according to the room dividing line of the target room, in combination with the organizational relationship of the building model file, file naming, and the three-dimensional geometric relationship of the building model objects, the method further includes: determining the offset amount of the area boundary at the room dividing line according to the walls that are connected to or intersect with the room dividing line.

[0011] In some embodiments, before searching for the walls that are connected to or intersect with the room dividing line from the central file and linked files of the building model according to the room dividing line of the target room, in combination with the organizational relationship of the building model file, file naming, and the three-dimensional geometric relationship of the building model objects, the method further includes: finding out the central file and linked files that have a relationship with the target room from the building model.

[0012] In some embodiments, the building model is a model generated based on Revit software.

[0013] According to one aspect of the present disclosure, there is also provided a wall searching device, including: a room dividing line obtaining module, configured to obtain the room dividing line of a target room in a building model; a wall searching module, configured to search for the walls that are connected to or intersect with the room dividing line from the central file and linked files of the building model according to the room dividing line of the target room, in combination with the organizational relationship of the building model file, file naming, and the three-dimensional geometric relationship of the building model objects.

[0014] According to one aspect of the present disclosure, there is also provided an electronic device, including: a processor; and a memory, configured to store the executable instructions of the processor; wherein, the processor is configured to execute the wall searching method as described in any one of the above via executing the executable instructions.

[0015] According to one aspect of the present disclosure, there is also provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the wall searching method as described in any one of the above.

[0016] The wall search method, device, electronic device, and storage medium provided by the embodiments of the present disclosure can, after obtaining the room partition lines of a target room in a building model, search for walls that are connected to or intersect with the room partition lines from the central file and linked files of the building model according to the room partition lines of the target room, in combination with the organizational relationship of the building model files, file naming, and the three-dimensional geometric relationship of the building model objects, which can narrow the file retrieval scope and improve the retrieval efficiency of walls.

[0017] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings

[0018] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0019] Figure 1 Show a flowchart of a wall search method in an embodiment of the present disclosure;

[0020] Figure 2 Show a floor plan in an embodiment of the present disclosure;

[0021] Figure 3 Show a specific implementation flowchart of searching for walls from the central file and linked files in an embodiment of the present disclosure;

[0022] Figure 4 Show a schematic diagram of a wall search device in an embodiment of the present disclosure;

[0023] Figure 5 Show a structural block diagram of an electronic device in an embodiment of the present disclosure;

[0024] Figure 6 Show a schematic diagram of a computer program product in an embodiment of the present disclosure. Detailed Embodiments

[0025] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described can be combined in any suitable manner in one or more embodiments.

[0026] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0027] For ease of understanding, before introducing the embodiments of the present disclosure, several terms involved in the embodiments of the present disclosure are first explained as follows:

[0028] Revit: A software for generating Building Information Modeling (BIM), which can help architects design, build, and maintain better-quality and higher-energy-efficient buildings.

[0029] The following will explain the present exemplary embodiment in detail with reference to the accompanying drawings and embodiments.

[0030] First, an embodiment of the present disclosure provides a wall search method, which can be executed by any electronic device with computing and processing capabilities. The electronic device can be a terminal device or a server.

[0031] The terminal device can be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a wearable device, an augmented reality device, a virtual reality device, etc. Optionally, the clients of the application programs installed in different terminal devices are the same, or the clients of the same type of application programs based on different operating systems. Depending on the different terminal platforms, the specific form of the client of the application program can also be different. For example, the client of the application program can be a mobile client, a PC client, etc.

[0032] The server can be a server that provides various services, such as a background management server that supports the operations performed by users using terminal devices. The background management server can analyze and process data such as received requests and feedback the processing results to the terminal device.

[0033] Optionally, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and big data and artificial intelligence platforms.

[0034] Figure 1The flowchart of a wall search method in an embodiment of the present disclosure is shown. As Figure 1 shown, the wall search method provided in the embodiment of the present disclosure includes the following steps:

[0035] S102, obtain the room partition lines of the target room in the building model.

[0036] It should be noted that the room partition lines in the embodiment of the present disclosure can be the partition lines used to divide each spatial area in the building model; the building model in the embodiment of the present disclosure can be, but is not limited to, the Building Information Modeling (BIM) constructed when designing a building through software such as Revit. The building information model in the embodiment of the present disclosure can be a building, a floor, or a household, etc. If the building model is a building, the room partition lines can be the partition lines between different floors; if the building model is a floor, the room partition lines can be the partition lines between different households; if the building model is a household, the room partition lines can be the partition lines between different rooms. The target room in S102 above refers to the room for which the area is to be calculated, and can be any room in any household on any floor of any building.

[0037] S104, according to the room partition lines of the target room, combined with the organizational relationship, file naming of the building model file, and the three-dimensional geometric relationship of the building model objects, search for the walls that are connected or intersected with the room partition lines from the central file and linked files of the building model.

[0038] It should be noted that the organizational relationship of the above building model file can include, but is not limited to, the superior-subordinate relationship between the parent linked file and the child linked file. The file naming of the above building model file refers to the file naming of different model files (central file or linked file). The three-dimensional geometric relationship of the above building model objects can include, but is not limited to, the positional relationship between different building model objects (such as rooms, walls, room partition lines, etc.).

[0039] It should also be noted here that in the embodiment of the present disclosure, the central file refers to the currently opened file, and the objects in the file can all be edited; the linked file is the file linked to the central file, and each linked file is a central file after being opened. Before performing S104 above, the central file and linked files related to the target room can be found from the building model, so as to find the walls that intersect or are connected with the room partition lines from these central files and linked files.

[0040] Figure 2 The floor plan of a housing type in an embodiment of the present disclosure is shown. As Figure 2As shown, this household includes two rooms, namely the master bedroom and the secondary bedroom 202. When calculating the area of the master bedroom 201, the master bedroom is the target room, and the corresponding walls need to be found based on the four room partition lines of the master bedroom (as shown by the icons 201A, 201B, 201C, and 201D in Figure 2 respectively).

[0041] In some embodiments, the walls that are connected or intersect with the room partition lines can be searched from the central file through the following steps: offset both sides of the room partition line along the line by a preset distance, traverse each wall in the central file, and determine whether each wall intersects or is connected with the room partition line; according to the judgment result, filter out the walls in the central file that intersect or are connected with the room partition line. For each room partition line, both sides of the room partition line can be offset along the line by a preset distance to find the intersecting or connected walls. For example, for the room partition line 201B, 201B can be offset a certain distance in the left and right directions respectively to find the intersecting or connected walls from the model file.

[0042] In some embodiments, the walls that are connected or intersect with the room partition lines can be searched from the linked file through the following steps: according to the organizational relationship of the building model file, search for the walls that are connected or intersect with the room partition lines in the parent-level linked file; when no walls related to the room partition line are found in the parent-level linked file, obtain the child-level linked files of the parent-level linked file, and exclude the child-level linked files that have nothing to do with the walls according to the file naming of the child-level linked files; according to the three-dimensional geometric relationship between the room partition line and the walls, search for the walls that are connected or intersect with the room partition line in the remaining child-level linked files.

[0043] In some embodiments, before searching for the walls that are connected or intersect with the room partition lines in the parent-level linked file according to the organizational relationship of the building model file, the wall search method provided in the embodiments of the present disclosure further includes the following steps: offset both sides of the room partition line along the line by a preset distance, traverse each linked file, and determine whether each linked file intersects or is connected with the room partition line; according to the judgment result, filter out the parent-level linked files and child-level linked files that intersect or are connected with the room partition line.

[0044] In some embodiments, after searching for the walls that are connected or intersect with the room partition lines from the central file and the linked file of the building model according to the room partition line of the target room, combined with the organizational relationship, file naming, and three-dimensional geometric relationship of the building model objects, the wall search method provided in the embodiments of the present disclosure further includes the following steps: determine the offset amount of the area boundary at the room partition line according to the walls that are connected or intersect with the room partition line.

[0045] Figure 3The following is a specific implementation flowchart for searching for walls in the central file and linked files in an embodiment of the present disclosure. As Figure 3 shown, after obtaining the room dividing lines, find the walls in the central file and linked files that are related to the room; to obtain all the walls in the central file and all the linked files.

[0046] For each wall in the central file, the room dividing line can be magnified so that the room dividing line is offset a certain distance to the left and right to determine whether the wall intersects the room dividing line. All the walls are looped in sequence until all the intersecting or adjacent walls in the central file are screened out: ① If there is no intersection or adjacency, this wall is excluded; ② If there is an intersection or adjacency, the intersecting or adjacent walls are screened out.

[0047] For all the linked files of the central file, obtain the walls of all the linked files; magnify the room dividing line so that the room dividing line is offset a certain distance to the left and right to determine whether the linked file intersects the room dividing line. All the linked files are looped in sequence until all the intersecting or adjacent parent linked files and child linked files are screened out: ① If there is no intersection, this linked file is excluded; ② If there is an intersection, all the intersecting parent linked files and child linked files are obtained in sequence.

[0048] After screening out all the intersecting or adjacent parent linked files and child linked files, first screen out the walls where the parent linked file intersects the room dividing line; then screen out the walls where the child linked file intersects the room dividing line.

[0049] Finally, count all the walls found in the central file and linked files to participate in the offset calculation of the area boundary of the room dividing line.

[0050] As can be seen from the above, the wall search method provided in the embodiment of the present disclosure narrows the file retrieval range based on the model organization relationship, file naming screening, and geometric relationship screening, so as to quickly and automatically find the walls that are used as room boundaries but are in other files, and narrow the retrieval range through the following three-layer screening: The first layer is the model organization relationship. When querying other files, search preferentially in the parent linked file of the file where the current room is located. If the search is fruitless, further query its child files through the parent file, reducing the retrieval operations on other irrelevant hierarchical files; the second layer is the file naming screening. Based on the modeling standard, when finding other subset files through the parent file, some irrelevant files can be excluded through file naming, such as elevation and axis network files, etc.; the third layer is the geometric relationship screening. According to the three-dimensional geometric relationship of the current linked object, by judging the collision situation of the bounding box, find other groups and linked objects that are adjacent or intersect with the object where the current room is located to narrow the retrieval range and improve the performance.

[0051] Applying the wall search method provided in the embodiments of the present disclosure to Revit software for cross-file wall search can improve the retrieval efficiency by 80%.

[0052] Based on the same inventive concept, an embodiment of the present disclosure also provides a wall search device as described in the following embodiments. Since the principle of problem-solving of this device embodiment is similar to that of the above method embodiment, the implementation of this device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be elaborated.

[0053] Figure 4 The following shows a schematic diagram of a wall search device in an embodiment of the present disclosure. As Figure 4 shown, the device includes: a room dividing line acquisition module 41, configured to acquire the room dividing line of a target room in a building model; a wall search module 42, configured to search for walls that are connected or intersected with the room dividing line from the central file and linked files of the building model according to the room dividing line of the target room, in combination with the organizational relationship of the building model files, file naming, and the three-dimensional geometric relationship of the building model objects.

[0054] It should be noted here that the above room dividing line acquisition module 41 and wall search module 42 correspond to S102 - S104 in the method embodiment. The examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the content disclosed in the above method embodiment. It should be noted that the above modules, as part of the device, can be executed in a computer system such as a set of computer-executable instructions.

[0055] In some embodiments, the above wall search module 42 is further configured to: offset both sides of the room dividing line by a preset distance respectively, traverse each wall in the central file, and determine whether each wall intersects or is connected with the room dividing line; according to the determination result, filter out the walls in the central file that intersect or are connected with the room dividing line.

[0056] In some embodiments, the above wall search module 42 is further configured to: search for walls that are connected or intersected with the room dividing line in the parent-level linked file according to the organizational relationship of the building model files; when no wall related to the room dividing line is found in the parent-level linked file, obtain the child-level linked files of the parent-level linked file, and exclude the child-level linked files that have nothing to do with the wall according to the file naming of the child-level linked files; according to the three-dimensional geometric relationship between the room dividing line and the wall, search for walls that are connected or intersected with the room dividing line in the remaining child-level linked files.

[0057] In some embodiments, the above-mentioned wall search module 42 is further configured to: offset both sides along the room dividing line by a preset distance, traverse each linked file, and determine whether each linked file intersects or touches the room dividing line; according to the judgment result, filter out the parent linked file and the child linked file that intersect or touch the room dividing line.

[0058] In some embodiments, as Figure 4 shown, the wall search device provided in the embodiments of the present disclosure further includes: an offset calculation module 43, configured to determine the offset of the area boundary at the room dividing line according to the wall that touches or intersects the room dividing line.

[0059] In some embodiments, in the wall search device provided in the embodiments of the present disclosure, the building model is a model generated based on Revit software.

[0060] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method, or a program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuit", "module", or "system" here.

[0061] Next, refer to Figure 5 to describe the electronic device 500 according to this embodiment of the present disclosure. Figure 5 The electronic device 500 shown is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0062] As Figure 5 shown, the electronic device 500 is presented in the form of a general computing device. The components of the electronic device 500 may include but are not limited to: the above-mentioned at least one processing unit 510, the above-mentioned at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).

[0063] Wherein, the storage unit stores program codes, and the program codes can be executed by the processing unit 510, so that the processing unit 510 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 510 may execute the following steps of the above method embodiment: obtain the room dividing line of the target room in the building model; according to the room dividing line of the target room, in combination with the organizational relationship, file naming of the building model file, and the three-dimensional geometric relationship of the building model objects, search for the walls that touch or intersect the room dividing line from the central file and the linked files of the building model.

[0064] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and / or a cache storage unit 5202, and may further include a read-only storage unit (ROM) 5203.

[0065] The storage unit 520 may also include a program / utilities 5204 having a set (at least one) of program modules 5205. Such program modules 5205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.

[0066] The bus 530 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.

[0067] The electronic device 500 may also communicate with one or more external devices 540 (such as a keyboard, a pointing device, a Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or may communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be carried out through an input / output (I / O) interface 550. Moreover, the electronic device 500 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 560. As shown in the figure, the network adapter 560 communicates with other modules of the electronic device 500 through the bus 530. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0068] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by a combination of software and necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0069] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above method of the present disclosure is stored thereon. In some possible implementation manners, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Method" section of this specification.

[0070] Specifically, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the wall search method described in any one of the above.

[0071] Referring to Figure 6 As shown, a computer program product 600 for implementing the above method according to an embodiment of the present invention is described. It may adopt a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, the readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.

[0072] The program product may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above.

[0073] More specific examples of the computer-readable storage medium in the present disclosure may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0074] In the present disclosure, a computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0075] Optionally, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0076] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0077] It should be noted that although several modules or units of a device for action execution are mentioned in the foregoing detailed description, such a division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of the two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided and embodied by multiple modules or units.

[0078] In addition, although the various steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that these steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc.

[0079] From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (such as a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0080] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and the embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the appended claims.

Claims

1. A wall search method, characterized in that, Including: Obtain the room partition line of the target room in the building model; According to the room partition line of the target room, combined with the organizational relationship of the building model files, file naming, and the three-dimensional geometric relationship of the building model objects, search for the walls that are connected or intersected with the room partition line in the central file and linked files of the building model; Among them, the room partition line of the target room and the wall serving as the room boundary are not in the same file.

2. The wall search method according to claim 1, wherein Search for the walls that are connected or intersected with the room partition line from the central file through the following steps: Offset both sides along the room partition line by a preset distance, traverse each wall in the central file, and determine whether each wall intersects or is connected with the room partition line; According to the judgment result, filter out the walls in the central file that intersect or are connected with the room partition line.

3. The wall search method according to claim 1, characterized in that Search for the walls that are connected or intersected with the room partition line from the linked files through the following steps: According to the organizational relationship of the building model files, search for the walls that are connected or intersected with the room partition line in the parent linked file; When no wall related to the room partition line is found in the parent linked file, obtain the child linked files of the parent linked file, and exclude the child linked files that have nothing to do with the walls according to the file naming of the child linked files; According to the three-dimensional geometric relationship between the room partition line and the walls, search for the walls that are connected or intersected with the room partition line in the remaining child linked files.

4. The wall search method according to claim 3, wherein Before searching for the walls that are connected or intersected with the room partition line in the parent linked file according to the organizational relationship of the building model files, the method further includes: Offset both sides along the room partition line by a preset distance, traverse each linked file, and determine whether each linked file intersects or is connected with the room partition line; According to the judgment result, filter out the parent linked files and child linked files that intersect or are connected with the room partition line.

5. The wall search method according to claim 1, wherein After searching for the walls that are connected or intersected with the room partition line from the central file and linked files of the building model according to the room partition line of the target room, combined with the organizational relationship of the building model files, file naming, and the three-dimensional geometric relationship of the building model objects, the method further includes: Determine the offset of the area boundary at the room partition line according to the walls that are connected or intersected with the room partition line.

6. The wall search method according to claim 1, characterized in that Before searching for the walls that are connected or intersected with the room partition line from the central file and linked files of the building model according to the room partition line of the target room, combined with the organizational relationship of the building model files, file naming, and the three-dimensional geometric relationship of the building model objects, the method further includes: Find out the central file and linked files related to the target room from the building model.

7. The wall search method according to any one of claims 1 to 6, characterized in that, The building model is a model generated based on Revit software.

8. A wall search device, characterized in that Including: A room partition line acquisition module for obtaining the room partition line of the target room in the building model; A wall search module for searching for the walls that are connected or intersected with the room partition line from the central file and linked files of the building model according to the room partition line of the target room, combined with the organizational relationship of the building model files, file naming, and the three-dimensional geometric relationship of the building model objects; Among them, the room dividing line of the target room and the wall serving as the room boundary are not in the same file.

9. An electronic device, characterized in that, Including: a processor; and a memory for storing executable instructions of the processor; Among them, the processor is configured to execute the wall search method according to any one of claims 1 to 7 by executing the executable instructions.

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

Citation Information

Patent Citations

  • Room building area calculation method and device based on REVIT

    CN110263493A

  • Method and device for generating basement anti-collision plate based on BIM technology and terminal

    CN111475878A