Rebar Coupler Geometry from Linked Revit model
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm trying to get the geometry of rebar couplers from a linked Revit model.
I've used the RevitLookup add-in, searched this forum and the internet but I haven't found a solution yet.
If I explore the API with RevitLookup in the model that contains the actual rebar coupler, the "Geometry (Options)" property returns a list or IEnumerable of "GeometryInstance" in the "Active view".
So far so good.
But, if I explore the API in a model that has a linked Revit model that contains this rebar coupler, I get different results. "Active view" doesn't return any list or IEnumerable.
"Active view, including non-visible objects" returns a "Line" object. And no, this Line object is not helpful.
But this is weird because the rebar coupler is visible, the "IsHidden (View)" property is also False.
All other "Model" views return also nothing or a "Line" object.
Am I missing something here?
I'm going to investigate other methods like "GetPointsForPlacement".
Maybe I can use that to create geometry from this coupler.
Thanks
Developer Advocacy and Support +