Roof Creation Issue with Revit API

Roof Creation Issue with Revit API

veeresh.huvinahalliACK3L
Enthusiast Enthusiast
213 Views
1 Reply
Message 1 of 2

Roof Creation Issue with Revit API

veeresh.huvinahalliACK3L
Enthusiast
Enthusiast

I'm trying to create the roof as shown in below image using the revit api.
Selected roof is placed at Offset From Roof Base at 10' 1" and Adjacent roof is placed at 9'1".

 

veereshhuvinahalliACK3L_0-1687358107588.png

But using the revit api I'm getting this as output.

veereshhuvinahalliACK3L_1-1687358126100.png

Please let us know how we can create above roof using revit api.(CreateRoofPrint)

@Anonymous

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

Mohamed_Arshad
Advisor
Advisor

HI @veeresh.huvinahalliACK3L 

Img 1 you have created two roof Base Roof and Adjacent Roof and the base offset is changed.

But in Img 2 using API you have created both the base roof and adjacent roof in one Method CreateRoofPrint.

 My Suggestion is Create both roofs in two different transactions and use two CreateRoofPrint Methods to create these two roofs. Kindly check this workaround.

 


Mohamed Arshad K
Software Developer (CAD & BIM)

0 Likes