Jump to content

plugin could not open file


davidyannick

Recommended Posts

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

Capture d’écran 2020-10-27 à 20.42.18.png

Capture d’écran 2020-10-27 à 20.42.24.png

Capture d’écran 2020-10-27 à 20.44.06.png

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...