algorithmic modeling for Rhino
Hi, I'd like to keep track of the size of a definition with an increasing number of GHPython components.
Is there a way to
a) count the summed up lines of code present in the definition?
b) output the individual number of lines from individual python components?
Cheers,
Max
Tags:
Hi Max, attached a script I wrote a while back. You'll have to process the strings to calculate the number of lines (use nameOfString.splitlines()), but it should get you started. /A
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by