Export UserObject
Last updated
Last updated
Export a Ladybug Tools Grasshopper GHPython component as a UserObject that can be installed on other's machines.
components [Required]
A Ladybug Tools GHPython component to be exported. This can also be a list of of components to be exported together. Lastly, this can be a "*" and all of the Ladybug Tools components on the Grasshopper canvass will be exported.
folder [Required]
Full path to folder to copy the updated UserObject and the source code. It is usually path to where you have cloned the repository from GitHub. Exported contents will be created under src and userobject folders.
change_type
One of the values listed below based on the type of change made to the component. Export component will validate the version of the newly created UserObject against the version of the current installed UserObject with the same name based on the change type. If an older version of the component does not exist the current version of the component will be used. The version is structured as major.minor.patch. (Default: fix)
export [Required]
Set to True to export the component.
report
Errors, warnings, etc.