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

View.IsViewTemplate does not support all view types #1815

Open
andydandy74 opened this issue Oct 8, 2017 · 2 comments
Open

View.IsViewTemplate does not support all view types #1815

andydandy74 opened this issue Oct 8, 2017 · 2 comments

Comments

@andydandy74
Copy link

Dynamo version

1.3.1

Revit version

2017.2.1

Operating system

Windows 7

What did you do?

Ran View.IsViewTemplate on all views in the project

What did you expect to see?

Booleans for all inputs

What did you see instead?

Null

Turns out that the following view types are not supported:

  • ProjectBrowser
  • SystemBrowser
  • DrawingSheet

dks7cn4xuaqcqhu jpg large

Expected behaviour

Since many users will process all views to get to a list of view templates, the node should be able to process all view types

@ksobon
Copy link
Contributor

ksobon commented Oct 30, 2017

@andydandy74 these view types are not valid to be View Templates. I see what you are saying. It should just return a false value instead of a null. Is that it?

@andydandy74
Copy link
Author

@ksobon Yes.

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