algorithmic modeling for Rhino
Hello all,
Based on examples from several previous posts, I have written a VB.net script to: bake grasshopper geometry, export all geometry within a region defined by a box, then delete only the geometry that was baked from grasshopper.
Everything works, except in the export phase a pop-up window comes up asking for options and I have to press 'OK'. I would like to eliminate this step so it runs automatically. Can anyone tell me how to talk to to the pop-up window via the VB script.
A minimum working example is attached.
Thank you for your help.
Tags:
Thanks, this solves my immediate problem.
If you or anyone else have experience dealing with the dialog boxes in Rhino via scripts I would still appreciate further tips.
Thanks again.
http://4.rhino3d.com/4/help/information/rhino_scripting.htm
read this info...it explains everything about commands and how to supress dialog boxes...you then can supply the attributes / command options via script...if the command itself allows not every command allows :-(
I have never found good documentation about the unique settings for each command in rhino, but Florian has you on the right track: by using the "-" in a script and testing it first, you can easily figure out which settings are necessary for you to include in your rhino command script line.
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by