Regular API function
simSetObjectAlias / sim.setObjectAlias
Description
|
Sets the alias of an object. See also sim.getObjectAlias. |
C/C++ synopsis
|
simInt simSetObjectAlias(simInt objectHandle,const simChar* objectAlias,simInt options=0) |
C/C++ parameters |
objectHandle: handle of the object.
objectAlias: alias of the object. Allowed characters include 0-9, a-z, A-Z, and underscores. Illegal characters will be replaced with underscores.
|
C/C++ return value
|
-1 if operation was not successful
|
Lua synopsis
|
sim.setObjectAlias(int objectHandle,string objectAlias) |
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
|
Python synopsis |
sim.setObjectAlias(int objectHandle,string objectAlias) |
|