Navigation

 ·   Wiki Home
 ·   Categories
 ·   Title List
 ·   Uncategorized Pages
 ·   Random Page
 ·   Recent Changes
 ·   RSS
 ·   Atom
 ·   What Links Here

Search:

 

Create or Find Page:

 

View Python: Finding Plugin IDs

Sometimes you’ll need to find the ID of an installed plugin or built-in C4D module. For instance, you might want to save/export using a format other than the ones for which there’s specific FORMAT constants.

FilterPluginList offers an easy method to get all the plugins and ids for a specific type currently installed in CINEMA 4D.

To get all the SceneSaver (3D export format) plugins, use this code:

for p in c4d.plugins.FilterPluginList(c4d.PLUGINTYPE_SCENESAVER,True):
  print p.GetID(), " = ", p.GetName()

Category:Scripting

Categories: