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.
Dim strObject
strObject = Rhino.GetObject(“Select a curve”)
If Rhino.IsCurve(strObject)Then
Rhino.Command "_SelPrev"
Rhino.Command "_ExtrudeCrv"
Else
Rhino.Command "_SelPrev"
Rhino.Command "_ExtrudeSrf"
End If
It will be very helpfull instead of using 2 commands, it will make Rhino more user friendly
Thank for help
Tom
10 posts - 3 participants