I want to get the centerline of the beam.

hai_nn
Contributor
Contributor

I want to get the centerline of the beam.

hai_nn
Contributor
Contributor

Hi everyone,

When I use familyInstance.Location I see it's not correct.
My beam is tilted(slanted), I want to be able to get the black centerline as shown in the picture, not red (red is the color of LocationCurve taken in the api).

 

hai_nn_0-1713869491090.png

 

0 Likes
Reply
211 Views
2 Replies
Replies (2)

Mohamed_Arshad
Advisor
Advisor

HI @hai_nn 

 

    Which line do you want Red or Black? Can you please confirm this 🙂

Thanks & Regards,
Mohamed Arshad K
0 Likes

Moustafa_K
Collaborator
Collaborator

i am not sure if there is a reference for this black line you are looking for in a beam instance model. but since you need it, you can project the location curve over a plan. by then you can get it as projected.

 

hope this helps

Moustafa Khalil
Cropped-Sharp-Bim-500x125-Autodesk-1
0 Likes