tt-acm / DynamoForRebar

A Dynamo package for authoring geometrically complex rebar models in Revit 2016.
Other
39 stars 18 forks source link

Object not suitable for Rebar #4

Closed moethu closed 9 years ago

moethu commented 9 years ago

Beams are working fine as rebar hosts, but Volumes don't.

2015-06-23_16h30_34

moethu commented 9 years ago

@bhowes-tt this might be a serious issue... there aren't many elements suitable for rebar. I'll try to change the element category.

moethu commented 9 years ago

What I got so far are Nodes for creating the Rebar Lines and one Node Rebar from Curve.

2015-06-23_09h23_02

bhowes-tt commented 9 years ago

The hosting issue is interesting... Are you working with Revit 2016 yet?

A couple of things come to mind. As I recall, everything we need to support is face-based, not volume-based. Also, we need to create rebar container elements or something - basically one revit element that contains a bunch of bars. Maybe these types aren't hosted on faces?

moethu commented 9 years ago

Hi Ben,

had a look into this. RebarDBAPI.dll: there is a RebarDBApi. but its not providing any classes/types... or anything unser .NET 4.0, 4.5 nor 4.5.1

Using the Revit API provided Rebar Class we don't have too many options. There is no constructor, you can only use the create methods. Those require a host element. Revit accepts only a certain set of elements as hosts like Structural Framing, S. Column and S. Connections. But, you can set an adaptive component to StructuralConnections Category and use it as a host. This would be one workaround. The easiest because from there we won't have much to do.

In Scope of Services (p1, II) it says "Recognize the following object types as hosts for rebar model." Generic Objects , in-place or imported from SAT/ACIS solid objects and Adaptive Generic Objects. Setting the Adaptive to Structural Connections isn't maybe quite what they had in mind.

So workaround 2 would be: Trying to create Rebar as simple family instances within Revit without making use of the Rebar Class. Not sure how those elements will turn out in the Model but it might be worth trying. We could write our own Rebar class allowing you to create a set of rebar family instances using a mass as a host.

The Containers are fine, they also require a host element similar to a single rebar.

moethu commented 9 years ago

eg. Rebar 1 at the top is hosted by the adaptive family at the bottom because its of category structural connections 2015-06-24_14h32_31

moethu commented 9 years ago

nicer proof of concept 2015-06-24_14h41_48

moethu commented 9 years ago

Using Adaptive Components as Structural Connections works out fine. Also using Mass Elements as Structural Foundations: 2015-06-25_11h09_41

moethu commented 9 years ago

Wrapping in Structural Families seems fine.