Building model information interaction method and device
By obtaining and processing building model-related information on the Revit platform, extracting information flow characteristics and controlling message transmission, the problem of building model information interaction based on the Revit platform is solved, and a more efficient and safer information interaction process is achieved.
Patent Information
- Application Number
- CN202411931449.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the BIM modeling process based on the Revit platform, the interaction of building model-related information depends on third-party chat tools, resulting in poor information confidentiality, high difficulty in information traceability, complicated tool calls and inefficient efficiency.
It provides a building model information interaction method and device, which is suitable for the Revit platform. By obtaining the target information of the target Revit model component, extracting information flow characteristics, and controlling the transmission of target messages to the target user to realize information interaction.
Without the need to rely on third-party tools, the confidentiality of the information interaction process related to the building model is improved, the difficulty of information traceability is reduced, and the number of tool calls is reduced, thereby improving the efficiency of information interaction.
Smart Images

Figure CN119988055A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of information interaction technology, and in particular, to a method and device for interacting with building model information. Background Art
[0002] At present, in the relevant technologies, in the BIM modeling process based on the Revit platform, the interaction of building model related information mostly relies on third-party chat tools, such as WeChat, DingTalk, QQ, etc. The above methods have the problems of poor confidentiality of building model related information, high difficulty in information tracing, many tool calls in the information interaction process, complicated steps, and low efficiency.
[0003] Therefore, a new technical solution is urgently needed to solve the above technical problems. Summary of the invention
[0004] According to an embodiment of the present application, a building model information interaction method and device are provided, which are applicable to the Revit platform, and are conducive to realizing the interaction of building model related information without the help of third-party tools, and are conducive to improving the confidentiality of the building model related information interaction process, reducing the difficulty of information tracing, and reducing the number of tools called during the information interaction process, thereby improving the efficiency of information interaction.
[0005] In a first aspect of the present application, a method for interacting with building model information is provided, which is applicable to the Revit platform, and the method comprises: Obtaining target information of a target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of a target user, organizational structure information of the target user, and ID information of the target user, wherein the degree of association between the target user and the target Revit model component is greater than or equal to a preset degree of association; According to the target information, extract the target information flow characteristics; According to the target information flow characteristics, control the transmission of target messages to target users.
[0006] In some feasible implementations, the above-mentioned role type information includes: a designer role and a reviewer role; The target information flow characteristics include: the initiating node of the target information flow, the terminating node of the target information flow, the multi-level intermediate nodes from the initiating node to the terminating node, and the directions of each level of the multi-level intermediate nodes; Among them, the initiating node corresponds to the designer role, and the multi-level intermediate nodes and the terminating node correspond to the reviewer roles at each level.
[0007] In some feasible implementations, the above method further includes: When it is determined that the role type of the first target user is a designer role, a first-level review node is determined according to the target information flow characteristics; According to the first-level review node, a target message is sent to the second target user, wherein the target message includes: ID information, model information, image information, and / or text description label information of the target Revit model component.
[0008] In some feasible implementations, the above method further includes: If the second target user passes the review, the secondary review node is determined according to the target information flow characteristics; According to the secondary review node, a target message is sent to the third target user, wherein the target message also includes: the annotation content of the second target user.
[0009] In some feasible implementations, the above method further includes: In the case that the third target user fails to pass the review, the target return node of the target message is determined according to the target information flow characteristics; According to the target rollback node, control is performed to send a target message to the first target user and / or the second target user, wherein the target message further includes: the annotation content of the third target user.
[0010] In some feasible implementations, the above method further includes: In the case where it is determined that the role type of the target user is a designer role, a first window interface is generated; When it is determined that the role type of the target user is the reviewer role, a second form interface is generated; Wherein, the first window interface and / or the second window interface is provided with a grab control for grabbing the image content of the clipboard; The first window interface and / or the second window interface is also provided with a display control, and the display control is associated with a labeling component.
[0011] In some feasible implementations, the above also includes: Obtain the ID information of the current target user and the clipboard image of the current target user within the first preset time; According to the clipboard image, target information of the target Revit model component corresponding to the clipboard image is determined; According to the target information, determine the role type corresponding to the current target user; Execute the target window switching operation according to the role type.
[0012] In some feasible implementations, the building model information interaction method as described above further includes: According to the annotation content of the target reviewer user, a target operation is performed on the target Revit model component to generate a target effect image of the target Revit model component, wherein the annotation content may include: text annotation content, and / or image annotation content.
[0013] In a second aspect of the present application, a building model information interaction device is provided, comprising: An acquisition unit is used to acquire target information of a target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of a target user, organizational structure information of the target user, and ID information of the target user, wherein the association degree between the target user and the target Revit model component is greater than or equal to a preset association degree; An extraction unit, used for extracting target information flow characteristics according to target information; The control unit is used to control the transmission of the target message to the target user according to the target information flow characteristics.
[0014] In a third aspect of the present application, an electronic device is provided, comprising: a processor and a memory, wherein the memory stores computer program instructions, and the computer program instructions are used by the processor to execute the building model information interaction method as described in any one of the above items when the processor is running.
[0015] The embodiment of the present application provides a method and device for interacting with building model information, wherein the method includes: obtaining target information of a target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of a target user, organizational structure information of the target user, and ID information of the target user, wherein the degree of association between the target user and the target Revit model component is greater than or equal to a preset degree of association; extracting target information flow characteristics according to the target information; and controlling the transmission of a target message to the target user according to the target information flow characteristics. The present application is conducive to realizing the interaction of building model target information without the aid of third-party tools, and is conducive to improving the confidentiality of the building model target information interaction process, reducing the difficulty of information tracing, and reducing the number of tools called during the information interaction process, thereby improving the efficiency of information interaction.
[0016] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein: Figure 1 A schematic diagram of a process of a building model information interaction method provided in an embodiment of the present application; Figure 2 A structural schematic diagram of a login interface provided in an embodiment of the present application; Figure 3 A structural schematic diagram of a target message display interface provided by an embodiment of the present application; Figure 4 A structural schematic diagram of a first window interface provided in an embodiment of the present application; Figure 5 A structural schematic diagram of the add button operation interface provided in an embodiment of the present application; Figure 6 A structural schematic diagram of an image content capture interface provided in an embodiment of the present application; Figure 7 A structural schematic diagram of a target message sending success feedback interface provided in an embodiment of the present application; Figure 8 A structural schematic diagram of a second window interface provided in an embodiment of the present application; Fig. 9 A structural schematic diagram of another second window interface provided in an embodiment of the present application; Fig.10 A structural schematic diagram of a chart board window interface provided in an embodiment of the present application; Fig.11 A structural schematic diagram of a target data table provided in an embodiment of the present application; Fig.12 A schematic diagram of a target effect image interface display provided by an embodiment of the present application; Fig.13 A schematic diagram of a structure of another target effect image interface display provided in an embodiment of the present application; Fig.14 A structural schematic diagram of a building model information interaction device provided in an embodiment of the present application; Fig.15 A structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0019] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0020] In a first aspect of an embodiment of the present application, a method for interacting with building model information is proposed, which is applicable to the Revit platform. Figure 1 A schematic diagram of a process of interacting with a building model information 100 provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method 100 includes: Step S1: Obtain target information of a target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of a target user, organizational structure information of the target user, and ID information of the target user, wherein the degree of association between the target user and the target Revit model component is greater than or equal to a preset degree of association.
[0021] Exemplarily, the role type information of the target user may include: designers at all levels, reviewers at all levels, and / or persons in charge at all levels, etc., associated with the target Revit model component.
[0022] Exemplarily, the target user's organizational structure information may include: the target user's department information, the target user's position information, the target user's hierarchical relationship information, the target user's reporting relationship information, and / or the target user's authority level information.
[0023] Exemplarily, the above-mentioned ID information of the target user may include: the message receiving and sending account ID information of the target user.
[0024] It should be noted that the above-mentioned preset correlation can be defined according to the actual situation requirements. Among them, the correlation between the above-mentioned target user and the target Revit model component can be determined according to the role type of the target user, and / or the distance between the target user and the modeling task of the target Revit model component. Among them, the correlation corresponding to the reviewer role is less than the correlation corresponding to the designer role. The distance between the modeling task of the above-mentioned target user and the target Revit model component is positively correlated with the level between the target user and the executor of the modeling task of the target Revit model component. For example: when the target user is personally responsible for the modeling task of the target Revit model component, the above-mentioned distance is 0. When the target user is the first-level reviewer of the modeling task of the target Revit model component, the above-mentioned distance is 1.
[0025] Specifically, when the target user is a direct designer of the modeling task of the target Revit model component, the distance between the target user and the modeling task of the target Revit model component is relatively close, and the correlation between the target user and the target Revit model component is relatively high. When the target user is an indirect reviewer of the modeling task of the target Revit model component, the distance between the target user and the modeling task of the target Revit model component is relatively far, and the correlation between the target user and the target Revit model component is relatively low.
[0026] In some feasible implementations, the target information data table of the target Revit model component can be obtained based on the Dynamo visual programming tool, and the target information can be determined based on the target information data table.
[0027] Exemplarily, the ID information of the target Revit model component may be composed of: the UniqueId corresponding to the target Revit project to which the target Revit model component belongs, the ID corresponding to the target Revit model to which the target Revit model component belongs, and the ID of the target Revit model component. The UniqueId corresponding to the target Revit project is used to query the relevant information of the target Revit project, wherein the relevant information may include: the information of reviewers at all levels of the target Revit project, and / or the information of responsible persons at all levels. The ID corresponding to the target Revit model is used to determine the relevant information of the target Revit model, wherein the relevant information may include: the information of reviewers at all levels of the target Revit model, and / or the information of responsible persons at all levels. The ID of the target Revit model component is used to determine the relevant information of the target Revit model component, wherein the relevant information may include: the information of reviewers at all levels of the target Revit model component, and / or the information of responsible persons at all levels.
[0028] Specifically, the "RevitServices" library can be called based on the target "Python Script" node to call the API of the corresponding target Revit document, read the data document under the target Revit document instance, and obtain the "ProjectInformation" object to determine the above target information. The above target "Python Script" node can be correspondingly set with a target Python statement and / or a target SQL query statement. The data document under the above target Revit document instance can include: "DocumentManager.Instance.CurrentDBDocument".
[0029] Step S2: Extract target information flow characteristics based on target information.
[0030] It should be noted that the above-mentioned target information flow characteristics are used to characterize the flow of the target Revit model component review task.
[0031] Exemplarily, the direction of the target Revit model component review task can be determined based on the ID information of the target Revit model component, the role type information of the target user, the organizational structure information of the target user, and the ID information of the target user.
[0032] Step S3: Control the transmission of the target message to the target user according to the target information flow characteristics.
[0033] Exemplarily, the target message delivery to the target user account ID can be automatically controlled based on the above-mentioned target information flow characteristics, that is, the flow of the target Revit model component review task.
[0034] Alternatively, in some feasible implementations, the target message recipient's account ID list can be automatically matched according to the target information flow characteristics, that is, the flow of the target Revit model component review task, and the target message recipient's account ID can be selected according to the manual operation of the target message sender to deliver the target message to the target message recipient's corresponding account ID. It should be noted that the target message recipient's account ID can be sorted in descending order according to the above-mentioned correlation degree to facilitate the target message sender to manually select the target message recipient's account ID.
[0035] It should be noted that the above target message may include: text description, voice, and / or screenshots of the target Revit model component.
[0036] It is understandable that the target user can access the target message by logging into his account ID and entering his set password. The account data and password data of all target users can be recorded and stored in the background based on the account password data table.
[0037] For example, Figure 2 A structural diagram of the login interface provided for this application, such as Figure 2 As shown, the above login interface may include: an account label, a password label, an account input box, a password input box, a login status prompt label, and / or a login button, etc.
[0038] Specifically, based on the Python Script node, the "System.Windows.Forms" class can be introduced, and based on the "System.Windows.Forms" class, the creation of label controls, text box controls, and / or button controls can be implemented by setting "Label", "TextBox", "Button", etc. Among them, the sizes and positions of the above-mentioned various controls can be based on the "Size" and "Point" settings in the "System.Drawing" class.
[0039] Based on this, the building model information interaction method provided by the present application includes: obtaining target information of the target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of the target user, organizational structure information of the target user and ID information of the target user, wherein the association degree between the target user and the target Revit model component is greater than or equal to the preset association degree; extracting target information flow characteristics according to the target information; controlling the transmission of target messages to the target user according to the target information flow characteristics. The present application can realize automatic and accurate determination of target information flow characteristics according to the target information of the target Revit model component, thereby automatically controlling the transmission of target messages to the target user. The interaction of building model related information can be realized without the aid of third-party tools, which is conducive to improving the confidentiality of the building model target information interaction process, reducing the difficulty of information tracing, reducing the number of tools called during the information interaction process, and improving the efficiency of information interaction.
[0040] In some feasible implementations, the above-mentioned role type information includes: designer role and reviewer role; the target information flow characteristics include: the initiating node of the target information flow, the terminating node of the target information flow, the multi-level intermediate nodes from the initiating node to the terminating node, and the various levels of pointing of the multi-level intermediate nodes; wherein, the initiating node corresponds to the designer role, and the multi-level intermediate nodes and the terminating node correspond to the reviewer roles at various levels.
[0041] Exemplarily, the initiating node of the target information flow may include: the ID node corresponding to the initiator of the target Revit model component review task, i.e., the designer. The terminating node of the target information flow may include: the ID node corresponding to the ultimate review decision maker of the target Revit model component review task. The multi-level intermediate nodes from the initiating node to the terminating node may include: the ID nodes corresponding to the multi-level intermediate reviewers of the target Revit model component review task.
[0042] Exemplarily, the IDs and ultimate audit nodes corresponding to the intermediate audit nodes involved in the target message sent by the initiator of the target Revit model component review task, i.e. the designer, can be determined based on the target information, and the target message can be sent to reviewers at each level in turn until the target message is transmitted to the ultimate review decision maker of the target Revit model component review task.
[0043] Based on this, the above method can be realized according to the characteristics of the target information flow, that is, the initiating node of the target information flow, the terminating node of the target information flow, the multi-level intermediate nodes from the initiating node to the terminating node, and the various levels of the multi-level intermediate nodes, to automatically control the target message to be transmitted to each review node in order until the target message is transmitted to the terminating node of the target information flow, and the target Revit model component review task is completed. This is conducive to improving the automatic transmission accuracy of the target message at each level of review nodes, reducing the manual participation in the target message transmission process, simplifying the manual operation steps in the target message transmission process, and improving the efficiency of building model information interaction.
[0044] In some feasible implementations, the above method also includes: when determining that the role type of the first target user is a designer role, determining a first-level review node according to the target information flow characteristics; and sending a target message to the second target user according to the first-level review node, wherein the target message includes: ID information, model information, image information, and / or text description label information of the target Revit model component.
[0045] It should be noted that, for the first target user, the role type of the second target user is the reviewer role. The first-level review node corresponds to the review node of the second target user. The correlation between the second target user and the target Revit model component is greater than the first preset threshold. The second target user can be a target user group including multiple target users. Specifically, the first preset threshold can be set according to actual needs.
[0046] Exemplarily, when the role type of the first target user is determined to be a designer role based on the current target Revit model component, the account ID of the first-level reviewer, i.e., the second target user, for the current target Revit model component review task can be determined according to the above-mentioned target information flow characteristics, and based on the account ID of the first-level reviewer, i.e., the second target user, control is provided to send a target message to the account of the first-level reviewer, i.e., the second target user, so that the above-mentioned first-level reviewer, i.e., the second target user, reviews the target message.
[0047] Exemplarily, the above-mentioned target message may include: ID information of the target Revit model component, for example: Revit model component 523513, Revit model component 523515, etc.
[0048] Exemplarily, the target message may also include: model information of the target Revit model component, for example: model information of Revit model component 523513, model information of Revit model component 523515, etc. Specifically, the second target user may consult the model of the target Revit model component based on the model information of the target Revit model component, for example: consult the model of Revit model component 523513, model of Revit model component 523515, etc.
[0049] Exemplarily, the above-mentioned target message may also include: image information of the target Revit model component, for example: screenshot of Revit model component 523513, screenshot of Revit model component 523515, etc.
[0050] Exemplarily, the target message may also include: a text description label set or edited by the first target user, ie, the designer of the target Revit model component.
[0051] It should be noted that the above target message may also include: the initiator of the target message, the initiation time, etc.
[0052] Based on this, the above method can realize automatic and accurate determination of the first-level review node of the target Revit model component review task according to the target information flow characteristics, thereby automatically and accurately controlling the sending of the ID information, model information, image information, and / or text description label information of the target Revit model component to the account ID of the second target user corresponding to the first-level review node, so as to improve the flow efficiency and review efficiency of the target Revit model component review task, which is conducive to improving the correlation between the target message and the target Revit model component, avoiding the target user from missing the target Revit model component review message, reducing the difficulty of tracing the responsibility of the target Revit model component review process, and helping the target user to achieve targeted review of the target Revit model component review message.
[0053] In some feasible implementations, the above method also includes: when the second target user passes the review, determining the secondary review node according to the target information flow characteristics; based on the secondary review node, sending a target message to the third target user, wherein the target message also includes: the annotation content of the second target user.
[0054] It should be noted that the secondary audit node corresponds to the audit node of the third target user. The correlation between the third target user and the target Revit model component is greater than the second preset threshold and less than the first preset threshold. The third target user can be a target user group including multiple target users. It should be noted that the second preset threshold can be set according to actual needs.
[0055] Exemplarily, when the second target user passes the review, the account ID of the second-level reviewer, i.e., the third target user, of the current target Revit model component review task is determined based on the target information flow characteristics, and based on the account ID of the second-level reviewer, i.e., the third target user, a target message is sent to the account of the second-level reviewer, i.e., the third target user, so that the second-level reviewer, i.e., the third target user, reviews the target message. The target message includes: the annotation content generated by all previous review links of the target Revit model component review task, i.e., the annotation content of the second target user, and the original content sent by the first target user when starting the target Revit model component review task, i.e., the ID information, model information, image information, and / or text description label information of the target Revit model component.
[0056] It should be noted that the above-mentioned target message may also include: the reviewer corresponding to the first-level review node of the target message, that is, the second target user, the review passing time of the target message, etc.
[0057] Based on this, the above method can accurately determine the secondary review node of the target Revit model component review task according to the characteristics of the target information flow; according to the above secondary review node, the ID information, model information, image information, text description label information, and / or the annotation content of the second target user of the target Revit model component are accurately and automatically controlled to be sent to the account ID of the third target user corresponding to the two-level review node, thereby improving the multi-level flow efficiency and multi-level review efficiency of the target Revit model component review task, further improving the correlation between the target message and the target Revit model component, avoiding the target user from missing the target Revit model component review message, reducing the difficulty of tracing the responsibility of the target Revit model component review process, and helping the target user to achieve targeted review of the target Revit model component review message.
[0058] In some feasible implementations, the above method also includes: when the third target user fails the review, determining the target return node of the target message according to the target information flow characteristics; according to the target return node, controlling the sending of the target message to the first target user, and / or the second target user, wherein the target message also includes: the annotation content of the third target user.
[0059] Exemplarily, when the third target user fails the review, multiple target return nodes of the target message can be determined based on the target information flow characteristics, wherein the multiple target return nodes may include: the account ID of the initiator of the target message, that is, the designer of the target Revit model component, for example: the first target account ID, and / or, the transferor of the target message, that is, the account ID of the previous multi-level reviewers of the target Revit model component, for example: the account ID of the second target user.
[0060] Specifically, when it is determined that the initiator of the target message is the first target user and the transferor of the target message is the second target user, the target message is controlled to be sent to the ID account of the first target user and / or the ID account of the second target user.
[0061] It should be noted that the above-mentioned target message includes: the annotation content generated by all previous review links of the target Revit model component review task, that is, the annotation content of the third target user, the annotation content of the second target user, and the original content sent by the first target user when starting the target Revit model component review task process, that is, the ID information, model information, image information, and / or text description label information of the target Revit model component.
[0062] It should be noted that the above-mentioned target message may also include: the reviewer corresponding to the secondary review node of the target message, that is, the third target user, the review return time of the target message, etc.
[0063] Based on this, the above method can be achieved, when the third target user fails the review, according to the target information flow characteristics, automatically determine the multi-level target return node of the target message; according to the above multi-level target return node, automatically control the return of the target message to the initiator of the target message, that is, the ID account of the first target user, and / or, the multi-level reviewer of the target message, that is, the ID account of the second target user, which is conducive to improving the automation level of the return operation of the target message, reducing the manual participation in the target message return process, reducing the manual operation steps in the target message return operation process, and reducing the difficulty of responsibility tracing in the target Revit model component review process.
[0064] It should be noted that in the multi-level review process, the multi-level flow process of the target message is similar to the aforementioned steps and will not be repeated here.
[0065] It should be noted that Figure 3 A structural schematic diagram of a target message display interface provided in an embodiment of the present application.
[0066] Exemplarily, a target message query request may be initiated based on the Dynamo visual programming tool to retrieve the target message to be consulted by the target user from the server.
[0067] Specifically, Figure 3 As shown in FIG. 1 , when a target user has multiple target messages to be viewed, the multiple target messages to be viewed can be collectively displayed to improve the target user's efficiency in viewing the target messages to be viewed. The target message display interface can be provided with a target message switching control to achieve the switching display of the target messages. The target message switching control can include: a previous target message switching button and a next target message switching button.
[0068] Specifically, Figure 3 As shown in b, when the target user does not have a target message to be viewed, the target user is prompted that "there is currently no review message to be viewed."
[0069] It should be noted that the target message display interface may also be provided with a target message number label, wherein the target message number label may include: the ratio of the number of currently viewed target messages to the total number of target messages to be viewed.
[0070] In some feasible implementations, the above method also includes: generating a first window interface when it is determined that the role type of the target user is a designer role; generating a second window interface when it is determined that the role type of the target user is a reviewer role; wherein the first window interface, and / or the second window interface is provided with a grab control for grabbing the image content of the clipboard; the first window interface, and / or the second window interface is also provided with a display control, and the display control is associated with a labeling component.
[0071] For example, Figure 4 This is a structural schematic diagram of a first window interface provided in an embodiment of the present application. Figure 4 As shown, the first form interface can be used to submit model review messages for target Revit model components.
[0072] It should be noted that if Figure 4 The first window interface shown may be provided with window controls such as "component list box", "display" button, "add" button, "delete" button, "clear" button, "get screenshot from clipboard" button, "attachment" image box, "review text description" text box, "message recipient" drop-down list, "submit model review content" button, and / or "message submission result label". Among them, the above-mentioned "display" button, "add" button, "delete" button, and "clear" button are used to perform the selection of the target Revit model component and / or related operations.
[0073] For example, Figure 5 A structural schematic diagram of the "Add" button operation interface provided in an embodiment of the present application.
[0074] It should be noted that the operation of the above-mentioned "Add" button can be realized based on the following steps: ①Use the program "DocumentManager.Instance.CurrentUIApplication" to obtain the UI application of the current Revit document.
[0075] ② Get the active document of the above UI application, that is, ActiveUIDocument.
[0076] ③Get the selection set Selection of the above active document.
[0077] ④Use “GetElementIds()” to obtain the target Revit model component ID.
[0078] ⑤ Through "ListBox.Items.Add()", add the target Revit model component ID in the brackets to the component list box in the above first window interface, for example: add the target Revit model component ID: 523513,523515 to the component list box.
[0079] It should be noted that the operation of the above-mentioned "delete" button can be realized based on the following steps: ① Get the target Revit model component ID to be deleted in the above component list box through "ListBox.SelectedItems".
[0080] ② Use "ListBox.Items.Remove()" to delete the target Revit model component ID from the component list box.
[0081] It should be noted that the operation of the above-mentioned "clear" button can be realized based on the following steps: ① Use "ListBox.Items.Clear()" to clear the target Revit model component ID item in the component list box.
[0082] It should be noted that the operation of the above-mentioned "Show" button can be realized based on the following steps: ① Get the target Revit model component ID selected in the above component list box through "ListBox.SelectedItems" to display the above target Revit model component.
[0083] For example, Figure 6 A structural schematic diagram of an image content capture interface provided in an embodiment of the present application, such as Figure 6 The above-mentioned capture control may include: a "get screenshot from clipboard" button.
[0084] Specifically, when the target user clicks the "Get screenshot from clipboard" button, the clipboard image capture operation is triggered. It should be noted that the captured binary image data can be converted into stream data and then converted into image data.
[0085] Specifically, the image content capture of the clipboard can be achieved by the following steps: ① Get the binary data of the image from the computer system clipboard through "Clipboard.GetImage()". It should be noted that if the feedback result is not empty, it means that the image content has been captured.
[0086] ②Use "MemoryStream()" to convert binary data into stream data, and use "Image.FromStream()" to convert stream data into image data.
[0087] ③ Assign the captured image data to the attached figure control, and the attached figure control will automatically display the above image.
[0088] It should be noted that the source of clipboard image data may include: image capture operations performed by various tools, and / or image copy operations, wherein the image data obtained by the above-mentioned image capture operations and / or image copy operations can be stored in the clipboard in binary format.
[0089] Exemplarily, the first window interface may also be provided with a "review text description" text box for filling in the text description content of the sender of the target message.
[0090] It should be noted that the "Message Recipient" control in the first window interface is used to automatically associate the account ID of the recipient of the target message based on the aforementioned steps S1-S3. Alternatively, the "Message Recipient" control in the above first window interface can also be used to select the account ID of the target message recipient according to the manual operation of the sender of the target message.
[0091] It should be noted that the trigger mechanism of the "Submit Model Review Content" button in the first form interface can be set according to the actual needs of the user. The trigger mechanism includes an automatic trigger mechanism and / or a manual trigger mechanism.
[0092] Exemplarily, after the "Submit Model Review Content" button in the above-mentioned first form interface is triggered, a request can be sent to the database service or Web service target message through Dynamo, and the various parameters carried by the above-mentioned target message can be stored in the corresponding target data table through the corresponding target connection, and the result of whether the request is successful is returned to Dynamo.
[0093] For example, Figure 7 This is a structural diagram of a target message sending success feedback interface provided by an embodiment of the present application. Figure 7 As shown, if the target message is sent successfully, the result and time of the successful submission of the target message are recorded. It should be noted that if the target message fails to be sent, the result and time of the failed submission of the target message are recorded.
[0094] It should be noted that, if the designer receives a return message indicating that the review failed, he or she can also perform a reply operation on the return message based on the first target form interface. For example, in the process of performing a reply operation on the return message, the reply description of the task can be filled in the "Reply Description" text box, and the "Reply" button can be clicked to pass the reply content to the server-side "Message Reply" interface through Dynamo. The server-side modifies the "Reply Description" and "Reply Time" fields of the reply content. After completing the data modification operation in the cloud database, it can display "Reply Success!" For example, Figure 8-Figure 9 A structural schematic diagram of a second window interface provided in an embodiment of the present application. The second window interface can be used to reply to the model review message of the target Revit model component. Fig. 9 As shown, when it is determined that the data modification to the cloud database is successful, that is, the model review message of the target Revit model component is replied successfully, the second form interface can feedback the words "Reply Successful".
[0095] It should be noted that if Figure 8 The second window interface shown can be provided with form controls such as "review message status label", "review text description text box", "previous" button, "next" button, "label of the ratio of the current number of reviewed target messages to the total number of target messages to be reviewed", "show components" button, "clear board" button, "reply description" text box, "reply" button, and "reply result label".
[0096] It should be noted that the above display control may include a "Show Board" button.
[0097] Exemplarily, when the target user clicks the "Show Board" button, the second window interface jumps to the board window interface. Specifically, the "Show Board" button can be based on the "Show()" to transpose the board window interface. Among them, the image displayed in the board window interface can be based on the binary data of the image, and the binary data can be converted into an image through "MemoryStream()", and finally the image is copied to the "PictureBox" control in the board window.
[0098] For example, Fig.10 A structural schematic diagram of a drawing board window interface provided in an embodiment of the present application.
[0099] Specifically, the above-mentioned drawing board form interface can realize the creation of the image control in the drawing board form interface based on the "PictureBox" of the "System.Windows.Forms" class. Among them, the size and position control of the above-mentioned image control can be realized based on the "Size" and "Point" of the "System.Drawing" class.
[0100] In some feasible implementations, the image can be scaled to match the size of the "PictureBox" by setting the "SizeMode" property of the control to "PictureBoxSizeMode.Zoom".
[0101] It should be noted that the above-mentioned display control is associated with a marking component, that is, the above-mentioned drawing board form interface can be associated with a marking component for marking errors of the target Revit model components.
[0102] For example, Fig.10 As shown, when the role type of the target user is a reviewer, the screenshot of the target Revit model component can be annotated through the drawing board form interface. For example, when the target user determines that the data of the target Revit model component is wrong, "these two components have data errors" can be annotated through the drawing board form interface.
[0103] Exemplarily, the second window interface may also be provided with a "clear board" button for calling "Close()" to execute a closing operation on the board window interface.
[0104] It should be noted that the first form interface and the second form interface may include: Winform form, and / or WPF form, etc. Exemplarily, the creation of label controls, list box controls, text box controls, and button controls in the first form interface and the second form interface may be implemented based on "TabControl", "TabPage", "Label", "ListBox", "TextBox", and / or "Button" in the "System.Windows.Forms" class. Among them, the size and position of the label control, list box control, text box control, and button control may be regulated based on "Size" and "Point" in the "System.Drawing" class.
[0105] It should be noted that the relevant data of the target message can be recorded in the form of a target data table. For example, Fig.11A structural diagram of a target data table provided in an embodiment of the present application. Fig.11 As shown, the target data table may include: "Review message data table". The target data table may be used to record the following data: target Revit model component ID, target Revit model ID, target Revit model component element ID list, sender ID of the target message, receiver ID of the target message, target message content description, image file path in the target message, target message sending time, and / or target message review time, etc.
[0106] Based on this, the target user of the above method can perform a clipboard image grabbing operation based on the above first form interface, and / or the second form interface, to facilitate the target user to send image data in the target message of the target Revit model component; the target user can also mark the target Revit model component based on the above first form interface, and / or the second form interface, to facilitate the target user reviewer to mark problems of the target Revit model component, thereby facilitating the target message designer to quickly locate problems of the target Revit model component, thereby improving the efficiency of rectifying problems of the target Revit model component.
[0107] In some feasible implementations, the above also includes: obtaining the ID information of the current target user and the clipboard image of the current target user within the first preset time; determining the target information of the target Revit model component corresponding to the clipboard image based on the clipboard image; determining the role type corresponding to the current target user based on the target information; and executing the target window switching operation based on the role type.
[0108] Exemplarily, the first preset time mentioned above can be set according to actual needs.
[0109] It should be noted that, when the ID information of the current target user and the clipboard image of the current target user within the first preset time are obtained, it is possible to determine whether the clipboard image belongs to the target Revit model component based on the similarity comparison result between the clipboard image and the target Revit model component image.
[0110] Exemplarily, when the similarity between the clipboard image and the target Revit model component image is greater than a preset similarity, the target information of the target Revit model component is queried to determine the role type of the target user corresponding to the target Revit model component.
[0111] Specifically, when the target user is currently in the first form interface and the target user's role type for the target Revit model component is the reviewer role, control is switched from the first form interface to the second form interface. When the target user is currently in the second form interface and the target user's role type for the target Revit model component is the reviewer role, the form interface switching operation is not performed.
[0112] Specifically, when the target user is currently in the second form interface and the target user's role type for the target Revit model component is a designer role, control is switched from the second form interface to the first form interface. When the target user is currently in the first form interface and the target user's role type for the target Revit model component is a designer role, the form interface switching operation is not performed.
[0113] Specifically, the target window switching operation can be implemented based on automatically triggering the TabPage in the TabControl.
[0114] Based on this, the above method can accurately determine the target information of the target Revit model component corresponding to the clipboard image according to the clipboard image; accurately determine the role type of the current target user for the target Revit model component according to the ID information of the current target user and the target information of the target Revit model component; accurately execute the target window switching operation according to the role type, which is conducive to automating the switching operation between the first window interface and the second window interface, and improving the intelligence during the interface switching operation.
[0115] In some feasible implementations, the architectural model information interaction method as described above further includes: performing a target operation on a target Revit model component according to the annotation content of a target reviewer user to generate a target effect image of the target Revit model component, wherein the annotation content may include: text annotation content, and / or image annotation content.
[0116] The above target operation may include: a highlight operation, and / or a focus operation.
[0117] Exemplarily, when the annotation content is text annotation content, the problem element of the target Revit model component can be determined based on semantic analysis, and the problem element of the target Revit model component can be highlighted and / or focused to generate a highlighted image of the problem element of the target Revit model component and / or a focused image of the problem element of the target Revit model component. Specifically, the problem element ID of the target Revit model component can be determined based on the analysis of the text annotation content to determine the problem element of the target Revit model component.
[0118] For example, Figure 12-13 This is a schematic diagram of the structure of the target effect image interface display provided by the embodiment of the present application. Figure 12-13 As shown, when the annotation content is an image annotation content, the problem element of the target Revit model component can be determined based on image analysis, and the problem element of the target Revit model component can be highlighted and / or focused in the first form interface, the second form interface, and / or the drawing board form interface to generate a highlighted image of the problem element of the target Revit model component and / or a focused image of the problem element of the target Revit model component. Specifically, the problem element of the target Revit model component can be located according to the image annotation content to determine the problem element of the target Revit model component.
[0119] Specifically, highlighting of the problem elements of the target Revit model component can be achieved based on the following steps: obtain the active document ActiveUIDocument, take the target Revit model component problem element ID, and / or the target Revit model component problem element mark position as parameters, and use "Selection.SetElementIds()" to achieve highlighting of the corresponding target Revit model component problem elements.
[0120] Specifically, the focused display of the problem element of the target Revit model component can be achieved based on the following steps: obtain the active document ActiveUIDocument, take the target Revit model component problem element ID, and / or the target Revit model component problem element mark position as parameters, and use "ShowElements()" to achieve the focused display of the corresponding target Revit model component problem element.
[0121] Based on this, the above method can realize the automatic target effect processing of the problematic elements of the target Revit model component according to the text annotation content and / or image annotation content of the target reviewer user, which is conducive to helping the target designer user to quickly locate the problematic elements of the target Revit model component based on the corresponding prominent visual effects, thereby improving the efficiency of the target designer user to rectify the problematic elements of the target Revit model component; it is conducive to helping the target reviewer user to quickly locate the problematic elements of the target Revit model component marked by it based on the corresponding prominent visual effects, which is conducive to improving the efficiency of discovering annotation errors and reducing the error rate of annotation content from the source of annotation content.
[0122] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0123] The above is an introduction to the method embodiment. The following is a further explanation of the scheme described in this application through an apparatus embodiment.
[0124] According to a second aspect of the embodiments of the present application, a building model information interaction device is provided. Fig.14 Schematic diagram of the structure of a building model information interaction device 200 provided in an embodiment of the present application. Fig.14 The device 200 shown includes: an acquisition unit 210 , an extraction unit 220 and a control unit 230 .
[0125] The acquisition unit 210 is used to acquire target information of a target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of a target user, organizational structure information of the target user, and ID information of the target user, wherein the association degree between the target user and the target Revit model component is greater than or equal to a preset association degree; An extraction unit 220, configured to extract target information flow characteristics according to the target information; The control unit 230 is used to control the transmission of the target message to the target user according to the target information flow characteristics.
[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described method can refer to the corresponding process in the aforementioned system embodiment, and will not be repeated here.
[0127] Fig.15 This is a structural diagram of an electronic device provided in an embodiment of the present application. Fig.15 As shown, the electronic device 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 into the random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the terminal device or the server are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0128] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
[0129] In particular, according to an embodiment of the present application, the above method flow steps can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-mentioned functions defined in the system of the present application are executed.
[0130] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0131] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0132] The units or modules involved in the embodiments described in the present application may be implemented by software or hardware. The units or modules described may also be arranged in a processor. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves.
[0133] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. A building model information interaction method, characterized in that: Applicable to the Revit platform, the method includes: Acquire target information of a target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of a target user, organizational structure information of the target user, and ID information of the target user, wherein the degree of association between the target user and the target Revit model component is greater than or equal to a preset degree of association; Extracting target information flow characteristics according to the target information; According to the target information flow characteristics, control the transmission of the target message to the target user.
2. The architectural model information interaction method according to claim 1, characterized in that: The role type information includes: designer role and reviewer role; The target information flow characteristics include: an initiating node of the target information flow, a terminating node of the target information flow, multiple intermediate nodes from the initiating node to the terminating node, and each level of the multiple intermediate nodes; The initiating node corresponds to the designer role, and the multi-level intermediate nodes and the terminating node correspond to the reviewer roles at each level.
3. The architectural model information interaction method according to claim 2, characterized in that: The method further comprises: In the case where it is determined that the role type of the first target user is a designer role, a first-level review node is determined according to the target information flow characteristics; According to the first-level review node, a target message is sent to the second target user, wherein the target message includes: ID information, model information, image information, and / or text description label information of the target Revit model component.
4. The architectural model information interaction method according to claim 3, characterized in that: The method further comprises: If the second target user passes the review, determine the secondary review node according to the target information flow characteristics; According to the secondary audit node, a target message is sent to a third target user, wherein the target message also includes: the annotation content of the second target user.
5. The architectural model information interaction method according to claim 4, characterized in that: The method further comprises: In the case that the third target user fails the review, determining the target return node of the target message according to the target information flow characteristics; According to the target rollback node, control is performed to send the target message to the first target user and / or the second target user, wherein the target message further includes: the annotation content of the third target user.
6. The architectural model information interaction method according to claim 5, characterized in that: The method further comprises: In the case where it is determined that the role type of the target user is a designer role, generating a first window interface; In the case where it is determined that the role type of the target user is a reviewer role, generating a second window interface; Wherein, the first window interface and / or the second window interface is provided with a grab control for grabbing the image content of the clipboard; The first window interface and / or the second window interface are further provided with a display control, and the display control is associated with a labeling component.
7. The architectural model information interaction method according to claim 6, characterized in that: Also includes: Obtain the ID information of the current target user and the clipboard image of the current target user within the first preset time; Determining target information of a target Revit model component corresponding to the clipboard image according to the clipboard image; Determine, according to the target information, the role type corresponding to the current target user; According to the role type, a target window switching operation is performed.
8. The building model information interaction method according to any one of claims 3 to 7, characterized in that: Also includes: According to the annotation content of the target reviewer user, a target operation is performed on the target Revit model component to generate a target effect image of the target Revit model component, wherein the annotation content may include: text annotation content, and / or image annotation content.
9. A building model information interaction device, characterized in that: include: An acquisition unit is used to acquire target information of a target Revit model component, wherein the target information includes: ID information of the target Revit model component, role type information of a target user, organizational structure information of the target user, and ID information of the target user, wherein the degree of association between the target user and the target Revit model component is greater than or equal to a preset degree of association; An extraction unit, used for extracting target information flow characteristics according to the target information; The control unit is used to control the transmission of the target message to the target user according to the target information flow characteristics.
10. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and the computer program instructions are used by the processor to execute the building model information interaction method according to any one of claims 1 to 8 when the processor is running.
Citation Information
Patent Citations
Building information model transfer and examination method and system based on visual programming
CN111680070A
Construction reporting auditing method, computer equipment and storage medium
CN118886861A