8,452
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 57: | Line 57: | ||
'''[http://softimage.wiki.softimage.com/sdkdocs/cus_addons_WalkthroughBuildinganAddon.htm building add-ons]''' | '''[http://softimage.wiki.softimage.com/sdkdocs/cus_addons_WalkthroughBuildinganAddon.htm building add-ons]''' | ||
* Building an add-on file needs more effort than the other 'extensions' but for the end user it's best because it can hold all other files: toolbars, plugins (scripts), etc. | * Building an add-on file needs more effort than the other 'extensions' but for the end user it's best because it can hold all other files: toolbars, plugins (scripts), etc. | ||
** The user can install a newer version of the addon by repeating the installation with the new file: it's unnecessary to remove the old version. | |||
* File > Add-On > Package... doesn't work with ModTool "Add-Ons cannot be created with Softimage Demo Version." | * File > Add-On > Package... doesn't work with ModTool "Add-Ons cannot be created with Softimage Demo Version." | ||
* '''putting scripts simply into folders doesn't work, they must be "plugins" (file extension can be the same e.g. "vbs")''' | * '''putting scripts simply into folders doesn't work, they must be "plugins" (file extension can be the same e.g. "vbs")''' | ||
** | ** A script can run on another computer if its content is found under a command, and plugin register that new command(s). | ||
** | ** E.g. use those commands in your toolbar's script buttons. | ||
* | * Images and any other files can be put into any folder of the add-on, get them with '''''XSIUtils.ResolvePath("$XSI_USERHOME/") & "Addons\'''Addon_name\other_subfolder\img.png"'' | ||
* The problem with embedded code: commands like ''CreatePrim'' can call an property page (PPG) | * The problem with embedded code: commands like ''CreatePrim'' can call an property page (PPG). | ||
** | ** Those popups can be disabled. Search for "disabling PPG popups" on this page. | ||
edits