Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MText Contents Problem

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
neam
408 Views, 7 Replies

MText Contents Problem

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.

7 REPLIES 7
Message 2 of 8
hosneyalaa
in reply to: neam

@neam 

Is thatthe problem

 

road_mark.JPG

Message 3 of 8
neam
in reply to: hosneyalaa

Hi hosneyalaa:

thank you for attention.

problem is in creating mtext, not in the table.

Message 4 of 8
hosneyalaa
in reply to: neam

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

Message 5 of 8
Sea-Haven
in reply to: neam

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
in reply to: Sea-Haven

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.

Message 7 of 8
neam
in reply to: hosneyalaa

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

Message 8 of 8
ВeekeeCZ
in reply to: neam

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta