How to locate 3rd party object in 3ds max UI?

Details: When I want to assign a hotkey or drag some command to Quad menu, usually I can rightclick 3ds Max toolbar and customize. Then go Keyboard tab, search for the right Category (mainly) or Group. But for example, I want to create a MultiScatter with hotkey or Quadmenu item, I haven't found a way to add the creating command. Because I can't locate it in entire Categories and Groups. I tried manually go go through all of them but there's no Multiscatter anywhere.

Only way to create a Multiscatter object is Create panel, scroll list pick MultiScatter. And if it was there, there must be a way to create it via script and/or assign that command to a hotkey or quadmenu.

I think there must be some procedure/pattern that a regular user can follow in order to assign 3rd plugin command to a hotkey. I google some keyword I think suitable but didn't find out. Any idea? Thanks for reading.

Comments

Comment viewing options

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

how bout this ?

how bout this ?

macroScript YourScript
category:           "Custom"
internalCategory:   "Custom"
buttonText:         "Create MultiScatter"
toolTip:            "Create MultiScatter"
 
(
local ms = MultiScatter
if okToCreate ms do startObjectCreation ms
 
)
nnq2603's picture

Create MScatter at mouse pointer, solved.

Thanks, it works, man.

titane357's picture

for multiscater you can use :

for multiscater you can use : MultiScatter Dummy_Size:10 pos:[0,0,0] isSelected:on

nnq2603's picture

Create object at mouse pointer instead of fixed possition?

MultiScatter Dummy_Size:10 pos:[0,0,0] isSelected:on
You've pos:[0,0,0] to create Multiscatter in origin point but is it possible to adjust your script to allow it create Multiscatter at place of the clicking mouse pointer.

Code above always creates MultiScatter at 0. How to tweak it to create MultiScatter at mouse pointer (clicking in screen).

I know it doesn't really matter in term of safety 'coz many Multiscatter objects can be in the same position without problem but I just ask 'coz usually when create them I'm not at Zero origin point (so I couldn't see the object created in the screen currently working, only assuming it create at 0,0,0).

nnq2603's picture

Thanks, it works now.

Thanks, man that's what I asking for.

I paste your code into a MaxscriptEditor tab and select all drag+drop into toolbar, then it works as a button create MultiScatter.

Now I can make it into a mcr and place into MacroScripts folder in max installed directory for later usage. And I can assign hotkey, quadmenu and all other regular shortcuts.

=====================================================

I've write down line by line for anyone (GUI-depending) like me (if any). Made a empty txt file paste code below and rename extension to *.mcr then put into MacroScripts folder. Restart 3ds max.

macroScript titane357
category:           "Custom"
internalCategory:   "Custom"
buttonText:         "CreateMS"
toolTip:            "CreateMultiScatter"
(
	MultiScatter Dummy_Size:10 pos:[0,0,0] isSelected:on
)

Category in max UI - Custom:
View dialogue UI

fajar's picture

theres starttool class in

theres starttool class in maxscript.....you can start from there

nnq2603's picture

About your answer, Fajar.

Either I wrote down my question in the wrong way make readers misunderstood or you might consider my ability higher than what I'm really capable of. Honestly I don't get what you said above (I'm GUI-depending user, I'm not scripter\coder). It's beyond my knowledge (I tried google your keyword but going nowhere). Anyway thanks for spending time.

If it was a second chance to write my question again, more specific, then what I want to ask is only:

How to assign hotkey or create quadmenu item for 3rd plugin such as Multiscatter. More exactly, creating command (example Ctrl+M for creating a new Multiscatter object).

For example another 3rd plugin VRay, I can assign hotkey to create a VraySun or VrayCam, because they was added to a newly created category called VRay (author chose to create that category makes things easier). But the same way doesn't work with MUltiscatter 'coz it's nowhere to be found in max UI (not in any Groups or Categories or I miss something obvious?!).

Comment viewing options

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