Hi Dynamo Friends,
i will simplify my problem by this example:
i have a U shape made by Detail lines and i want to update the middle line to become half length but still joining to the other detail lines to keep getting the same U shape (but smaller).
i use SetGeometryCurve method from API ![]()
def update_longest_line(longest_line, new_curve):
# Start a transaction to modify the document
TransactionManager.Instance.EnsureInTransaction(doc)
# Update the longest line's geometry
longest_line.SetGeometryCurve(new_curve, True)
# End the transaction
TransactionManager.Instance.TransactionTaskDone()
return longest_line
i get succeded in update the midel longest line but without joining to the other lines,
So , is there any way to still keep joining the lines after update the geometery of longest line?
Thanks in advance for any help .
