×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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?

Regards
Fernando

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

Hi

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

(OP)
Thanks a lot for this information. I also see the previous threat but it was after that I posted this one.

Regards
Fernando

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

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.

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

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.

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

(OP)
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

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

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources