No update on `RunScript()` params from the component clicking
Since (8.8.24170.13001, 2024-06-18) Rhino update the component is not updating the RunScript() params when clicking on the component.
Possibly tracked the issue and posted in McNeel forum:
Hello there!
I wonder if this is a bug, while using a grasshopper python I noticed that if we dynamically add some inputs
But if the RunScript() def as columned parameters (it might be convinient sometimes to use it) it doesn't automatically update and throws an error 1. Error running script (ExecuteException): RunScript() takes 3 positional arguments but 4 were given:
Hence, if you are using lists as datatype input the IDE will organize automatically the RunScrip()'s parameters in column resaulting the above mentioned error, see here:
it happens since 8.8.24170.13001, before this behavior didn't exist. I know we can live with it but I just reported it in case.. thanks! :palms_up_together:
as a temp fix you can add manually the inputs in the lines 412:
def RunScript(self,
select_file: bool,
packages_2_reload : list,
x : int <-- new entries
):
Still keeping this one. On https://github.com/ibois-epfl/script-sync/commit/d72a542476d443500db2f9956a6140aa49b49dcd we introduce a temporary fix.