Message 1 of 1
General Note FormattedText bullet changing to bullet character
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an iLogic rule that copies a general note from my drawing template but for some reason, the formatted text of my template note keeps changing "<Bullet> </Bullet>" to "• </Br>" I've tried recreating the template note from scratch and by using the corrected formatted text to create a new note but it always reverts to the • character instead of the <Bullet> format.
I'm just copying the formatted text from the template note and creating a new note from it:
Dim note1 As GeneralNote
Dim p1 As Point2d = ThisApplication.TransientGeometry.CreatePoint2d(note1.Position.X + 10, note1.Position.Y - 10)
Dim p2 As Point2d = ThisApplication.TransientGeometry.CreatePoint2d(p1.X + 10, p1.Y - 10)
Dim formattedText = oDoc.Sheets(1).DrawingNotes.GeneralNotes(1).FormattedText
Dim note2 As GeneralNote = oDoc.Sheets(1).DrawingNotes.GeneralNotes.AddByRectangle(p1, p2, formattedText)
here is what the formatted text should be:
<StyleOverride Bold='True' Underline='True'>DESIGN NOTES:</StyleOverride><Br/>
<Bullet>CONCRETE SHALL HAVE A xx DAY MINIMUM COMPRESSIVE STRENGTH OF <Property Document='model' PropertySet='User Defined Properties' Property='Concrete Strength' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Concrete Strength</Property></Bullet>
<Bullet>SOIL UNIT WEIGHT DRY - xxx lbs/cu.ft.</Bullet>
<Bullet>EQUIVALENT LATERAL PRESSURE DRY - xx lbs/cu.ft.</Bullet><Bullet>SOIL UNIT WEIGHT WET - xxx lbs/cu.ft.</Bullet>
<Bullet>EQUIVALENT LATERAL PRESSURE WET - xx lbs/cu.ft.</Bullet>
<Br/>
<StyleOverride Bold='True' Underline='True'>PRODUCTION NOTES:</StyleOverride><Br/>
<Bullet>APPLIED FINISH - <Property Document='model' PropertySet='User Defined Properties' Property='Applied Finish' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Applied Finish</Property></Bullet>
<Bullet>LIFTING INSERTS SHALL BE INSTALLED PER MANUFACTURER'S REQUIREMENTS</Bullet>
<Bullet>INTERNAL LINER/COATING - <Property Document='model' PropertySet='User Defined Properties' Property='Interior Finish' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Interior Finish</Property></Bullet>
<Bullet>EXTERNAL LINER/COATING - <Property Document='model' PropertySet='User Defined Properties' Property='Exterior Finish' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Exterior Finish</Property></Bullet>
here's what it is when I access the FormattedText of the note:
<StyleOverride Bold='True' Underline='True'>DESIGN NOTES:</StyleOverride><Br/>
<Bullet>CONCRETE SHALL HAVE A xx DAY MINIMUM COMPRESSIVE STRENGTH OF <Property Document='model' PropertySet='User Defined Properties' Property='Concrete Strength' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Concrete Strength</Property></Bullet>
<Bullet>SOIL UNIT WEIGHT DRY - xxx lbs/cu.ft.</Bullet>
<Bullet>EQUIVALENT LATERAL PRESSURE DRY - xx lbs/cu.ft.</Bullet><Bullet>SOIL UNIT WEIGHT WET - xxx lbs/cu.ft.</Bullet>
<Bullet>EQUIVALENT LATERAL PRESSURE WET - xx lbs/cu.ft.</Bullet>
<Br/>
<StyleOverride Bold='True' Underline='True'>PRODUCTION NOTES:</StyleOverride><Br/>
• APPLIED FINISH - <Property Document='model' PropertySet='User Defined Properties' Property='Applied Finish' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Applied Finish</Property><Br/>
<Bullet>LIFTING INSERTS SHALL BE INSTALLED PER MANUFACTURER'S REQUIREMENTS</Bullet>
<Bullet>INTERNAL LINER/COATING - <Property Document='model' PropertySet='User Defined Properties' Property='Interior Finish' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Interior Finish</Property></Bullet>
<Bullet>EXTERNAL LINER/COATING - <Property Document='model' PropertySet='User Defined Properties' Property='Exterior Finish' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'>Exterior Finish</Property></Bullet>
Anyone have any ideas?