Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Need to Connect two conduits with different locations

Hariharan_RadhakrishnanPCEKW
Participant
Participant

Need to Connect two conduits with different locations

Hariharan_RadhakrishnanPCEKW
Participant
Participant

I need to connect this two conduits, NO.1 conduit gonna be Fixed conduit and NO.2 conduit need to align with NO.1 conduit and then need to connect with NO.1 Conduit.

Please help me to Align movable Conduit with respect to Fixed conduit. 

Please suggest me logic to proceed

Reply
316 Views
2 Replies
Replies (2)

ankofl
Advocate
Advocate

There are two options:
for first you can move the "movable" Conduit to the "stationary" one, extend its LoactionCurve in the back (i.e. create a new Conduit, and delete the old one), and then connect their connectors. In my opinion, this method has a number of problems, and the first of them is that the movable Conduit is connected to other Conduits, and some of them will also have to be rebuilt. Of course, you can first move the movable Conduit using Transform.CreateTranslation(), complete the transaction inside the algorithm, then immediately start it, then, if this does not cause problems for Revit itself, it will move the required Countit to the stationary Conduit, and along with it it will rebuild the other Conduits connected to the movable Conduit. But I guarantee you that a regular situation will occur in which, with such movements, the error "lack of required space for fitting placement" and the like will occur, so this option should not be considered for implementation.
The second option would be to calculate the required Lines (most likely three pieces, like how the length of a cable line in electrical circuits is calculated), and then build several Conduits on these Lines required to connect the movable and stationary Conduits, although in this case they will both be stationary

0 Likes

Hariharan_RadhakrishnanPCEKW
Participant
Participant

Thank you for your response