Open/Merge/XRef/Cancel pop-up menu

Hi,

How can I prompt this menu through maxscript? I can't seem to find any information on it.
(This is the pop-up you see when dragging a max file from windows into max)

Why can't it be as simple as the mergemaxscene dialog!? (i.e. mergemaxfile "C:/Desktop/maxfile.max" #prompt)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

you need similar RCmenu?

and wish to start it w/o drag-n-drop file but then right click on the view port? i.e. something like this:

rcmenu RCMLoadFile
(
  fn selNone = selection.count == 0
 
  menuItem mi_open "Open" filter:selNone
  menuItem mi_merge "Merge" filter:selNone
  menuItem mi_xrefo "XRefObj" filter:selNone
  menuItem mi_xrefs "XRefScn" filter:selNone
 
  on mi_open picked do max file open
  on mi_merge picked do max file merge
  on mi_xrefo picked do max file xref object
  on mi_xrefs picked do max file xref scene
)

my recent MAXScripts RSS (archive here)

PerfectCell's picture

:)

Thanks heaps

I was hoping there was a way to call it that didn't involve creating it from scratch, but this will do fine.

In the end it wasn't really what I was looking for, so I just made a rollout with a couple of buttons. Thanks anyway :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.