how to create a wall extending to roof by API ?

how to create a wall extending to roof by API ?

27925916
Advocate Advocate
499 Views
1 Reply
Message 1 of 2

how to create a wall extending to roof by API ?

27925916
Advocate
Advocate

27925916_0-1621819989747.png

how to create a wall extending to the roof by API ? and how to get the roof which a wall is extending to? 

0 Likes
500 Views
1 Reply
Reply (1)
Message 2 of 2

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @27925916 ,

1)how to create a wall extending to the roof by API?

Ans: Have a look at this below link

https://forums.autodesk.com/t5/revit-api-forum/wall-attach-top-base-no-api/m-p/5992539 

 

2)how to get the roof to which a wall is extending? 

Ans: Have a look at this below link

https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-get-all-elements-ids-witch-connected-t... 

By using this code you can get all the elements connected to a particular wall. After getting all the elements connected to a particular wall you can get the roof element from them. 

 

I hope this helps.

 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes