Contact US

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!

*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

text file in V4 drawing

text file in V4 drawing

text file in V4 drawing

How can I include a text file which contains more than 80 characters per line?
Thank you for your help.

RE: text file in V4 drawing

when you are inserting text, on the menu bar there is a number with carriage return arrow going thru it.

The number its set at, and if its highlighted (selected) represents how many blank lines you get every time you
enter text.

What you need to do is dehighlight (unselect) that selection box. Then you can add more text to the same line.
you will still be limited to the 80 characters before you have to hit enter, but then you can continue in the same line of text (subtext).
Then when you want to go to the next line reselect the menu pick with the number in it.

RE: text file in V4 drawing

Hi matt22dsweet,
It has already been a thread in COE discussing this:

Just put the abstract in here:
"alias M1000 =
 catia.REPORT = '/foldername' ;
It's found that 132 is the maximum length possible for TEXTD2 FIL

cheers. Kennis Tang.

RE: text file in V4 drawing

Hi Kennis,
I've set the CATIA.RECORD_LENGTH.M1000 to 132 but I don't know how to create a 132 characters txtn in TEXTD2 function. Is there something to change in the TEXTD2 standard?
My objective is to import a .report file on a drawing via an IUA macro.
Actually, each line of my file is truncated at the 80th character.
I'm thinking that if I understand how the TEXTD2 function works, the IUA will work too.


RE: text file in V4 drawing

Hi rickyt,
Thank you for your response but I wouldn't like subtext

RE: text file in V4 drawing

Hi Matt,
Well, the Record_Length declaration works for TEXTD2 FIL as well as batch utility, but not for interactive TEXTD2 which I believe still gets the Max Limit of 80 characters per line. (Remark:using /quitxt can have 1024 characters in one line)
So if I could suggest to check whether the declaration is properly declared or not by typing in the prompt :
       catpath -l -A catia.record_length.*

Cheers. Kennis Tang.

RE: text file in V4 drawing

Hi Kennis,    Thank you very much. Finally I've chosen an other method to get my file.  I've split it in several files of 80 characters and I've pasted them in catia with an IUA macro.    Matt

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! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close