Plan Region through API

Plan Region through API

Anonymous
Not applicable
1,801 Views
6 Replies
Message 1 of 7

Plan Region through API

Anonymous
Not applicable

Hi,

I'm trying to access existing plan regions through the API.

I can select them (as elements) using a filter but I can't get the geometry or the view range information.

I also could't find any way to create them programmatically.

All I found were builtinfailures for planregions.

 

Does anyone know how to access the PlanRegions, modify them and create new ones through the API?

 

Matthias

1,802 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
It looks like there isn't much you can do with them in the API. When you use Revit lookup, you will see there isn't much available for them...
0 Likes
Message 3 of 7

rosalesduquej
Alumni
Alumni

Matthias,

 

Unfortunately currectly we don't support such functionality from our API, After confirmation from our Revit Engineers, I have decided to file a Wishlist request on your behalf for this to be considered for a future version of the API. Any information you could provide us in the reason for this to be considered will be greatly appreciated and will count towards the consideration process. 

 

For record and updates please keep this identification number with you. [CF-2198] - API Plan Region Access/Modify existing ones and Create new ones.

 

Thank you for your collaboration. 

 

Best,



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
Message 4 of 7

tshunau
Contributor
Contributor

Is this api available on Revit 2017?

0 Likes
Message 5 of 7

Anonymous
Not applicable

Well, I don't know about 2017, but in 2018 you can now get the boundingbox of a plan region. You can check for yourself with revit lookup.

 

0 Likes
Message 6 of 7

tshunau
Contributor
Contributor
I’m more interest in generation of plan region via api. Currently people at work so it manually and it very time consuming.
0 Likes
Message 7 of 7

jeremytammik
Autodesk
Autodesk

This wish is also raised and discussed in this more recent thread with DAS SFDC ticket number 15032430:

 

https://forums.autodesk.com/t5/revit-api-forum/plan-region/m-p/8566483

 

As I just suggested there, please search the Revit Idea Station for a corresponding wish list entry and vote for that.

 

If none exists, please create one and add your comments there:

 

https://forums.autodesk.com/t5/revit-ideas/idb-p/302

 

Tag it as an API wish:

 

https://forums.autodesk.com/t5/revit-ideas/idb-p/302/tab/most-recent/label-name/api

 

Ensure it gets as many votes as possible to underline its importance to you and the rest of the developer community.

 

The Revit Idea Station is currently one of the main driving input forces for Revit API enhancements.

 

The Revit development team look there. Your comment here in the discussion forum might be overlooked.

 

Thank you!

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes