Hello everyone,
I have known how to pick a 3D point and show its coordinate. Now, I want to store the coordinate of all the points (that are picked) in a txt file. How to write the code to solve this problem? I hope someone could help me. Thanks very much.
Kind regards
Hao
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Dear Hao,
You will need to learn to solve these kind of questions for yourself if you are to make any progress programming.
Use Internet searches and you will find thousands of answers to everything.
Here is the one that I found for you:
http://stackoverflow.com/questions/14069642/writing-data-to-a-text-file
Good luck!
Cheers,
Jeremy
Thanks Jeremy,
I know what you mean. But, the problem is related to Revit API that I can select some 3D points from Revit model and shows their coordinates, however, I cannot store these information in a txt file. I don't know how to combine these codes (one is to show 3D points and the other one is to store coordinate into txt file).
Kind regards
Hao
Thank Jeremy,
Now, the problem is solved with you suggestion. Thank you for your help.
Kind regards
Hao
Can't find what you're looking for? Ask the community or share your knowledge.