Message 1 of 8
Get all room names from one plan view and change the parameter of a room

Not applicable
05-08-2018
10:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, right now I am working on a project, which should get the roomnames from a plan view and compare each room name with a database. If the roomname if found in the database, the parameter in the room called "IS_IN_DATABASE" should be updated with "YES"
Unfortunately I have no Idea, how to get the roomnames from one plan view...
I found this post: https://forums.autodesk.com/t5/revit-api-forum/how-to-retrieve-rooms-filtered-by-level/td-p/6627076
but it does not work because I always get a exception:
viewId is not a view.
Parameter name: viewId