algorithmic modeling for Rhino
I am trying to change some file names using GH and python script editor.
I have a code that works, but as soon as I bring the text inputs outside the component, it does not work. I would like the user to change these input texts from outside the component. please see the PDF attached.
I have also provided the code that does not work.
Thank you
Arsalan
Tags:
Arsalan,
Remove the quotation marks from your input text. Also make sure your inputs are set to Item Access with Type hint "str."
I'd suggest using a [FilePath] component for the path in lieu of a [Text] parameter component. This should also be set to Item Access.
Should do the trick.
Best,
/SPM
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by