Hi,
I'm working on some tools too speed up my work a bit (Extruding shapes to walls using Extrude modifier).
I have selected a Rectangle shape and write this:
As you can see it doesn´t work, I get an error about undfined "amount".
But if I write this:
and then this:
it works. But why can´t I do it in one sweep? The goal is just to have a simple button that creates walls that are 2100 mm high from a shape.
I'm working on some tools too speed up my work a bit (Extruding shapes to walls using Extrude modifier).
I have selected a Rectangle shape and write this:
Code:
modPanel.addModToSelection (Extrude ()) ui:on $.modifiers[#Extrude].amount = 2100 -- Unknown property: "amount" in undefined
But if I write this:
Code:
modPanel.addModToSelection (Extrude ()) ui:on OK
Code:
$.modifiers[#Extrude].amount = 2100 2100
Comment