Message 1 of 2
Rebar Creation with rebar shape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I want to get al l the RebarShape Types in the project and use one of them to create rebar using Rebar.CreateFromRebarShape.
I could get all rebar shape as elements using filteredElementCollector with BuiltInCategory.OST_RebarShape.
However, I cannot cast this element into RebarShape and as a result it is always null and cannot create using CreateFromRebarShape.
Is there any way I can achieve that?
Thanks