"Constraint Error When Placing Couplers Between Rebars in Revit API"

"Constraint Error When Placing Couplers Between Rebars in Revit API"

veeresh.huvinahalliACK3L
Enthusiast Enthusiast
339 Views
2 Replies
Message 1 of 3

"Constraint Error When Placing Couplers Between Rebars in Revit API"

veeresh.huvinahalliACK3L
Enthusiast
Enthusiast

"I'm encountering a constraint error while using the Revit API to join rebars with couplers. I have three rebars of the same diameter, and they are lapped. I can successfully place a coupler between the first two rebars, but when trying to place a coupler between the second and third, I receive a constraint error.

The first two rebars are hosted by different elements, while the second and third share the same host. I’ve attempted to change the host to resolve the issue, but it hasn't worked. Could you please help me understand why this error occurs and how to fix it? I’ve attached a document and video for further details."

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

apjones
Collaborator
Collaborator

If the bars are correctly aligned, it will work. (Tested in Revit 2024)

 

(confirmed in Revit 2023 also)

 

Did you mean for the first bar to be "kinked" like this? 

 

apjones_0-1728917865571.png

 

 

Pete

>Please Accept as Solution and give Kudos as appropriate to further enhance these forums. Thank you!
0 Likes
Message 3 of 3

jay_colcombe
Mentor
Mentor

I did not get the warning you got but I received this warning instead using Revit 2025

 

jay_colcombe_0-1728920322607.png

I then used the Align Tool and Aligned them both in Elevation and it worked without error but the strange thig is i had it use the Align Tool twice on the same elements for it to move?

 

 

 

 

Jay Colcombe

Autodesk Certified Instructor
Revit Architecture & Structure Certified Professional
AutoCAD Certified Professional
B.Sc. Hons Civil & Structural Engineering

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes