Programmatic create framing but Beam doesn't join column

Programmatic create framing but Beam doesn't join column

Anonymous
Not applicable
521 Views
2 Replies
Message 1 of 3

Programmatic create framing but Beam doesn't join column

Anonymous
Not applicable

 

Hi I'm trying to create beam and column programmatic from a list of parameters.

but after everything was created the beam doesn't join the column automatically.

I was trying to use ExtensionUtility to set the beam cutback but it has nothing to do with the column. It only join and unjoin the beams.

The X,Y of beam end point matches the X,Y location of the column exactly 

Revit will recognized the column join if I drag one of the beam end away from the joining point or replace with a new column manually. 

any solutions? Thanks

 

 

 join problem.JPGjoin problem 2.JPG

0 Likes
522 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Hi my friend; i have same problem in join beams to column. at your case you can use below code to join beams to column. FamilyInstance instance = ...... ( create your beam); instance.get_Parameter(BuiltInParameter.START_JOIN_CUTBACK).Set(0); instance.get_Parameter(BuiltInParameter.END_JOIN_CUTBACK).Set(0); and this solve your issue. but i still have this problem when i try to have two beams that connected at the one face of a column. in this case the start joint cutback parameter for a beam consider from an other beam instead of column . can any one help me ? i hope its useful for u. thanks. Majid Hamidi
0 Likes
Message 3 of 3

glenncai
Enthusiast
Enthusiast

Thank you for reply. I have put this away for a while. but will try your suggestion later. I'm using dynamo more often right now, Not sure If this happen when using dynamo.  

0 Likes