Hi all, today I want introduce something small trick to help you understand and explore Dynamo API with properties, method,... in Dynamo Revit. What makes me think of this is that the geometry objects in Dyanmo are defined separately and some objects you have no way of looking up their details.This is a big plus for everyone who wants to explore automation, dynamo, RevitAPI,... and more.
RevitLookupWpf is a application allow user to look up properties, method in Revit API. But when user use Dynamo Revit and want lookup like that, we need go back to Revit and use some tools common like :
Last week, I tried build a package connect with assembly revitlookupwpf and use clr to interactive with API inside Dynamo Revit. If you wants use now, let download revitlookupwpf latest version in github first.
Then install a package with name RevitlookupWpf in Dynamo Package Manager.
If you are using Revit 2023 or higher, please download package Dynamo Ironpython 2.7 included before run.
If screen show something image with tick mark blue is sucessfully.
If node init return is True is mean can use RevitlookupWpf inside Dynamo Revit.
Okays, let access to the dynamo and try snoop elements from node inside package download,
- Snoop Element and Snoop Multiple Elements
- Snoop Element By Id
- Snoop Current Selected In Revit
- Snoop Any Object you want.
In this post we resolved the problem confuse about api information use snoop information to explore, hope it useful with people is learning Dynamo 🤗. If you have any issues, please comment in post: https://github.com/weianweigan/RevitLookupWpf/pull/52https://github.com/weianweigan/RevitLookupWpf/pull/52