1
$\begingroup$

I use great "Pie Menu Editor" addon and in the "command" section I would like to add command that adds a primitive object to the scene, but only to the active layer.

Default code that can be copied from the "Info" window allows to specify to which layers a new object can be assigned, but does not allow to specify the currently active one.

Thank you for Your advice

$\endgroup$

1 Answer 1

2
$\begingroup$

right click on the add cube icon and then click Pie Menu Editor.

enter image description here

then it will ask you in which menu you want to put it.

enter image description here

by default the the arguments for layers are all False enter image description here

so unless you specify one it will always create the cube in the activate layer enter image description here

$\endgroup$
1
  • $\begingroup$ Thank you this was a good suggestion from Your side. $\endgroup$
    – Zyzio
    Commented Nov 13, 2018 at 16:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .