Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We use a block definition that includes custom properties and 2 attribute definitions. 1 of the attribute defs has "Multiple lines" = "Yes". When the attribute is added, the textstring is set to "first line \n second line". I test when the att def is created and IsMTextAttribute is true.
This all works until the attribute has to be edited. The attref textstring does not contain "\n" or "\p". Am I missing something?
I tried attref.TextString and MText mt = attref.MTextAttribute. Neither the textstring or the mt.Contents contain any newline character.
<edit> the second line is the area of a closed pline. i need to edit the area if it changes. I am using Civil 3D 2016
Solved! Go to Solution.