translate

honeybee-designbuilder translate

Commands for translating Honeybee Model to DesignBuilder formats.

honeybee-designbuilder translate [OPTIONS] COMMAND [ARGS]...

model-to-dsbxml

Translate a Honeybee Model to an DsbXML file.

Args:
model_file: Full path to a Honeybee Model file (HBJSON or HBpkl).
honeybee-designbuilder translate model-to-dsbxml [OPTIONS] MODEL_FILE

Options

-t, --xml-template <xml_template>

Text for the type of template file to be used to write the dsbXML. Different templates contain different amounts of default assembly library data, which may be needed in order to import the dsbXML into older versions of DesignBuilder. However, this data can greatly increase the size of the resulting dsbXML file. Choose from the following options.

Default:

'Default'

-p, --program-name <program_name>

Optional text to set the name of the software that will appear under under a comment in the XML to identify where it is being exported from. This can be set things like “Ladybug Tools” or “Pollination” or some other software in which this DsbXML export capability is being run. If unspecified, no comment will appear.

-o, --output-file <output_file>

Optional dsbXML file path to output the dsbXML string of the translation. By default this will be printed out to stdout.

Default:

'-'

Arguments

MODEL_FILE

Required argument