Message 1 of 3
Bug in Revit 2013 - RevisionNumberingSequence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Just reporting an issue I came across today with seems to be a bug.
In Revit 2023 getting the RevisionNumberSeuquenceId of a Revision that's set to None will return -1.
I was using this code in previous versions with no issues but in 2023 the casting will be null in the case mentioned.
var revSeqId = revision.RevisionNumberingSequenceId;
var revSeqEl = doc.GetElement(revSeqId) as RevisionNumberingSequence;
I haven't tested this in Revit 2024.
Thanks.
Hoss