Possible to run command and RhinoScript from button?

I’m having a hard time getting this to work so maybe it’s not possible. I’m trying to run a command before the script gets run like this so I don’t have to modify the script.

! _SelBoundary _Pause
_-RunScript (
Option Explicit

)

Hi @kleerkoat,

You might just run the SelBoundary command inside of your script using Rhino.Command.

– Dale

sounds good! thank you.