Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I import points coordinates from a DOS file in V4

Status
Not open for further replies.

ferdo

Mechanical
Joined
Jul 4, 2002
Messages
2,859
Location
RO
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?

Regards
Fernando
 
Hi

We bought a product from a company call Mecanica ( They have develop a IUA that read text file and create point, line, ... in CATIA V4.

Sean
 
Thanks a lot for this information. I also see the previous threat but it was after that I posted this one. Regards
Fernando
 
AutoCAD used to be able to read in ascii files to create 3D points in space.
The trick was to get the right ascii format - delimited etc.
After that Iges will transfer them.
 
Hi Ferdo. I was interested in reading a text file using an IUA too - if you have found a solution, could you let me know?

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.
 
Hi,

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
 
Surprisingly, this is really simple in all other CAD packages I have used. In AutoCAD, I-deas, and ProE it would hardly need automation ... but reading a text file into a program in Catia is so difficult. Well, as always, it is about knowing the process, but the process in this case is very difficult.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top