Hi all,
I have an AutoCAD file with multiple multitext boxes which I want to convert to Revit API as Notes.
When I try using AutoCAD import into Revit and exploding the cad file, it would tend to explode the text into the exact same line format with an "end of line" to each multi text line as it reads in AutoCAD. For instance attached image for reference.
On left, as you can see it does copy the text but when I try to resize the box each line has a ¶ which is tedious as I have to manually do back and backspace each line.
Was hoping if anyone on the forum has a faster solution for this. Any help would be appreciated.
Thanks in advance.
Yes, that could be fixed automatically, if you wish to remove all paragraph marks from all freshly created text notes:
A: Keep track of all newly created elements from a specified point onwards by activating a DocumentChanged event handler.
When you have finished creating fresh text notes, process them by reading their text content and removing all paragraph marks from it.
B: You could also remove the paragraph marks right away during the text note creation by implementing an appropriate updater.
Here is more information about keeping track of newly added elements using DocumentChanged:
https://thebuildingcoder.typepad.com/blog/2010/06/place-family-instance.html
Here is more about the dynamic model updater framework DMU:
https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.31
P.S. Wow! I just performed an Internet search for ¶ and learned that is is named Pilcrow. Never heard that name before.