Jump to content

Customizing menu


davidyannick

Recommended Posts

II'm trying tto customize my menu, I'd like to have the label of my first item to be for instance houdini version, I've tried this  in MainMenuCommon.xml withno success, any idea. please ?

The custome menu works but if I had python lines H 18.5 crashes 

<mainMenu>
    <menuBar>
        <subMenu>
            <label> - DYT - </label>
            <scriptItem>
                <labelExpression>

                hou.applicationVersionString()                  

                </labelExpression>
            </scriptItem>
        </subMenu>
    </menuBar>
</mainMenu>

Thanks

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...