Remove WorldPluginData [SOLVED]
-
On 13/11/2014 at 16:10, xxxxxxxx wrote:
I created some Plugin Data Container and everything works how I wanted it.
bc = c4d.BaseContainer() c4d.plugins.SetWorldPluginData(123456789, bc)
But since I want to change some things, and see how it behaves when there isn´t any WorldPluginData set yet, I want to remove it altogether (not delete values inside of it).
Can´t figure out how to do that, besides deleting all cinema´s prefs -
On 13/11/2014 at 16:12, xxxxxxxx wrote:
Sorry topic tilte was meant to be Remove WorldPluginData
-
On 14/11/2014 at 02:16, xxxxxxxx wrote:
Hello,
To completely delete the plugin data container you have to access the world container and remove the corresponding sub container:
world = c4d.GetWorldContainer() pluginsContainer = world.GetContainerInstance(c4d.WPREF_PLUGINS) pluginsContainer.RemoveData(12345679) c4d.SetWorldContainer(world)
For a full description of the world container elements take a look at
this list
[URL-REMOVED].best wishes,
Sebastian
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
-
On 14/11/2014 at 05:13, xxxxxxxx wrote:
Thanks Sebastian!