simRemoveScript

Removes a script. Not all script types can be removed, and it will also depend on whether simulation is running or not. Use with caution

C++ synopsis

int simRemoveScript(int scriptHandle)

Arguments

  • scriptHandle: handle of the script to remove or sim.handle_all to remove all scripts

Return

  • -1 if operation was not successful


See also: