davidyannick Posted October 27, 2020 Share Posted October 27, 2020 I'm developping a plugin So i have a tree.json : { "env": [ { "method":"replace", "TREE_EXPORTER_ROOT": { "value":"/Users/david/Dropbox/Projets/Houdini/PythonTools/TreeExporter" }, "HOUDINI_PATH":{ "method":"prepend", "value":"$TREE_EXPORTER_ROOT" } } ] } and a MainMenuCommon.xml <mainMenu> <menuBar> <subMenu> <label> || DYT Tools || </label> <scriptItem> <label> Load Tree </label> <scriptPath> $TREE_EXPORTER_ROOT/scripts/truc.py </scriptPath> </scriptItem> </subMenu> </menuBar> </mainMenu> My folder structure : But when I click on the menu item here is the eror : Could not open file : /Users/david/Dropbox/Houdini/PythonTools/TreeExproter/scripts/truc.py Any idéa ? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.