algorithmic modeling for Rhino
Hi,
I am importing a text file with numbers, each line becomes a list item.
The problem is that the last line may be a "blank" (just a carriage return), this leaves a blank line at the end of the list.
So, I'm not sure how to modify the parser to ignore these lines...
Otherwise, how do I clean a list that might have blank lines... They're not considered as nothing somehow, I don't know how to cull them... Even if I graft each line into a separate branch, the "empty" line branches are neither considered null nor empty...
TIA, --Mitch
Edit: OK, I found there was actually also a space after the CR at the end... If there is just a CR, it's OK... And if there is a CR in the middle, I get an <empty> on that line. Other than grafting, cleaning and re-flattening, is there a way to remove those lines at list level?
Tags:
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
© 2024 Created by Scott Davidson. Powered by