Unable to assign new quad menu to right-click entry

Unable to assign new quad menu to right-click entry

Anonymous
Not applicable
578 Views
0 Replies
Message 1 of 1

Unable to assign new quad menu to right-click entry

Anonymous
Not applicable

Hello, I am using MAXScript to create a new quad menu for some tools and assign it to a right-click context action.

I have been using this Autodesk documentation page to build this: https://help.autodesk.com/view/3DSMAX/2017/ENU/?guid=__files_GUID_1374EDCA_CC8B_4B43_81A5_6ED98DBE01...

 

The first steps of creating it and modifying a setting works; but I've had no luck trying to assign it to a new right-click setting. I've left in the returns here to help demonstrate the issue.

newQuad = menuMan.createQuadMenu "newMenu" "quad1" "quad2" "quad3" "quad4"
<MixinInterface:quadMenu>
menuMan.setShowAllQuads newQuad true
OK
menuMan.setViewportRightClickMenu #shiftAndControlPressed newQuad
true

I had found some very old documentation saying that the name of the quadMenu needed to be passed (in this case 'newMenu'), but this returns an error.

 

Is there something I'm missing here?

 

Thanks

 

3ds Max 2019

Windows 10

0 Likes
579 Views
0 Replies
Replies (0)