mor.utility.sceneCreation.addPlugin

addPlugin(rootNode, pluginName)[source]

Add plugin if not present in Sofa scene

argument

type

definition

rootNode

Sofa.Core.Node

root of scene

pluginName

str

literal name of plugin

Search for it with searchPlugin and depending if returned boolean add it or not to current scene

Returns:

found boolean