Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revit Lookup doesn't snoop all members #35

Closed
htlcnn opened this issue Aug 9, 2017 · 1 comment
Closed

Revit Lookup doesn't snoop all members #35

htlcnn opened this issue Aug 9, 2017 · 1 comment

Comments

@htlcnn
Copy link

htlcnn commented Aug 9, 2017

I tried snooping a selected Structual Rebar element in the active view and found not all of the Rebar Class members showed up in the Snoop Objects window. One of many members that weren't there: Rebar.GetFulGeometryForView method.
Is this the supposed behaviour for Revit Lookup? I was thinking I could get all object members with Revit Lookup and without RevitAPI.chm file.

@jeremytammik
Copy link
Owner

Do you mean GetFullGeometryForView? There is no guarantee that RevitLookup will be able to report all properties and methods on all elements. For instance, in the case of GetFullGeometryForView, a view input argument is required. How is RevitLookup supposed to be able to guess what view you are interested in? For methods requiring dynamic input that cannot be automatically determined, you will have to make use of more intimate interactive database exploration tools, e.g. RevitPythonShell: http://thebuildingcoder.typepad.com/blog/2013/11/intimate-revit-database-exploration-with-the-python-shell.html.

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

No branches or pull requests

2 participants