Skip to content

Conversation

@Mikhinja
Copy link
Collaborator

  • 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

* add analyzer to detect usage of nodes (functions) marked with NodeObsolete from Dynamo Core.
* add analyzer to detect usage of nodes (functions) marked with NodeObsolete from Dynamo Core.
@Mikhinja Mikhinja changed the title REVIT-244971 REVIT-244971 - POC for analyzer to issue warnings for Dynamo custom attribute NodeObsolete Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants