Hello @maxime_jeanmougin , thanx for your feedback .
well , in the command-doc for vnnCompound , for instance , it starts with
mel.eval("createNewBifrostGraphCmd()")
cmds.vnnCompound("bifrostGraph1", "/", create="liquid")where "bifrostGraph1" should probably be renamed to "bifrostGraphShape1" in all the examples in order to work.
later in the same vnnCompund-example-code it is written
# Rename a node
cmds.vnnCompound("bifrostGraph1", "/liquid", renameNode=("add", "plus"))
# Remove the node
cmds.vnnCompound("bifrostGraph1", "/liquid", addNode="BifrostGraph,Core::Math,plus")
cmds.vnnCompound("bifrostGraph1", "/liquid", removeNode="plus")where the second line including ... Core::Math,plus ....
is probably unneccessary , since the add node has been created before and renamed
----
and in the end , the last line ( resetToFactory="liquid")
does not work for me either
----------------------------------------
the vnnNode-documentation example starts with
import maya.cmds as cmds
import maya.mel as mel
cmds.file(new=1, f=1)
mel.eval("createNewBifrostGraphCmd()")
cmds.vnnCompound("bifrostGraph1", "/", addNode="BifrostGraph,Simulation::Aero,combustion_settings")after changing "bifrostGraph1" to "bifrostGraphShape1" again , the vnnCompund-addNode-example throws directly an error , when trying to create "Simulation::Aero,combustion_settings"
when i change "Simulation::Aero,combustion_settings" to "Simulation::Aero,aero_combustion_settings"
again , this line is working , but i need to apply changes to the next line again .
"/combustion_settings/set_property__enable_combustion" needs to become
"/aero_combustion_settings/iterate_set_properties/set_property__enable_combustion"
and so on .
----------------------
maybe the examples where created for a previous bifrost-version , and have not been updated since then ?
ok , but now i realize , this is INDEED quite a good learning approach for me , trying to get the example to work 🙂
have a nice weekend
sim.On