Revit Api "Get Warning" Method does not get parent elements for sketch lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Forum,
I am retrieving warning messages for quality and reviewing purposes using the API.
The problem I currently have is that "GetFailingElements" Methods does not provide the parent element when warning related to a sketch line. similar to the Revit Warning List using the "Review Warnings" Revit Command. This is quite important to know, because element id of sketch lines are not possible to select by id if not being in the sketch mode receiving the error below:
For Example:
I have a "Line in Sketch is slightly off axis.." error message. Going to the "Review Warnings" Command I see the sketch model line Id and the parent Floor element Id.
However, when tracking this warning element by Revit API, it seems that parent element id is missing from the Warning list.
Could you please confirm that Revit API functionality is currently limited on getting the parent element Id of a Warning sketch model line?
Any help would be much appreciated.
Kind Regards,
Alexandros