How can I import points coordinates from a DOS file in V4
How can I import points coordinates from a DOS file in V4
(OP)
Hi all,
Which is the easiest way to import x,y,z, points coordinates from a data file ( .dat extension or another) in a CATIA V4 model in order to generate curves in space?
Which is the easiest way to import x,y,z, points coordinates from a data file ( .dat extension or another) in a CATIA V4 model in order to generate curves in space?
Regards
Fernando
RE: How can I import points coordinates from a DOS file in V4
We bought a product from a company call Mecanica (www.mecanica.ca). They have develop a IUA that read text file and create point, line, ... in CATIA V4.
Sean
RE: How can I import points coordinates from a DOS file in V4
Regards
Fernando
RE: How can I import points coordinates from a DOS file in V4
The trick was to get the right ascii format - delimited etc.
After that Iges will transfer them.
RE: How can I import points coordinates from a DOS file in V4
I was trying to use the GYCTTF function for this, but am coming up with problems. I will really appreciate any idea or lead from your side.
RE: How can I import points coordinates from a DOS file in V4
For the time beeing, I use AutoCAD to import points in a dxf file (you can find a lisp routine to import points or use ascpoint command). After that you can import the dxf file in CATIA.
I hope to post a IUA file at the end of next week (if I will understand how this works).
Regards
Fernando
RE: How can I import points coordinates from a DOS file in V4
Hmm ... actually I need to read text files (a number of them) and insert them at specific places around my drawing. Thus things are not as easy for me.
For your part - a method that I use often. You can CUT-PASTE your data file into the comment file. Getting text out of a comment file is easy. Thus you can get the text, use string functions to get the coordinates, and finally plot them. Well, a bit more difficult, but this one wont need another software.