Warnings

After some googling I found out it is not possible through the Python API to acces the list of warnings.

My aim is to write objects to Excel with the matching BatID and warnings.

Knipsel

As I understand the user has to export a HTML manually to get a list of warnings.
What use is this list if I can’t tell which warning corresponds with which element? I ran this Python script which exported every possible Revit warning to Excel;

As you can see Revit has a total of 956 warnings? :nerd_face:I understand not every warning is about a ‘physical’ Revit element. But my goal is to loop over the elements which have a warning attached to them. Is this in some way possible? With Python, Dynamo or with a Macro? (I have no experiences with Macros whatsoever).

Thanks in advance.

Haven’t you made a package for this new API functionallity @john_pierson?

1 Like

Hi @Claus @Einar_Raknes

This is already available @john_pierson 's Bang Package :slight_smile: It works only in Revit 2018 and higher versions.

6 Likes

Neat, that’s exactly what I was trying to achieve. :slightly_smiling_face:

1 Like