A long time ago I have scripted some simple lamp objects in which the
basic light control are shown in the settings dialog box (attached
image). The UI script of this object is blank; the controls show up by
default, simply because it is classified a...
If I create the parameter "build_mat", of type Building Material, then
write this in the 3D Script: BUILDING_MATERIAL build_mat BLOCK A, B,
ZZYZX Then create a section passing trough my object, shouldn't I see
the block filled with the same fill that...
Is it possible to use the MIN () command with an array? I am trying to
do something like the script in the image attached, but I get a strange
error message (something like "incompatible arrow dimensions on line
8...", in Portuguese). How could I get...
I am building a counter with complex profile walls. In the image, you
can see the complex profile I created (and applied to walls) at the left
side. At the bottom right, there is the plan view, where you can see the
four walls used to create the coun...
The images below show a detail of a section with a slab, a beam and two
walls. The first image is what I get. The second image is what I want: I
manually added vertical black lines on the edges of the beam. The
reddish lines in the walls is masonry (...
Yes, Laszlo, thank you. So, unless you "save as" an old object, now a UI
script is mandatory for light objects, not optional anymore, as it is
for other object types. Plus you have to include all parameters in the
UI script, not only those related to...
Well, even by starting a new object and CALLing lightMacro_m I did not
succeed on showing the light controls. Created new object (attached) and
classified as Light subtype; Added a very simple 3D solid with an
sphere; Copied the Macro Call from
Thank you for your help, Barry. Strangely enough, my old lamp object has
both sets of light parameters, the old ones AND the new ones... Maybe I
should start anew and simply CALL the lightMacro_m, so that my new
object does not rely on deprecated fea...
There is no macro being CALLed in the other scripts. It’s a simple
object with a pair of REVOLVEs and a LIGHT command in the 3D script. But
there are some old parameters added by default, such as C, D, E, F and G
for setting the light switch, RGB col...
Emil wrote: Can confirm that this is working on my end too. Used the
files from Rhino 6 installation folder and just copied them into the
Rhino 7 folder. It hasn't given me any errors so far. Did someone try a
similar solution for MacOS?