Subregoins hosted topography

can you get a subregions topography from the subregion? Thanks

Looks like that is a ‘yes’. The ‘HostId’ property should get you started. :slight_smile:

https://www.revitapidocs.com/2020/3f84194d-97c6-7b97-fd69-14d4060bd621.htm

1 Like

Thanks, not sure what to do with that though :sweat_smile:

however found this which I think should work


Unless I am misreading that… this is the method posted above.

One difference is this code adds the ‘item.HostId’ into a definition with an series of if, elif sequences.

If you know you have a subregion, you could use something like:

items = IN[0]
[ item.HostId for item in items ]

I dono whats going on. Its definitely a sub region

image

feel like this could mean something :thinking:

What was in the input?

input was a subregion