cancel
Showing results for 
Search instead for 
Did you mean: 

Metacommand on selection of objects

Solved
Contributor

Metacommand on selection of objects

Hello,

 

I would like to know if it's possible and how to make a r-clik menu item (metacommand) on multiple selected objects.

Kind of like the "copy, delete, add to favorites,.."

And if possible, how i can find the selected objects collection to process.

 

 

Thanks for your explanation !

 

Wim VdV

 

3 Replies
Contributor

Re: Metacommand on selection of objects

 

Add the following in parameterization of Menu Command

 

[MenuItem]
CommandComponent = [MACRO]
Category = Action
ShowOnObject = 0
ShowOnSelection = 1
ShowOnCollection = 1

 

Use Invoke on Collection method in the macro

 

Sub InvokeOnCollection(mgcolObjects)

 

end sub

Highlighted
Contributor

Re: Metacommand on selection of objects

Hi,

 

I tried your configuration, but it only shows my menu command when 1 object(library) is selected.

Any other config i need to do ?

 

kr,

Wim VdV

Contributor

Re: Metacommand on selection of objects

Got it working, however, it does not work in the left pane, ex on the libraries list.

Any way of doing that also ?

 

Thanks !

 

kr,

Wim VdV