author |
The author of the add-in that is displayed in the "Scripts and Add-Ins" dialog. This defaults to an empty string. |
description |
The description of the add-in that is displayed in the "Scripts and Add-Ins" dialog. This defaults to an empty string. |
isAddIn |
Specifies if a script or add-in is to be created. A value of true indicates an add-in will be created. |
isValid |
Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
name |
Gets and sets the name of the script or add-in to create. This name must be unique with respect to the other scripts and add-ins in the folder specified by the targetFolder property. |
objectType |
This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.
It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
programmingLanguage |
Gets and sets which programming language the new script or add-in will use. |
runOnStartup |
If this Script represents an add-in and isAddIn is True, this specifies if the add-in should be automatically started when Fusion starts up. |
targetFolder |
The full path to the folder where the script or add-in will be created. By default, this is an empty string which uses the default folder specified by the "Default Path for Scripts and Add-Ins" preference. Specifying a path overrides the default and will create the script or add-in in the specified location. No "Scripts" or "AddIns" sub-folder is created. |
targetOperatingSystem |
Specifies the operating systems this script or add-in will be displayed in the "Scripts and Add-Ins" dialog and where it will be automatically run on startup, if that option is specified. Defaults to WindowsAndMacOperatingSystem |
version |
The version of the add-in that is displayed in the "Scripts and Add-Ins" dialog. This defaults to an empty string. |