DynamoRevit icon indicating copy to clipboard operation
DynamoRevit copied to clipboard

Ability to Filter Warning list using TXT File - Will Need Feature for OOTB Autodesk Warning Nodes

Open JarodSchultz opened this issue 3 years ago • 5 comments

If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.

Latest Dynamo version

Dynamo Core 2.3.0.5885 Dynamo Revit 2.3.0.8352

Revit version

2020.2.3

Operating system

Windows 10 Pro

What did you do?

Using John Pierson's Bang! package to develop a graph to visualize warnings inside Revit. He has mentioned that Autodesk will supply theses same nodes in a future version of Dynamo. We want certain functionality to be brought forward from the Bang! package to the Autodesk version.

What did you expect to see?

Using the Warning Type node it displays the entire list of known warnings that is in the current Revit file. Some warnings for certain industries we would like to filter so the drop-down shows only the warning types that we want to show.

What did you see instead?

At first this wasn't possible but John has now updated his Bang! package so that can be done by using a simple TXT file. See attached animated GIF, in this case we don't want to see the warning type called "Highlighted Floors Overlap...." warnings_03

Autodesk please look at this and make sure this functionality is available in the new OOTB nodes that you are creating. John has noted on his site LINK that his package will go into Deprecation once you release your OOTB nodes.

By then we will have clients using this functionality and want to make sure the transition goes as smooth as possible in the future.

Thanks, Jarod

JarodSchultz avatar Apr 06 '21 17:04 JarodSchultz

@ZiyunShang Can you comment on this?

QilongTang avatar Apr 07 '21 13:04 QilongTang

@QilongTang Thank you for ping me. @JarodSchultz it seem that you want a filter on the warnings. For the time being, you can use the following Workflow filter in Dynamorevit : WarningFilter I'm not sure it's appropriate to use an extra TXT file for filtering, which would require memorizing and manually entering a series of warning descriptions, and there might be localization issues.

ZiyunShang avatar Apr 08 '21 08:04 ZiyunShang

@ZiyunShang @QilongTang Thank You for the additional insight on filtering but there is a missing point that needs to be made here. We need a drop-down list within the Dynamo Player so the end-user can choose which warning they would like to see in the model to be colorized. The drop-down list is essential in this workflow so it is really easily for the end-user to focus on what they want to see/fix in the model.

I wish there was an "input" for the "warning" node that the above script could simple hook into. To me that is a better solution but maybe there is a way to do that with the above script that we don't know about or is it better to go back to the how @johnpierson set it up with the TXT file?

JarodSchultz avatar Apr 08 '21 13:04 JarodSchultz

I wish there was an "input" for the "warning" node that the above script could simple hook into.

I think this would be great as well, unfortunately, I believe custom UI nodes like that do not work in Dynamo player.

johnpierson avatar Apr 08 '21 15:04 johnpierson

I wanted to update this thread: This functionality has been removed from Bang! at this time. It caused regressions in older versions of Revit and Dynamo and I simply don't have the time to work it out at the moment.

I look forward to seeing what the Dynamo team can come up with regarding their efforts with warnings in Revit with Dynamo.

johnpierson avatar Apr 21 '21 14:04 johnpierson