Message 1 of 5

Not applicable
04-14-2016
10:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
In Revit 2016 I used the following to create a textnote:
TextNote tn = sheet.Document.Create.NewTextNote(sheet, pos, XYZ.BasisX, XYZ.BasisY, bbox.Max.X - bbox.Min.X, align, res)
This has become obsolete in 2017 and now I must use:
TextNote tn = TextNote.Create(sheet.Document, sheet.Id, pos, bbox.Max.X - bbox.Min.X, res, tnOptions);
Problem is,the tnOptions only has a handle for horizontal alignment. Where is the vertical alignment ?? And how can I set the BaseVec and UpVec ? Prior in the class TextAlignFlags.
Solved! Go to Solution.