Dear All,
In Python, I tried to write points in Rhino with their Objectname and Coordinates as a list to a .txt File. However, I don’t know how to combine the objectname string with the coordinate string value.
Maybe somebody knows how to:
Combine objectname with coordinate value in a .txt List?
How to insert delimiter signs/spaces such as a Tab?
How to round decimal values to the next integer?
How to control indents of a Python script? I noticed, when I move the file.write line one space to the right. I got a longer list with multiple values.(please see: Text-write-change indent(Multiple-texts).txt)
Test-Write.Text-Name-Coordinate.txt (303 Bytes)
Text-write-change indent(Multiple-texts).txt (880 Bytes)
Test-write.point-names-coordinate.3dm (21.3 KB)
Text-Write.py (714 Bytes)
Thank you very much for your time.
Kind regards,
Jaap Bijlstra
2 posts - 2 participants