creates a new model template

create_new_model(
  input_file,
  version_building = "02",
  type_building = "xml",
  file_path = tempdir(),
  editor = getOption("editor")
)

Arguments

input_file

character,either "building" or "furniture", depending on the input file you wish to create

version_building

character, version of building model to be used, default to "02". Not necessary when input_file = "furniture"

type_building

character, type of building file to create ("xml" or "yaml"), default to xml. Not necessary when input_file = "furniture"

file_path

character, path to folder where to store the input file, default to tempdir()

editor

character, the text editor to be used

Value

new editor window with building.xml template open

Examples

if(FALSE){

new_model(input_file = "building")

new_model(input_file = "building", editor = "code")

new_model(input_file = "furniture", editor = "rstudio")

new_model(input_file = "building", type_building = "yaml", editor = "code")
}