×
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

MTEXT in dxf

MTEXT in dxf

MTEXT in dxf

(OP)
I hope someone can help me with the dxf specification and requirements. I'm trying to use an MTEXT entity in a "manually" created dxf file.  I have no problem with other basic entites (LINE, CIRCLE, TEXT, ...) but there seems to be some undocumented requirement(s) for MTEXT. I'm not using HEADER, CLASSES, TABLES, or anything that isn't required for basic entities mentioned above. Following is an example (which works fine as TEXT entity).

Thanks for your help.

CODE

   0
SECTION
    2
ENTITIES
    0
MTEXT
  100
 AcDbMText
    8
layerName
   10
 0.0
   20
 0.0
   30
 0.0
   40
 0.1
   41
 2.5
   71
 1
   72
 1
    1
 This is text in the MTEXT entity.
   50
 0.0
    0
 ENDSEC
    0
 EOF

RE: MTEXT in dxf

Never tried it but could you create some mtext in a drawing and dxf it out and see what gets output? I would assume something like text style definitions would need to reside in the file also.

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: MTEXT in dxf

(OP)
Yes, thanks but I already tried that. Unfortunately there is a huge amount of "extra" info that also appears (HEADER, CLASSES, TABLES, ...). I call it "extra" because it isn't required for other entities (e.g., LINE, CIRCLE, TEXT, ..) In fact, some "extra" things like $ACADVER don't really even apply when I'm not creating it using acad.

I've tried to sort out the "extra" stuff before, but even with a simple LINE entity I found that you can't delete just some of it. Apparently the "extra" stuff isn't really extra; at least some of it is required.

Perhaps if I knew exactly what the minimum requirements are.

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