Invention content
The attribute assignment method and device based on assembled architecture that the object of the present invention is to provide a kind of, to solve existing workIt is relied in skill design process and the problem that input service amount is big, error rate is higher, more demanding to profession manually is carried out to attribute.
In order to solve the above technical problems, the present invention provides a kind of attribute assignment method based on assembled architecture, including:
Receive the instruction that the attribute of current building unit in designing a model to BIM is inputted;
The database pre-established is called, the database includes that graph data and the graph data are correspondingAttribute information;
Judge whether have in the database and the current building unit phase according to the type of the current building unitMatched graph data;
If so, the instruction that user selects figure from the graph data is then received, and selected figure is correspondingAttribute information assigns the current building unit.
Optionally, whether have in the type according to the current building unit judges the database and work as with describedFurther include after the graph data that preceding building unit matches:
If it is not, then the instruction that user selects geometric text object from classification material library is received, and selected geometry is literaryThe corresponding attribute information of this object assigns the current building unit.
Optionally, further include before the instruction for selecting geometric text object in classification material library in the reception user:
The inquiry instruction for receiving user, positions from the classification material library to inquired geometry according to search index informationText object.
Optionally, the current building unit is material, component or multiple component sets.
Optionally, it is also wrapped after the current building unit by the corresponding attribute information imparting of selected figureIt includes:
The instruction that user modifies to the attribute information is received, attribute information is carried out more according to the data after changeNewly.
Optionally, it is also wrapped after the current building unit by the corresponding attribute information imparting of selected figureIt includes:
The BIM is preserved with preset format to design a model and corresponding attribute information.
Optionally, the attribute information includes any one following or arbitrary combination:The class of the current building unitType data, name of material data, illustrate data, grouped data, picture library name data, dimension data, material at COM code dataData, position coordinate data.
The present invention also provides a kind of attribute assignment device based on assembled architecture, including:
Command reception module, for receive design a model to BIM in current building unit the instruction that is inputted of attribute;
Call database module, for calling the database pre-established, the database include graph data andThe corresponding attribute information of graph data;
Whether judgment module works as judging to have in the database according to the type of the current building unit with describedThe graph data that preceding building unit matches;
Graphic attribute assigns module, single with the current building for having in judging the database in the judgment moduleWhen the graph data that member matches, the instruction that user selects figure from the graph data is received, and selected figure is oppositeThe attribute information answered assigns the current building unit.
Optionally, further include:
Text attribute assigns module, in judging the database in the judgment module not with the current buildingWhen the graph data that unit matches, receives user and select the instruction of geometric text object from classification material library, and will selectThe corresponding attribute information of geometric text object assigns the current building unit.
Optionally, further include:
Attribute modification module, for by the corresponding attribute information of selected figure assign the current building unit itAfterwards, the instruction that user modifies to the attribute information is received, attribute information is updated according to the data after change.
Attribute assignment method and device provided by the present invention based on assembled architecture designs mould by receiving to BIMThe instruction that the attribute of current building unit is inputted in type;The database pre-established is called, database includes figure numberAccording to and the corresponding attribute information of graph data;Judge whether have and work as in database according to the type of current building unitThe graph data that preceding building unit matches;If so, the instruction that user selects figure from graph data is then received, and will choosingDetermine the corresponding attribute information of figure and assigns current building unit.As it can be seen that material, structure of the application in designing a model to BIMWhen part or component set are handled, the information in database can be called to carry out quick valuation to its attribute automatically, significantlyWorkload is alleviated, the efficiency of assignment is improved, reduces the workload and error rate of technological design attribute assignment, avoids compilingThe generation for the problems such as code is inconsistent, title is inconsistent.In addition, the application does not need higher professional knowledge, it is relatively low using threshold,BIM graphical information real services are realized in manufacture and assembly.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed descriptionThe present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather thanWhole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premiseLower obtained every other embodiment, shall fall within the protection scope of the present invention.
A kind of flow chart of specific implementation mode of attribute assignment method provided by the present invention based on assembled architectureAs shown in Figure 1, this method includes:
Step S101:Receive the instruction that the attribute of current building unit in designing a model to BIM is inputted;
BIM is designed a model the three-dimensional building figure designed based on BIM design platforms for designer in the embodiment of the present inventionShape.To the BIM design a model carry out component split to get to composition whole building component one by one.Component can be wallboard,Beam, column etc., material are the material for including in single component, such as reinforcing bar, the built-in fitting etc. for including in wallboard, and component set is moreIndex bed in the structure that a Component composition is constituted, such as a building together.
After designing BIM and designing a model, illustraton of model needs to be accompanied with graphic attribute, such as the structure design of wallFigure, needs the image attributes for marking its corresponding component, can be specially the wherein length of built-in fitting (reinforcing bar), material, positionThe information such as coordinate, so that construction party or manufacturing works can directly obtain the corresponding attribute information of component from designing a model,Intuitively from shape, size and the component for the upper determining component that designs a model the type, type, material, size of built-in fitting,The information such as position coordinates.
Provided in an embodiment of the present invention is exactly the method for carrying out graphic attribute assignment to the geometry entity of building unit.GeometryEntity refers to that designed BIM designs a model corresponding geometric object in figure.It should be pointed out that current in the embodiment of the present inventionBuilding unit can be material, component or component set, this does not influence the realization of the present invention.
Specifically, attribute information includes any one following or arbitrary combination:The number of types of the current building unitAccording to, type data, COM code data, name of material data, illustrate data, grouped data, picture library name data, size numberAccording to, material quality data, position coordinate data.
Step S102:The database pre-established is called, the database includes graph data and the figure numberAccording to corresponding attribute information;
When user selectes the progress attribute assignment of a certain building unit during BIM designs a model, it can call and pre-establishDatabase.The corresponding graph data of the building unit and attribute information are stored in the database.For example, being deposited in databaseContain the information such as graphical information and corresponding type, the size and position of reinforcing bar.
As a kind of specific implementation mode, attribute information can be stored or be shown in the form of a list.Attribute is believedBreath can include the corresponding whole attribute informations of the component or the common attribute information in part.
It should be pointed out that the sequence of step S101 and step S102 can be exchanged in the embodiment of the present invention,What this both was not limited executes sequence.
Step S103:Judge whether to have in the database according to the type of the current building unit and currently be built with describedBuild the graph data that unit matches;
Judge whether there is the graph data to match with current building unit in database.As a kind of specific embodiment partyFormula can establish corresponding picture library information, be preserved in the picture library for the building unit of the types such as built-in fitting, component, Lou DongEach graph data, and establish the correspondence of the graph data and corresponding attribute information.
During actual development, the three-dimensional geometry based on IFC formats can be formed using common platform with IFC patternsInformation, and preserved.A handling implement is developed, these graph datas are checked and revise, forms picture library resource.For example, canTo carry out unit unification (for example, by using mm), and uniform format, coordinate unification to these graph datas, and reference point is unified inThe center of bottom.According to the path set, the graphic file handled well is stored by regulation filename, generates databaseIn picture library resource.
Step S104:If so, then receive the instruction that user selects figure from the graph data, and by selected figureCorresponding attribute information assigns the current building unit.
When having the graph data to match with current building unit in the database, the corresponding attribute of selected figure is believedBreath assigns the current building unit.It is referred to the several of current building unit it is understood that being assigned in the embodiment of the present inventionWhat entity is associated with attribute information.User chooses the several of the current building unit in the platform that displaying BIM designs a modelWhat entity, you can get corresponding attribute information, shown.As a kind of specific implementation mode, attribute information can wrapAttribute project and corresponding attribute value are included, such as attribute project includes type, type, material, size, position coordinates, is belonged toProperty numerical value includes the corresponding value of each attribute type or value range.
The embodiment of the present invention is when the geometry entity in designing a model to BIM carries out assignment, without filling in figure category manuallyInformation, the systems such as project, the numerical value of property can automatically generate.And further, system additionally provides the approach of modification, userIt can modify to these attribute informations, including modify to attribute value according to actual needs, or to attribute projectIt is added, this does not influence the realization of the present invention.That is, the embodiment of the present invention can also include:User is received to the attributeThe instruction that information is modified is updated attribute information according to the data after change.
In addition, can also be wrapped after the current building unit by the corresponding attribute information imparting of selected figureIt includes:The BIM is preserved with preset format to design a model and corresponding attribute information.
Attribute assignment method provided by the present invention based on assembled architecture, by receive design a model to BIM in whenThe instruction that the attribute of preceding building unit is inputted;Call the database that pre-establishes, database include graph data andThe corresponding attribute information of graph data;Judge whether to have in database according to the type of current building unit single with currently buildingThe graph data that member matches;If so, then receive the instruction that user selects figure from graph data, and by selected figure phaseCorresponding attribute information assigns current building unit.As it can be seen that material, component or structure of the application in designing a model to BIMWhen part set is handled, the information in database can be called to carry out quick valuation to its attribute automatically, reduce technique and setThe workload and error rate for counting attribute assignment, avoid the generation for encoding the problems such as inconsistent, title is inconsistent.In addition, this ShenHigher professional knowledge please not be need, it is relatively low using threshold, BIM graphical information real services are realized in manufacture and assembly.
On the basis of the above embodiments, the attribute assignment method provided by the present invention based on assembled architecture is also disclosedThe case where attribute assignment is carried out to non-picture library figure.Such as Fig. 2 attribute assignments provided by the present invention based on assembled architectureShown in another specific implementation mode of method, this method specifically includes:
Step S201:Receive the instruction that the attribute of current building unit in designing a model to BIM is inputted;
Step S202:The database pre-established is called, the database includes graph data and the figure numberAccording to corresponding attribute information;
Step S203:Judge whether to have in the database according to the type of the current building unit and currently be built with describedBuild the graph data that unit matches;
Step S204:If it is not, then the instruction that user selects geometric text object from classification material library is received, and will choosingDetermine the corresponding attribute information of geometric text object and assigns the current building unit.
Classification material library is pre-established in the embodiment of the present invention, including being protected in the database of graph data and attribute informationThat deposits is the correspondence of figure and text, and include in material library of classifying be text and text correspondence, such as itsContain the attribute informations such as " reinforcing bar " this text message and the corresponding size of reinforcing bar, material.User is in material library of classifying" reinforcing bar " this text message is found, after selecting text information, you can it is single to assign corresponding attribute information to current buildingMember.Similarly, it is assigned in the embodiment of the present invention and refers to the geometry entity of current building unit being associated with attribute information.User chooses the geometry entity of the current building unit in the platform that displaying BIM designs a model, you can gets corresponding categoryProperty information, is shown.
Further, the embodiment of the present invention selects the finger of geometric text object in the reception user from classification material libraryFurther include before enabling:The inquiry instruction for receiving user is positioned from the classification material library according to search index information to being looked intoAsk geometric text object.
Under normal circumstances, the information for including of classifying in material library is numerous, from wherein manually finding a certain building unitIt is longer that information expends the time.The embodiment of the present invention can quickly be positioned to selected building unit, by inquiry to be belonged toThe automatic assignment of property.
Setting in this way, when calling the similar patterns such as corresponding built-in fitting, system assigns the embodiment of the present invention automaticallyCorresponding coding and name of material, categorical attribute information.Meanwhile it needing to assign association attributes to independent geometric figureWhen, corresponding classification material library is inquired, can quickly be positioned, be realized from artificial attribute and be entered into selection, to avoid coding from differingIt causes, the problems such as title is inconsistent occurs.
When geometry entity in designing a model to BIM the present invention is based on BIM design platforms carries out assignment, it may be used directlyThe method of assignment can also send out open feature card and be integrated into BIM design platforms.It even can directly be adopted in platforms such as RevitDB information can directly be read, pass through data transfer process by carrying out input and scheme control, some battery controls with battery packIt calls displaying control to be shown afterwards, specified attribute assignment is carried out to selected particular geometric entity.
To realize the PC technological designs based on database Yu the BIM of picture library fusion mode, selectes support secondary open firstThe BIM platforms of hair realize material information and the unitized management of built-in fitting picture library.It is (direct using the plug-in unit for meeting interface requirementUsing battery pack also can) be integrated into the specific interface of BIM, in the design process, call plug-in unit realize figure reference and figureThe editor of entity attribute.The specific implementation process of method provided by the present invention is further elaborated below, the mistakeThe flow chart of journey is as shown in figure 3, it can be specifically included:
Step S301:Material base database is managed with database schema;
Step S302:With standard BIM graphical formats:Such as IFC has managed the picture library money of built-in fitting, component, Lou Dong typesSource;
Step S303:Third side plug is developed or directly quotes in specific BIM design platforms, such as Tekla or RevitData, addition coding are exported, and uploads to database;
Step S304:Third side plug is developed or directly quotes in specific BIM design platforms, such as Tekla or RevitIt from database downloading data file, and parses, imports material and graphical information;
Step S305:Corresponding picture library is called to carry out built-in fitting, component, Lou Dong designs according to classification, designer, system is certainlyIt is dynamic to assign coding, title and classification information;
Step S306:If giving non-picture library class graphic attribute assignment, editing graph entity material attribute is selected, with listForm shows that material, selected rear material information assign geometry entity automatically;
Step S307:After design, support format preserves to carry COM code and attribute BIM technological designs with systemInformation.
In the present embodiment, for built-in fitting, the data file includes geometry, attribute, material, reference data;For structurePart, the data file include built-in fitting index, transition matrix and reinforcing bar feed consumption data;For building, the data fileIncluding structure index and transition matrix data.
With reference to specific implementation scene to the tool of the attribute assignment method provided by the present invention based on assembled architectureBody realizes that process is further elaborated on.With reference to Fig. 4, specific implementation step may include:
Step S401:Select suitable secondary developing platform;
BIM design platforms are many, and more common BIM design platforms, such as Revit, Tela can be selected to support twoSecondary exploitation, especially Revit, which also provide serial plug-in unit, directly can form many logics by connecting battery methods builds mouldsType and constraint.Select the basis that good platform is subsequent applications exploitation.Such as Tekla is based on C# language api interface developing plug.ChoosingAny platform has been selected, correspondence database has been carried out by its interface requirement and the problem of can be solved Integrated design is developed in displaying.
Step S402:Fundamentals of management material information;
The material of traditional architectural design is generally described using title, specification pattern, information read strictly according toRely and carries very strong subjectivity and ambiguity in people, title.Computer disposal must be accurate.System passes through the coding to material, nameTitle, specification, type, profession, associated diagram library name carry out the storage of More General Form, basic coding must assure that uniqueness.
Step S403:Manage picture library information;
With IFC patterns, the three-dimensional geometric information based on IFC is formed using common platform, and preserve.
A handling implement is developed, checks and revises these picture library resources, it is ensured that unit is unified (as used mm), and formatCorrectly, coordinate shift, reference point are unified in the center (More General Forms such as lower left angle) of bottom;According to setting roadThe file handled well is carried out copy process by diameter by regulation filename.
Step S404:It introduces third side plug and reads resource;
Corresponding plug-in unit is added in corresponding platform, or directly possesses database using it and connects plug-in unit, prepares corresponding dataBase resource, the material information configured in reading database, once user needs with control into row-column list+graphics mode displaying(standard IFC files are bound with setting path+file name pattern);
Step S405:Plug-in unit is called to carry out assignment when BIM is designed.
When needing using built-in fitting, picture library sample is once called according to title and assigns its correspondence attribute, is placed on and setsMeter personnel formulate position, be adjusted after can be in place.If it is attribute assignment, directly to selected geometric text objectMaterial attribute assign corresponding coding and name information.
The present invention uses categorizing selection pattern by being pre-configured with material library and geometric figure library in BIM design platformsThe randomness for carrying out attribute assignment, reducing external artificial assignment, it is ensured that material information accuracy directly utilizes for manufacture linkBIM design informations provide good data basis, greatly reduce error rate, improve design efficiency.
To provided in an embodiment of the present invention, the attribute assignment device based on assembled architecture is introduced below, is described belowAttribute assignment device based on assembled architecture and the above-described assembled PC technological design data export side based on BIMMethod can correspond reference.
Fig. 5 is the structure diagram of the attribute assignment device provided in an embodiment of the present invention based on assembled architecture, with reference to Fig. 5Attribute assignment device based on assembled architecture may include:
Command reception module 100, for receive design a model to BIM in current building unit the finger that is inputted of attributeIt enables;
Call database module 200, for calling the database pre-established, the database include graph data,And the corresponding attribute information of graph data;
Judgment module 300, for judging whether to have in the database according to the type of the current building unit and instituteState the graph data that current building unit matches;
Graphic attribute assigns module 400, is currently built with described for having in judging the database in the judgment moduleIt when building the graph data that unit matches, receives user and selects the instruction of figure from the graph data, and by selected figureCorresponding attribute information assigns the current building unit.
As a kind of specific implementation mode, the attribute assignment device provided by the present invention based on assembled architecture can be withIncluding:
Text attribute assigns module, in judging the database in the judgment module not with the current buildingWhen the graph data that unit matches, receives user and select the instruction of geometric text object from classification material library, and will selectThe corresponding attribute information of geometric text object assigns the current building unit.
Further, the embodiment of the present invention can also include:
Attribute modification module, for by the corresponding attribute information of selected figure assign the current building unit itAfterwards, the instruction that user modifies to the attribute information is received, attribute information is updated according to the data after change.
The attribute assignment device based on assembled architecture of the present embodiment is for realizing above-mentioned based on assembled architectureAttribute assignment method, thus specific implementation mode in the attribute assignment device based on assembled architecture it is visible hereinbefore based onThe embodiment part of the attribute assignment method of assembled architecture, for example, command reception module 100, calls database module 200,Judgment module 300, graphic attribute assign module 400, are respectively used to realize the above-mentioned attribute assignment method based on assembled architectureMiddle step S101, S102, S103, S104, so, specific implementation mode is referred to retouching for corresponding various pieces embodimentIt states, details are not described herein.
Attribute assignment device provided by the present invention based on assembled architecture, by receive design a model to BIM in whenThe instruction that the attribute of preceding building unit is inputted;Call the database that pre-establishes, database include graph data andThe corresponding attribute information of graph data;Judge whether to have in database according to the type of current building unit single with currently buildingThe graph data that member matches;If so, then receive the instruction that user selects figure from graph data, and by selected figure phaseCorresponding attribute information assigns current building unit.As it can be seen that material, component or structure of the application in designing a model to BIMWhen part set is handled, the information in database can be called to carry out quick valuation to its attribute automatically, reduce technique and setThe workload and error rate for counting attribute assignment, avoid the generation for encoding the problems such as inconsistent, title is inconsistent.In addition, this ShenHigher professional knowledge please not be need, it is relatively low using threshold, BIM graphical information real services are realized in manufacture and assembly.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is otherThe difference of embodiment, just to refer each other for same or similar part between each embodiment.For being filled disclosed in embodimentFor setting, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method partExplanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosureAnd algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware andThe interchangeability of software generally describes each exemplary composition and step according to function in the above description.TheseFunction is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.ProfessionTechnical staff can use different methods to achieve the described function each specific application, but this realization is not answeredThink beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processorThe combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only depositReservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technologyIn any other form of storage medium well known in field.
To provided by the present invention, the attribute assignment method and device based on assembled architecture is described in detail above.Principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only usedIn facilitating the understanding of the method and its core concept of the invention.It should be pointed out that for those skilled in the art,Without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention, these improvement and modificationIt falls into the protection domain of the claims in the present invention.