Regular API function


Description Sets the name of an object based on its handle. See also simGetObjectName.
C synopsis simInt simSetObjectName(simInt objectHandle,const simChar* objectName)
C parameters
objectHandle: handle of the object
objectName: name of the object
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetObjectName(number objectHandle,string objectName)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page