A method, apparatus, and medium for model conversion from YJK to Revit.
By determining the parameter correspondence and conversion mode between the YJK and REVIT models, the problem of synchronous model updates was solved, enabling efficient and accurate model conversion and adjustment, and improving the reliability and accuracy of the design.
Patent Information
- Application Number
- CN202511932288.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2045-12-19
AI Technical Summary
In architectural design, existing technologies struggle to efficiently and synchronously update the 3D Revit model and the YJK structural calculation model, leading to increased workload and design errors, as well as inaccuracies when converting beams and walls.
By determining the parameter correspondence between the YJK model and the REVIT model, and employing multiple conversion modes such as merging by beam span and merging by straight wall, combined with the dead load bending moment internal force diagram and node attribute judgment, the structural beams and shear walls are intelligently merged, and the shear wall length is adjusted to ensure the accuracy of the model.
It achieves efficient conversion and adjustment, ensures the accuracy and consistency of the model, reduces design errors, and improves the practicality and reliability of the model.
Smart Images

Figure CN121580498B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of building technology, and in particular to a method, device and medium for converting YJK to REVIT models. Background Technology
[0002] In the architectural design industry, structural engineers often need to maintain two sets of 3D models simultaneously during 3D forward design: a 3D Revit model and a YJK structural calculation model. This not only significantly increases workload but can also lead to design errors due to asynchronous model modifications. Specifically, when modifying one model, the other must be manually updated, doubling the workload. Furthermore, in practice, updates may be untimely or out of sync, causing inconsistencies between the two models and creating potential safety hazards in the design. Although some software on the market attempts to address these issues, some challenges remain unresolved. For example, structural beams are often improperly segmented when converted from the calculation model to the Revit model, when they should actually be merged and connected according to specific rules. Similarly, walls may be incorrectly broken into multiple segments, when they should remain continuous according to rules. Additionally, at the perpendicular intersection of beams and walls, the wall length is often missing half the beam width, affecting the accuracy of the model. Summary of the Invention
[0003] To address the aforementioned issues, this application proposes a model conversion method from YJK to REVIT, comprising: determining a pre-set YJK model and a REVIT model; matching the YJK model and the REVIT model to determine the parameter correspondence between the object library of the YJK model and the family library of the REVIT model; converting the YJK model into the REVIT model according to the parameter correspondence; determining a pre-set adjustment strategy; and adjusting the converted REVIT model according to the adjustment strategy.
[0004] In one example, determining the parameter correspondence between the object library of the YJK model and the building science family library of the REVIT model specifically includes: the parameter correspondence includes parameter matching of concrete components and parameter matching of steel structure components; wherein, the concrete components include structural beams, structural columns, openings, slabs, walls, vertical braces, and horizontal braces; the steel structure components include welded sections and steel sections.
[0005] In one example, converting the YJK model to the REVIT model according to the correspondence specifically includes: when converting structural beams, determining the conversion mode of the structural beams, which includes direct conversion by modeled beams and conversion by beam span merging, wherein when the conversion mode is beam span merging, beam segments are merged according to the support and internal force conditions of the structural beams; when converting walls, determining the conversion mode of the structural walls, which includes direct conversion by modeled walls and conversion by merging straight walls, wherein when the conversion mode is straight wall merging, all shear wall objects are traversed to merge connected shear walls according to the collinearity and length of all shear wall objects.
[0006] In one example, when the conversion mode is merging by beam span, the method further includes: obtaining the dead load bending moment internal force diagram of all structural beams; determining the span position and bending moment value of the structural beams based on the dead load bending moment internal force diagram; determining the node attributes of the structural beams based on the nodes contained in the walls and the structural columns; determining the beam node attributes that share nodes with the structural columns to determine the column nodes; and determining the beam node attributes that share nodes with the walls to determine the corresponding wall nodes based on the position of the structural beams in the wall plane; traversing all structural beams and merging them based on the node attributes and the bending moment values to obtain continuous beam segments.
[0007] In one example, merging the node attributes and bending moment values specifically includes: determining the two end nodes of the structural beam, and designating either end node as the first node and the other end node as the second node; checking the node attributes of the first node; if the node attributes of the first node belong to a column node or a wall node, then the first node is determined to be a support, and the node attributes of the second node are checked; if the node attributes of the first node do not belong to a column node or a wall node, then it is determined whether the bending moment value corresponding to the first node is less than or equal to 0; if so, the first node is determined to be a support, and the node attributes of the second node are checked; if not, then adjacent nodes are searched based on the first node. When searching for adjacent beam segments based on the first node, determine whether there exists a first adjacent beam segment connected to the first node and parallel to the structural beam. If not, check the node attributes of the second node. If it exists, determine the first non-connected node of the first adjacent beam segment and determine whether the bending moment value corresponding to the first non-connected node is less than or equal to 0, or whether the node attribute of the first non-connected node belongs to a column node or a wall node. If yes, determine that the first non-connected node is a support, record the structural beam and the first adjacent beam segment in the first list of beam segments to be merged, and terminate the checking loop. If no, continue searching for a beam segment connected to the first adjacent beam segment and parallel to the first node based on the first non-connected node. The process continues until no other adjacent beam segments are found, and all adjacent beam segments are recorded in the first list of beam segments to be merged. When checking the node attributes of the second node, if the node attributes of the second node also belong to a column node or wall node, then the second node is determined to be a support, and the checking loop terminates. If the node attributes of the second node do not belong to a column node or wall node, then it is determined whether the bending moment value corresponding to the second node is less than or equal to 0. If yes, then the second node is determined to be a support. If not, then adjacent beam segments are searched based on the second node. When searching for adjacent beam segments based on the second node, it is determined whether there exists a second adjacent beam segment connected to the second node and parallel to the structural beam. If the first list of beam segments to be merged does not exist, then the beam segments are merged according to the first list of beam segments to be merged. If the second non-connection node of the second adjacent beam segment is determined, and it is determined whether the bending moment value corresponding to the second non-connection node is less than or equal to 0, or whether the node attribute of the second non-connection node belongs to a column node or a wall node. If so, the second non-connection node is determined to be a support, and the structural beam and the second adjacent beam segment are recorded in the second list of beam segments to be merged, and the checking loop is terminated. If not, other adjacent beam segments connected to and parallel to the second adjacent beam segment are searched according to the second non-connection node until no other adjacent beam segments can be found, and all adjacent beam segments are recorded in the second list of beam segments to be merged.The beam segments are merged based on the first list of beam segments to be merged and the second list of beam segments to be merged to obtain continuous beam segments.
[0008] In one example, when the conversion mode is merging along straight walls, the method further includes: traversing all shear walls, determining connected shear walls based on the two nodes of each shear wall, determining the number of connected shear walls, and determining whether the shear wall and the connected shear wall are collinear; if the number is 1 and the shear wall and the connected shear wall are collinear, then the connected shear wall is recorded, and the unconnected nodes of the connected shear wall are explored to see if there are any shear walls that can continue to connect; if the number is greater than 1, then it is determined whether there are any connected shear walls that are not collinear with the shear wall. If so, the exploration is terminated; if not, the longest connected shear wall is selected and recorded; until no other collinear adjacent shear walls can be found for the shear wall and the connected collinear shear walls, the recorded connected shear walls are merged to obtain shear wall segments, and the original segmented wall is deleted.
[0009] In one example, adjusting the transformed REVIT model specifically includes: determining the structural beam perpendicularly connected to the end of the shear wall, and determining the width, eccentricity, and eccentricity direction of the structural beam; calculating the extension length of the shear wall based on the eccentricity direction and width, and adjusting the shear wall based on the extension length.
[0010] In one example, the method further includes: the structural beams include rectangular beams and variable cross-section rectangular beams; the structural columns include rectangular columns, circular columns, L-shaped columns, T-shaped columns, and cross-shaped columns; the openings include circular openings, rectangular door and window openings, and rectangular reserved openings; the diagonal bracing is determined according to the component type and material type in the YJK model, and corresponding parameter matching is performed; the welded section includes steel beams, steel columns, and horizontal supports, and the parameters of the welded section include at least one or more of the following: web height, web thickness, flange width, flange thickness, and annular outer circle dimensions; wherein, the steel beams include I-beams, channel steel, and L-shaped steel; the steel columns include H-shaped, box-shaped, T-shaped, circular, cross-shaped, and L-shaped; the horizontal supports include L-shaped steel, T-shaped steel, cross-shaped steel, and circular tubular steel; the parameter matching of the steel section adopts the standard section provided by the REVIT model and is matched through name correspondence.
[0011] On the other hand, this application also proposes a YJK to REVIT model conversion device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the YJK to REVIT model conversion device to perform: the method described in any of the examples above.
[0012] On the other hand, this application also proposes a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to be the method described in any of the examples above.
[0013] This application details the parameter correspondence between the YJK model object library and the REVIT model family library for concrete and steel structural components, covering various component types to ensure accurate parameter mapping during conversion and lay the foundation for high-quality conversion. Multiple conversion modes are provided for structural beams and walls, such as direct conversion of structural beams by modeled beam or conversion by beam span merging; and direct conversion of walls by modeled walls or conversion by merging straight walls. Appropriate methods can be selected based on different model characteristics to meet diverse needs. When merging by beam span, the span and moment values are determined by obtaining the dead load bending moment internal force diagram, and the supports are judged by combining node attributes. Adjacent beam segments are intelligently traversed and merged. When merging by straight walls, connected shear walls are merged based on collinearity and length, effectively simplifying the model structure. After conversion, the extension length can be reasonably calculated and the shear wall adjusted according to the parameters of the structural beams connected to the shear wall ends, ensuring the geometric accuracy of the model and improving its practicality and reliability. Detailed descriptions and parameter matching methods are provided for various structural components such as beams, columns, openings, braces, and sections, ensuring a complete and accurate conversion process and providing reliable support for engineering applications. Attached Figure Description
[0014] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a schematic flowchart of a model conversion method from YJK to REVIT in an embodiment of this application; Figure 2 This is a schematic diagram of a model conversion device from YJK to REVIT according to an embodiment of this application. Detailed Implementation
[0015] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0016] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0017] like Figure 1 As shown, in order to solve the above problems, this application provides a model conversion method from YJK to Revit, the method including: S101. Determine the pre-set YJK model and REVIT model, and match the YJK model and REVIT model to determine the parameter correspondence between the object library of the YJK model and the construction family library of the REVIT model.
[0018] In practical engineering applications, to achieve efficient collaboration and accurate conversion between structural calculation models and 3D BIM models, the following steps are taken first: For components of the same type in both models, the mutual conversion operation is precisely implemented based on the established parameter matching relationships. This ensures the accuracy and completeness of information transmission during the conversion process, guaranteeing the quality of the initial conversion results. Finally, the initial conversion results are automatically adjusted. Combining actual production needs and relevant standards and specifications, optimization strategies are used to correct and improve any unreasonable aspects of the model, making the final model more closely aligned with the actual production scenario and providing reliable support for the smooth progress of engineering projects.
[0019] In one embodiment, the parameter correspondence between the Jianke family library and the YJK object library is shown during the conversion of the Revit model. The correspondence for the concrete structure portion is shown in Table 1 below.
[0020] Table 1 Correspondence of Concrete Structure Components
[0021] The diagonal bracing section in the table above needs to be determined based on the component type and material type in YJK. During implementation, the extraction and judgment methods need to be determined by referring to the ydb documentation or API and the YJK model.
[0022] In the parameter mapping of concrete components, the parameter matching and naming rules between Revit families and YJK components are as follows: For rectangular beams, Revit rectangular beams correspond to YJK rectangular beams, and the naming format is "bxh"; Revit rectangular variable cross-section beams correspond to YJK rectangular variable cross-section beams, and the naming format is "BxHxU". For rectangular columns, Revit rectangular columns match YJK rectangular columns, and the naming is the same, "bxh"; when corresponding to circular columns, the naming of Revit circular columns and YJK circular columns is simplified to "b". For irregularly shaped columns, the corresponding naming convention for T-shaped columns in Revit and YJK is "bxhxb1xh1"; for L-shaped columns, the naming rule for Revit L-shaped columns and YJK L-shaped columns is "hx(b+d)xbxf", where the part in parentheses is only for calculation explanation, and the actual naming is like "600x500x200x200"; for cross-shaped columns, the naming format for Revit cross-shaped columns and YJK cross-shaped columns is "HxBxDxFxTxU". It is important to note that the parameters of the S_Structural Column_L-shaped and S_Structural Column_Cross-shaped families have been adjusted to match YJK. Replacing them may affect functions such as vertical component annotation and drawing conversion (drawing to column generation).
[0023] In one embodiment, two main issues need to be addressed in the steel structure portion: first, the testing model; and second, the extraction and conversion methods for the spatial layer model. Steel structure components can be categorized into two types based on their cross-sections: welded sections and profiled steel sections. The former are customized sections requiring parameter-driven precise modeling. Although Revit provides default families, their parameter settings are complex; therefore, a custom family approach is used. The latter are standardized sections that can be directly selected from Revit's standard section list. The correspondence between welded sections in the steel structure portion is shown in Table 2 below.
[0024] Table 2 Correspondence of Steel Structure Components
[0025] In one embodiment, matching of steel sections can be achieved through the name correspondence between YJK objects and Revit families, without the need to set additional dimensional parameters.
[0026] In YJK, the horizontal position of the rectangular opening is expressed by three positioning distance parameters: "left", "right", and "center". However, Revit does not explicitly provide such parameters, requiring developers to explore solutions from the underlying code level.
[0027] Rectangular reserved openings exist as independent objects in YJK, and are distinguished only by different family names in Revit, while their actual content is completely identical. Since the size of reserved openings is usually small, the YJK calculation model may not represent them, but users may still manually create them in Revit and want to convert them to the YJK model. Therefore, this matching rule needs to be retained to support such scenarios.
[0028] S102. Convert the YJK model into the REVIT model according to the parameter correspondence.
[0029] When a user clicks the "Full Import" button in the pre-configured visualization system, a confirmation dialog box will pop up. After the user clicks "OK," the program will automatically convert the YJK model into a Revit model based on the parameter matching relationships and the completed parameter configurations.
[0030] In one embodiment, there are two different beam mode conversion methods during the beam conversion process. When the beam mode is selected as "by modeled beam", the conversion will be performed directly based on the original beam segment division in YJK. If the "by beam span merging" mode is selected, the beam segments need to be merged according to the support distribution and internal force conditions of the beam segments in YJK, and then the conversion will be performed according to the merged segmentation method. Under dead load, the structural bending moment diagram can intuitively reflect the support position of the beam. Generally, the bending moment value at the beam span division, i.e., the support position, is negative, while the bending moment value at the middle node of a continuous beam span remains the same sign, i.e., all are positive. The values may be discontinuous, so the span division position can be determined by the change characteristics of the bending moment diagram. In addition, beam segment merging also needs to meet the condition that the beam lines remain parallel within the allowable error range.
[0031] In one embodiment, when obtaining bending moment data for all beam segments, the data is retrieved from the dtlcalc.ydb database. First, the ID value corresponding to Kind=100 is filtered from the database table. This ID is the dead load case number, and typically has a value of 8. Second, using this ID as the LoadCase condition, combined with the ID of the beam segment to be queried, the corresponding Val column value is extracted. This value typically contains 9 values, corresponding to the internal force values of the 9 nodes after the beam is divided into 8 segments along the axial direction. Finally, by traversing all beam segments using the above method, the dead load bending moment internal force diagram of each beam segment can be obtained completely.
[0032] In one embodiment, three lists are defined: a List consisting of all beam segments. <beamseg>A list consisting of all columns and a list consisting of all walls. <wall>Based on the nodes contained in the walls and columns, modify the node attributes of the beams. First, iterate through the List, setting the attribute of nodes in BeamSeg that share nodes with columns to "column node". The data type can be customized by the developers, using an integer type. For example, use the value 103 as a marker so that the support strength difference can be directly determined when reusing other functions later. Second, iterate through the List... <wall>Set the attribute of the nodes in BeamSeg that share nodes with walls to "wall node", and distinguish between the case where the beam is in the shear wall plane and applies "beam in wall plane error", and the case where the beam is outside the shear wall plane, setting the former to 102 and the latter to 101; finally, set the attribute value of the remaining beam nodes that do not share nodes with columns or walls to empty.
[0033] In one embodiment, List <beamseg>Each element in the BeamSeg framework already possesses node attributes and internal force values under constant load. Next, all BeamSeg elements will be traversed and merged.
[0034] Define the current beam segment as BeamSeg[i], which must have two nodes, denoted as end1 (referred to as the first node) and end2 (referred to as the second node). First, check end1 to determine if its attribute is one of 101, 102, or 103. If so, it indicates that this is a support, and there is no need to search for adjacent beam segments. Then check the other node end2 and proceed to the next step. If the attribute of end1 does not belong to the above cases, continue to check if the bending moment value corresponding to end1 is less than or equal to 0. If so, it indicates that this is a support, and there is no need to connect. Similarly, check the other node end2 and proceed to the next step; if the bending moment value on the end1 side is greater than 0, proceed to the next step to search for adjacent beam segments.
[0035] When searching for adjacent beam segments, check if there are other BeamSegs that are connected to end1 and parallel to BeamSeg[i] within the error range, and which are subject to the "beam / wall parallel error". If not, it means that there are no other beam segments that can be connected to this end of the beam segment. Check the other node end2 and proceed to the next step. If there is, define it as BeamSeg[k] (here called the first adjacent beam segment), and check if the dead load bending moment value corresponding to the other end of BeamSeg[k] (here called the first non-connected node) is less than or equal to 0, or if the node attribute is one of 101, 102 or 103. If so, it means that this is a support, stop searching forward, and record all beam segments passed from the starting beam segment BeamSeg[i] to the current beam segment BeamSeg[k] as the list of beam segments to be merged.<BeamSegConnect_end1> (Hereinafter referred to as the first list of beam segments to be merged), and proceed to the next step; if not, continue searching forward to find other BeamSegs connected to the other end of BeamSeg[k] and parallel within the error range, and so on, until no BeamSeg is found, or the dead load moment value of the end node of the current BeamSeg is less than or equal to 0, or the node attribute is one of 101, 102 or 103. At this time, stop the search, and record all BeamSegs from BeamSeg[i] to the present in the list of beam segments to be merged.<BeamSegConnect_end1> In the middle, and check end2.
[0036] Next, let's look at end2. Its search logic is roughly the same as end1, except that subsequent objects to be merged are recorded in a List.<BeamSegConnect_end2> (Hereinafter referred to as the second list of beam segments to be merged).
[0037] Determine if the end2 attribute is one of 101, 102, or 103. If it is, this is a support and does not need to be connected; disconnect and the loop terminates, proceeding to the final merging step. If not, check if the bending moment value corresponding to the end2 side is less than or equal to 0. If it is, this is a support and does not need to be connected, proceeding to the final merging step. If the bending moment value on the end2 side is greater than 0, check if there are other BeamSegs connected to end2 and parallel to BeamSeg[i] within the error range. If not, this beam segment has no other connectable beams. For any adjacent beam segments, proceed to the final merging step. If such a segment exists, assume it is BeamSeg[k] (referred to as the second adjacent beam segment). Check if the dead load moment value corresponding to the other end of BeamSeg[k] (referred to as the second non-connected node) is less than or equal to 0, or if the node attribute is one of 101, 102, or 103. If so, it indicates that this is a support, stop the forward search, and record all beam segments passed from the starting beam segment BeamSeg[i] to the current beam segment BeamSeg[k] as the list of beam segments to be merged (List).<BeamSegConnect_end2> If not, continue searching forward to find other BeamSegs connected to the other end of BeamSeg[k] and parallel to it within the error range, and so on, until no BeamSeg is found, or the dead load moment value of the end node of the current BeamSeg is less than or equal to 0, or the node attribute is one of 101, 102 or 103. At this time, stop searching and record all BeamSegs from BeamSeg[i] to the current point in the list of beam segments to be merged.<BeamSegConnect_end2> In the middle. Finally, the List<BeamSegConnect_end1> and List<BeamSegConnect_end2> They were combined into one beam segment.
[0038] In one embodiment, when the wall conversion mode is set to "by modeling wall", the conversion is performed directly according to the wall segment division method in YJK; while when the wall mode is "by merging straight walls", all shear wall objects are traversed first. Assuming the object being processed is wall[i], which has two nodes end1 and end2, it first checks whether there are other shear walls connected to end1. If there are, it proceeds to the next step; if not, it directly proceeds to the processing step for end2, that is, it checks whether there are other shear wall segments connected to end2.
[0039] If there are other shear walls connected to end1, assume the list of connected shear walls is List.<wall_neibor> At this point, it is necessary to determine the number of shear walls in the list. If the number is 1, assuming this wall is wall[k], and wall[k] is collinear with wall[i], then record wall[k] in the List.<wall[i]_neibor_true> In the middle, and continuing according to the logic of processing end1, explore the other endpoint of wall[k], that is, whether there is a connected shear wall at the endpoint not connected to wall[i]. At this time, wall[k] only has one endpoint to continue exploring, and the other endpoint is already connected to the preceding shear wall, so there is no need to explore it again.
[0040] If List<wall_neibor> If the number of shear walls in the list is greater than 1, then check if there exists a wall[i] that matches the list.<wall_neibor> The list considers cases where the shear walls are not collinear. If any collinearity exists, the exploration of end1 is terminated; if all shear walls are collinear with wall[i], allowing a tolerance of 2 degrees, then it indicates that List...<wall_neibor> If there are overlapping shear walls, the longest shear wall is selected as the collinear shear wall, denoted as wall[k], and wall[k] is recorded in a List.<wall[i]_neibor_true> In the same way as processing end1, explore whether there is a connected shear wall at the other end of wall[k]. Note that at this time, wall[k] only has one end that can be explored, and the other end is already connected to the previous shear wall, so there is no need to explore it again.
[0041] After processing end1, check if there are any other shear wall segments connected to end2. The processing logic is exactly the same as that for end1, so it will not be repeated here.
[0042] After checking the two nodes of wall[i], the current List is...<wall[i]_neibor_true> All shear walls are merged into a single shear wall segment, and the original segmented walls are deleted. The process then proceeds to the next loop, and the merged wall segments are no longer processed in subsequent loops.
[0043] S103. Determine the pre-set adjustment strategy and adjust the converted REVIT model according to the adjustment strategy.
[0044] In one embodiment, the transformed REVIT model relationships are corrected, specifically by fine-tuning the shear wall length. When a shear wall is connected to a beam perpendicular to its end, and there are no columns or other shear walls connected to that end, the length of the shear wall needs to be fine-tuned. The perpendicularity angle is determined within a 2-degree error range to standardize the parameters. First, the width, eccentricity, and direction of the perpendicular beam are obtained. The perpendicularity angle is determined using the parallel angle error standard, meaning the beam is not required to be strictly perpendicular to the shear wall. Next, the extension length of the shear wall is calculated: if the beam's eccentricity direction is the same as the shear wall's extension direction, then the extension length = beam width / 2 + eccentricity value; if the beam's eccentricity direction is opposite to the shear wall's extension direction, then the extension length = beam width / 2 - eccentricity value. Finally, the wall extension operation is performed based on the calculated extension length.
[0045] like Figure 2 As shown in the illustration, this application also provides a model conversion device from YJK to REVIT, comprising: At least one processor; and, A memory that is communicatively connected to at least one processor; wherein, The memory stores instructions that can be executed by at least one processor to enable a YJK to REVIT model conversion device to perform the method as described in any of the embodiments described above.
[0046] This application also provides a non-volatile computer storage medium storing computer-executable instructions, which are configured as described in any of the above embodiments.
[0047] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0048] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.
[0049] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0050] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0051] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0052] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0053] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0054] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0055] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0056] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0057] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0058] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.< / beamseg> < / wall> < / wall> < / beamseg>
Claims
1. A method for model conversion from YJK to Revit, characterized in that, include: Determine the pre-set YJK model and REVIT model, and match the YJK model and REVIT model to determine the parameter correspondence between the object library of the YJK model and the construction family library of the REVIT model; The YJK model is converted into the REVIT model according to the parameter correspondence. Determine a pre-set adjustment strategy, and adjust the transformed REVIT model according to the adjustment strategy; Determining the parameter correspondence between the object library of the YJK model and the family library of the REVIT model specifically includes: The parameter correspondence includes parameter matching for concrete components and parameter matching for steel structure components; The concrete components include structural beams, structural columns, openings, slabs, walls, vertical braces, and horizontal braces. The steel structure components include welded sections and steel profile sections; The conversion of the YJK model into the REVIT model based on the aforementioned correspondence specifically includes: When converting structural beams, the conversion mode of the structural beam is determined. The conversion mode of the structural beam includes direct conversion by modeling beam and conversion by merging beam spans. When the conversion mode is to merge beam spans, the beam segments are merged according to the support conditions and internal force conditions of the structural beam. When converting a wall, the conversion mode of the wall is determined. The conversion mode of the wall includes direct conversion by modeling wall and conversion by merging straight walls. When the conversion mode is to merge straight walls, all shear wall objects are traversed to merge connected shear walls according to the collinearity and length of all shear wall objects. When the conversion mode is merging by beam span, the method further includes: Obtain the dead load bending moment internal force diagrams of all structural beams, and determine the span positions and bending moment values of the structural beams based on the dead load bending moment internal force diagrams; The node attributes of the structural beam are determined based on the nodes contained in the wall and the structural column. The beam node attributes that share nodes with the structural column are determined to identify the column nodes. The beam node attributes that share nodes with the wall are also determined to identify the corresponding wall nodes based on the position of the structural beam in the wall plane. All structural beams are traversed, and the beams are merged according to the node attributes and bending moment values to obtain continuous beam segments.
2. The method according to claim 1, characterized in that, The merging is based on the node attributes and the bending moment values, specifically including: Determine the two end nodes of the structural beam, and designate one end node as the first node and the other end node as the second node, and check the node attributes of the first node. If the node attribute of the first node belongs to a column node or a wall node, then the first node is determined to be a support, and the node attribute of the second node is checked; if the node attribute of the first node does not belong to a column node or a wall node, then it is determined whether the bending moment value corresponding to the first node is less than or equal to 0; if yes, then the first node is determined to be a support, and the node attribute of the second node is checked; if no, then the adjacent beam segment is found based on the first node. When searching for adjacent beam segments based on the first node Determine if a first adjacent beam segment exists that is connected to the first node and parallel to the structural beam. If not, check the node attributes of the second node. If it exists, determine the first non-connected node of the first adjacent beam segment and determine whether the bending moment value corresponding to the first non-connected node is less than or equal to 0, or whether the node attribute of the first non-connected node belongs to a column node or a wall node. If yes, determine that the first non-connected node is a support, record the structural beam and the first adjacent beam segment in the first list of beam segments to be merged, and terminate the checking loop. If no, continue to search for other adjacent beam segments that are connected to and parallel to the first adjacent beam segment based on the first non-connected node, until no other adjacent beam segments can be found, and record all adjacent beam segments in the first list of beam segments to be merged. When checking the node attributes of the second node, If the node attribute of the second node also belongs to column node or wall node, then the second node is determined to be a support and the checking loop is terminated; if the node attribute of the second node does not belong to column node or wall node, then it is determined whether the bending moment value corresponding to the second node is less than or equal to 0; if yes, then the second node is determined to be a support; if no, then the adjacent beam segment is searched based on the second node. When searching for adjacent beam segments based on the second node Determine if a second adjacent beam segment exists that is connected to the second node and parallel to the structural beam. If not, merge the segments according to the first list of beam segments to be merged. If it exists, determine the second non-connected node of the second adjacent beam segment and determine whether the bending moment value corresponding to the second non-connected node is less than or equal to 0, or whether the node attribute of the second non-connected node belongs to a column node or a wall node. If yes, determine that the second non-connected node is a support, record the structural beam and the second adjacent beam segment in the second list of beam segments to be merged, and terminate the checking loop. If no, continue to search for other adjacent beam segments that are connected to and parallel to the second adjacent beam segment according to the second non-connected node until no other adjacent beam segments can be found, and record all adjacent beam segments in the second list of beam segments to be merged. The beam segments are merged according to the first list of beam segments to be merged and the second list of beam segments to be merged to obtain continuous beam segments.
3. The method according to claim 1, characterized in that, When the conversion mode is merging according to straight walls, the method further includes: Traverse all shear walls, determine the connected shear walls based on the two nodes of each shear wall, determine the number of connected shear walls, and determine whether the shear walls and the connected shear walls are collinear; If the quantity is 1 and the shear wall is collinear with the connected shear wall, then the connected shear wall is recorded, and the existence of a shear wall that continues to be connected is explored from the unconnected nodes of the connected shear wall. If the number is greater than 1, then determine whether there is a connected shear wall that is not collinear with the shear wall. If there is, then terminate the exploration. If there is not, then select the connected shear wall with the longest length and record it. When no other collinear adjacent shear walls can be found between the shear wall and the connected collinear shear walls, the recorded connected shear walls are merged to obtain shear wall segments, and the original segmented walls are deleted.
4. The method according to claim 1, characterized in that, The transformed REVIT model is adjusted, specifically including: Determine the structural beam that is perpendicularly connected to the end of the shear wall, and determine the width, eccentricity, and eccentricity direction of the structural beam; The extension length of the shear wall is calculated based on the eccentric direction and width, and the shear wall is adjusted according to the extension length.
5. The method according to claim 1, characterized in that, The method further includes: The structural beams include rectangular beams and variable cross-section rectangular beams; The structural columns include rectangular columns, circular columns, L-shaped columns, T-shaped columns, and cross-shaped columns; The openings include circular openings, rectangular door and window openings, and rectangular reserved openings; The type of diagonal brace is determined based on the component type and material type in the YJK model, and corresponding parameter matching is performed. The welded section includes steel beams, steel columns, and horizontal supports. The parameters of the welded section include at least one or more of the following: web height, web thickness, flange width, flange thickness, and annular outer circle dimensions. The steel beams include I-beams, channel steel, and L-beams; the steel columns include H-beams, box-beams, T-beams, circular columns, cross-beams, and L-beams; and the horizontal supports include L-beams, T-beams, cross-beams, and circular tubular steel. The parameters of the steel section are matched using the standard section provided by the REVIT model, and the matching is performed through name correspondence.
6. A model conversion device from YJK to REVIT, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor to enable the YJK to REVIT model conversion device to perform the method as described in any one of claims 1-5.
7. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are configured to be the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Revit-based building structure BIM forward automatic design method
CN112257137A
