Find Plug-in (C++ only) path by server name

From The Foundry MODO SDK wiki
Jump to: navigation, search


Sometimes you want to diagnose if a plug-in dll file was loaded or where it is located on disk. The Host service provides a way.


h = lx.service.Host()
f = h.LookupServer('command', 'morphDeform.mapName', 0)
print f.Module()
# Result: 
# Note: External plug-ins will show the full absolute path