#py from parse import parse #py import model #py import os #py import collections #py import re #py plugin = parse(pycpp.params['xml_file']) #py #----------------------------------------------------------------------------------------------- #py #----------------------------------------------------------------------------------------------- B0-based remote API function list

B0-based remote API function list

If the function you are looking for is not listed below, then make sure to have a look at the generic function simxCallScriptFunction, which allows you to implement virtually any remote API function. Another option would be to extend the B0-based remote API, which is an easy task


#py #-----------------------------------------------------------------------------------------------
#py #-----------------------------------------------------------------------------------------------
#py allCmds={}
#py ml=0
#py for cmd in plugin.commands:
#py l1=cmd.name
#py l2='[C++]'+'  [Python]'+'  [Java]'+'  [Matlab]'+'  [Lua]'
#py allCmds[cmd.name]=[l1,l2]
#py if len(l1)>ml:
#py ml=len(l1)
#py endif
#py endfor
#py od=collections.OrderedDict(sorted(allCmds.items()))
#py for k, v in od.iteritems():
#py s=v[0]+" "*(2+ml-len(v[0]))+v[1]
`s`
#py endfor