Skip to main content
Version: Latest

Add a Blueprint

Description: Add a new blueprint to the package.

Signature: add_topology(topology_name, is_public, image_file_path, default_duration, instructions, categories, diagram_zoom)

Parameters:

NameDirectionRequiredDescription
topology_nameInYesThe name of the blueprint that you want to add
is_publicInYesSpecify whether the blueprint is public or private
image_file_pathInYesSpecify a path to the image file that you want to use in the blueprint
default_durationInYesSpecify a default duration that will be used when users reserve the blueprint
instructionsInNoSpecify instructions for the blueprint
categoriesInNoSpecify the catalog categories, where you want the blueprint to be shown
diagram_zoomInYesSpecify the default zoom that will be used in the diagram view of this blueprint

Sample:

packageEditor.add_topology('Blueprint1',True,'C:\\Users\\james.v\\Pictures\\image.png',1,'This is an instruction',['CatA'],120)