Rhino.Inside.Revit Relationship between "Structural framing" and "Analytical beams"

Is there a relationship between “Structural framing” and “Analytical beams”?

I would expect “Analytical beams” would be a subclass of “Structural framing”.
Where some of the “Structural framing” objects have “Analytical beams” (or analytical geometry).

This match is desirable because I want to combine info retrieved from the parameters in the “Structural framing” object with the analytical geometry of the “Analytical beams”.

156 “Structural framing” objects

52 “Analytical beams” objects

The Analytical categories aren’t a direct subclass. They respresent an Aspect of an element. They are accessed separately by the API to provide easier access to analysis on these elements. (see ApiDocs.co as example)

I’m not sure what your question is though

Hi Ehsan,

Thank you for your reply.

The goal is to rebuild a Tekla model based on data retrieved from the revit model with Rhino.Inside.
The data that I need for a beam element are:
-Analytical geometry (retrieved from Analytical Beams)
-Section family name (retrieved from Analytical Beams)
-Precamber of the beam (retrieved from Structural Framing)

Both Analytical Beams and Structural Framing do not have an equal amount of objects.
So the index of a particular beam object in both list is not consistent.

My question is how can I retrieve the needed data from all steel member, considering an object has different index numbers in both lists?

I hope this clarifies my issue.

Use the python component I added in this grasshopper definition. It calls the .GetAnalyticalModel on the input structural element to get its analytical model. This way your datatree is in correct shape.

GetAnalyticalModel.gh (9.8 KB)

Hi Ehsan,

Thnx a lot for creating the Python definition.

In the “Element geometry” component I am now facing the issue where null inputs leads to an error instead of a null output, where the tree structure is maintained.

An option is to clean the tree from the null items, but then I lose the tree structure which I need.

Any suggestion how to create the “Geometry” tree including the original null items?

Solved it!:slight_smile:

When the list is grafted the tree structure data is maintained.

1 Like

So beautiful :smiley:

1 Like

@eirannejad

Do you happen to have an updated component for Revit 2023?

Hi Sreichwein,

If its something to do with the Revit API try Revit API forums, Stack Overflow, Youtube & various blogs, they are all great resources. A quick google came up with this post.

Which led to Jeremy’s sample of how to deal with the change.


GetAnalyticalModel.gh (11.1 KB)

We are always willing to help but the fastest answer is often a quick google away.

Hi Japhy,

Understood and we always ask Google, ChatGPT, Bard, and YouTube first. Unfortunately, none of them were able to get it to a practical level for us “practicing engineers” that actually have to use and implement this stuff into a working project without having an advanced PHD in computer science… Hence, why I reached out to you fine folks :wink:

I have already gone through the post you provided below and it was not helpful for a poor old practicing engineer that has to date designed one of the most complicated structures on Earth in Las Vegas… I ask that you please be patient with us engineers with little to no computer science background (thank the heavens for Grasshopper!).

The script that you provided, however, is great and exactly what I tried to make yesterday; thank you!

Your help is greatly appreciated.

-Steve

Good to hear it’s working for you! Feel free to ask away.

I’m just reminding everyone that a quick search and providing support files is the fastest way to get answers, especially when our support and dev teams are all putting in extra time with the Rhino 8 release.