Is drag drop vital before referencing .rvb .py .rhp scripts in button?

Hi,
V5. V7
If referencing an .rvb rather than placing code into button, I see C:\Program Files\Rhino\Plug-ins with .rhp scripts.
For user acquired .rhp files it is said to make a subfolder and place in there to differentiate from those shipped with Rhino.
So thinking of my .rvb and .py files

Q1. Perhaps I should keep all my .rvb and .py and .rhp at that address instead, rather than .rhp there and .rvb on D drive. Are they ok there ?

Q2. DOES AN .RVB NEED DRAG DROP TO INSTALL BEFORE BEING REFERENCED IN A BUTTON ?

Q3. DITTO .PY

The .rhp I have in mind is multiple commands so I am not sure if a single button is appropriate as button is for a single command.
This would I presume see selecting out the code for the particular command and placing such into the button but what would the prefix be -_RunScript or -_RunPythonScript.
Is an .rhp containing .rvb type scripts or what ?

here is an rhp I have. (by Pascal)
CurveAndArcUtilities.rhp (52 KB)

I wouldnt mind some buttons for the commands it holds.

Steve

Steve -

.rhp files are plug-ins, not scripts. Installing plug-ins will place those files in the correct folder.
-wim

Hi,
I have only made buttons that run scripts, I could then make a button that ran a command, one of the commands in the plugin.

manage it that way :slight_smile:

and what of Q1 Q2 and Q3 ?

Cheers

Steve

I would definitely not put them there because it wouldn’t be a natural place to go looking for them. But if you can find them, why not?

Answered many times before in the last weeks - depends on how the script is written.

Answered in one of your other threads here:

-wim