MText Contents Problem

MText Contents Problem

neam
Collaborator Collaborator
864 Views
7 Replies
Message 1 of 8

MText Contents Problem

neam
Collaborator
Collaborator

Hi everyone

I wrote a code with the help of subroutines to get information from the curves.
when I select som of object, the code works correctly.
but when I select all objects, mtext is created, but its content is empty.
when I move the objects to 0,0,0 it works.
What is the cause of this problem?
Thank you for guiding me.

0 Likes
Accepted solutions (1)
865 Views
7 Replies
Replies (7)
Message 2 of 8

hosneyalaa
Advisor
Advisor

@neam 

Is thatthe problem

 

road_mark.JPG

0 Likes
Message 3 of 8

neam
Collaborator
Collaborator

Hi hosneyalaa:

thank you for attention.

problem is in creating mtext, not in the table.

0 Likes
Message 4 of 8

hosneyalaa
Advisor
Advisor

It works fine for me
Do Have a picture of where the problem is , So I focus on it

0 Likes
Message 5 of 8

Sea-Haven
Mentor
Mentor

This is part 2 of the prior request trying to find post1. 

 

Its not a good idea to start new posts rather keep asking at original post if you have problems.

 

Found Solved: Create table from list - Autodesk Community - AutoCAD

Message 6 of 8

neam
Collaborator
Collaborator

You are absolutely right.
The previous post was related to lists and tables, which was resolved.
This post is a problem in Contents of mtext.
I thought I should bring it up in a new post.
Please accept my apologies again.

0 Likes
Message 7 of 8

neam
Collaborator
Collaborator

In the attachment file in the current Zoom, Lisp did not write mtext.
When you get zoom extend, Lisp works correctly at 0,0.

0 Likes
Message 8 of 8

ВeekeeCZ
Consultant
Consultant
Accepted solution

The issue is that the content is simply too long.

If the length exceeds 250 chars, it splits the definition into multiple 3 codes by 250 chunks. 

 

Rather use the command method to create MTEXT that long. 

 

Read about code 3 here

https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-5E5DB93B-F8D3-4433-ADF7-E92E250D2BAB