DynamoRevit icon indicating copy to clipboard operation
DynamoRevit copied to clipboard

REVIT-244971 - POC for analyzer to issue warnings for Dynamo custom attribute NodeObsolete

Open Mikhinja opened this issue 1 month ago • 0 comments

  • add analyzer to detect usage of nodes (functions) marked with NodeObsolete from Dynamo Core. Using a function marked with this attribute does not automatically issue a warning, so we need a mechanism to detect this and warn us when our code is using such a function, to proactively change it before it gets removed.

Purpose

Add a custom analyzer to detect internal usage of nodes marked with [NodeObsolete]. Follow-up on Dynamo #16709.

Declarations

Check these if you believe they are true

  • [ ] The code base is in a better state after this PR
  • [ ] Is documented according to the standards
  • [ ] The level of testing this PR includes is appropriate
  • [ ] User facing strings, if any, are extracted into *.resx files
  • [ ] Snapshot of UI changes, if any.

Reviewers

@zeusongit if there already is an analyzer or something similar for this purpose, please let us know how to use it.

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

Mikhinja avatar Nov 26 '25 15:11 Mikhinja