Templates

DesignBuilder templates allow you to quickly load data into your model in bulk. If you often work with similar types of buildings you may find it useful to create your own templates. This will allow you to load the same data into any models you work with in the future.

 

DesignBuilder Templates are databases of typical generic data.  The following templates are available:

 

 

Library Templates are loaded into the model at the time the dsb file is created and from then on, they are associated specifically with this model and so are known as Model Templates. Any changes made to the Library Templates do not affect existing building models because they reference their own set of Model Templates. The latest set of library templates can be loaded into a model using the Import library components and templates to model command.

 

Also templates are used for loading data into models, so a change to a template will not affect the model until the data is loaded.

 

Note: Templates are loaded to the model in the same way that components are so that any edit to Model template data will be associated with that model only.

See also the Data templates tutorial

Managing template data

You can edit and move template data around in various ways:

 

  1. Add, Edit, Delete, Import and Export Template library data from the Opening Screen - Template Libraries tab.
  2. If a model file is loaded you can edit Model templates from the Templates tab in the Navigator panel (Learning mode switched off) or by using the Data management panel on the right of the screen (Learning mode switched on).
  3. In either case, to add a template, open up the template type you wish to define by clicking on the + to the left of the template icon, then click on the category of template you wish to define.  Now click on the  Green '+'  to add a template of the selected category.
  4. Import/export Model template using the File > Export > Library data menu command to create a .ddf file with the .dsb model file open.
  5. To import the previously exported Model template data to the Template library close the .dsb file and import the .ddf file to the library.
  6. Load the latest library templates into your model using the Import library components and templates to model command from the Tools menu when a model is loaded. Any new data that has been added to the library since the model file was created will be imported to the model. Also if there have been any changes to library template data, this new data will overwrite the original data.

 

Note: Any template you add while a model is open will be added to Model templates and not to the Template library. It will only be added to the library and hence to new models if you export the new component model data in .ddf form and import the .ddf file to the library before creating the new model.

Note: As well as importing DDF files created directly by DesignBuilder more advanced users can also create their own component and template data sets (outside DesignBuilder) for importing. See the Importing Custom Templates and Components topic for more information on the process involved.

Loading to Model Data

Each tab in the Model data has the name of the template last used to load the data at the top (shown in bold). At the top of the HVAC tab is the HVAC Template, at the top of the Lighting tab is the Lighting Template etc. This is the template that was previously used to load the default data, but you can load different data from a different template by clicking on the template data, then clicking again on the '...’ to the right of the template data and making a new selection.  When you make the selection, the appropriate data is loaded from the template into the model.

 

Note 1: It is important to understand that the template data itself does not contribute to the model until it is loaded in.

Note 2: Changes to the model data relative to the data in the template last loaded are highlighted in bold to show that it overrides the template data previously loaded.

Note 3: Another way to load data to a model from templates is to use the Load Data From Template tool.

Note 4: If you change the data in a template and you would like those changes to be updated to the model then you should use the Load Data From Template tool. There is an option to Reload templates which can be useful for this purpose.

 

Colour codes

Templates are coded by colour in all selection lists as follows:

 

 

See also Model Data Colour.