Message 1 of 15
Openings on Roof in Window Family via API

Not applicable
12-14-2015
05:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear all,
What we want to achieve is rather straight forward: Openings in Roof using Revit API.
I see following possibilities:
- Creating a new opening using Create.NewOpening().
This is intended way of working, as per API design. However, due to a known Revit API bug (link: https://forums.autodesk.com/t5/revit-api/revit-net-issue/td-p/5701091) this is not possible as of now. - Supplying profiles of Openings along with Roof profile while creating roof.
This is not an acceptable solution as this approach needs the opening curves to be fully within Roof's profile (cannot conincide roof borders or corners) - Placing Opening on Roof in Window Family
My client's Revit professional came up with approach of creating Window Family for Roof, with just Opening element in it (without all window friles).
However, i found API for Family (FamilyItemFactory Document.FamilyCreate.NewOpening()) allows openings only on Ceilings and Walls (not for roofs). I find it strange because in Revit UI, it is very much possible.
What is the way around?
Any light sheded in this direction will be highly appreciated.
Best regards,
Kinjal.