When I manually enter the attribute, it comes up with 3 different data entry options but when I look at the attribute in .NET it shows IsMTextAttribute = FALSE.
What is the best way to set the multiline block attribute?
I don't know if the way I have been updating my multiline attributes is the best way to go about it. I have probably taken some ideas from here and there. My biggest problem was find a way to display imperial dimensions, like say 12'-3 3/4" properly formatted with diagonal fractions. I had to format the string prior to assign it to the contents of the mtext. Here is how I have been doing it. I hope it gives you some ideas and perhaps other people will suggest better ways.
If Att.IsMTextAttribute = True Then Mtxt = Att.MTextAttribute Mtxt.Contents = "Test" Att.MTextAttribute = Mtxt Att.UpdateMTextAttribute() End If
My problem is that the attribute has IsMTextAttribute = FALSE therefore, it would never do the logic inside your If statement.
Hi Chris
Try example from this page
http://www.acadnetwork.com/index.php?topic=265.msg463#msg463
Can't find what you're looking for? Ask the community or share your knowledge.