Script.unlink Method
Parent Object: ScriptDefined in namespace "adsk::core" and the header file is <Core/Application/Script.h>
Description
Unlinks this script or add-in. This removes it from Fusion's list of linked scripts and add-ins, so it is no longer displayed in the dialog, and if it's an add-in, it will no longer run on startup.
This is only valid for a script or add-in that is linked; the sourceLocation property returns LinkedScriptSourceLocation.
Syntax
Return Value
Type | Description |
boolean | Returns true if the unlink was successful. |