Hello there !
I would like to ask if is possible to make script, that will decide what command will be used if is selected curve or surface. Simply merge the 2 existing commands: ExtrudeCrv and ExtrudeSrf to one, based on selection. I have done something, but it not working as I expected, I´m totally newbie in scripting.
strObject = Rhino.GetObject(“Select a curve”)
Rhino.Command "_SelPrev" Rhino.Command "_ExtrudeCrv"
Rhino.Command "_SelPrev" Rhino.Command "_ExtrudeSrf"
It will be very helpfull instead of using 2 commands, it will make Rhino more user friendly
Thank for help