Editing BlenderBIM Add-on Adding labels linked to properties and quantities
From Wiki.OSArch
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{BlenderBIM_Add-on_Documentation}} | {{BlenderBIM_Add-on_Documentation}} | ||
==Displaying data== | ==Displaying data== | ||
− | Each element in a BIM model usually contains a lot of data. The data can obviously be accessed by using a dedicated BIM viewer or | + | Each element in a BIM model usually contains a lot of data. The data can obviously be accessed by using a dedicated BIM viewer or red directly by a machine, however, very often a simple graphical way is still necessary. BlenderBIM add-on uses a system of variables which can be linked to object properties or quantities and which then get dynamically replaced with the actual linked value on 2D view export. |
The most common uses of this feature include: | The most common uses of this feature include: | ||
Line 20: | Line 20: | ||
To add a variable text object, first simply create a new text with Add>Text and manually link it to an object - exit the edit mode, go to Object Data Properties > Text Paper space and pick an object in the Related Element field. | To add a variable text object, first simply create a new text with Add>Text and manually link it to an object - exit the edit mode, go to Object Data Properties > Text Paper space and pick an object in the Related Element field. | ||
To declare a variable, go to Object Data Properties > Text Paper space, click on "Add variable" and fill in the variable name. The variable must be now linked to an object property by filling in the Property Key field: | To declare a variable, go to Object Data Properties > Text Paper space, click on "Add variable" and fill in the variable name. The variable must be now linked to an object property by filling in the Property Key field: | ||
− | *Attributes are referenced simply by name | + | *Attributes are referenced simply by name - "Name" |
− | *Properties are referenced by name, prefixed with Pset_Name. | + | *Properties are referenced by name, prefixed with Pset_Name. - "Pset_SpaceCommon.NetPlannedArea" |
− | *Quantities are referenced by name, prefixed with Qto_Name. | + | *Quantities are referenced by name, prefixed with Qto_Name. - "Qto_SpaceBaseQuantities.NetFloorArea" |
− | *Custom properties (for example in parametric objects) are referenced by name | + | *Custom properties (for example in parametric objects) are referenced by name - "Width" |
− | + | Lastly, to include the variable in the text, enter the edit mode again and type in the variable name in double curly brackets: <code><nowiki>{{variable_name}}</nowiki></code>. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[File:BlenderBIM IfcSpace Tag.JPG|thumb|600px|frame|center|An example of a tagged Ifc Element]] | [[File:BlenderBIM IfcSpace Tag.JPG|thumb|600px|frame|center|An example of a tagged Ifc Element]] |