Swap standard detail family for a line-based one

We are in the process of updating our typical detail library.
We have an old style of breakline that you place, then adjust the grips on. We want to trade this out for a new line-based breakline. Unfortunately, Revit does not let you do this. Does anyone know of a way in dynamo this could work? Below is the error I get when attempting the switch.
image

Heya,

I get that kind of message when the (default?) parameter values cause the family type to fail, E.G. the length is so small you end up with an array of value 1…

But the family should still be editable? Is that option not available? Do you want to drop the .RVT here?

I don’t think Dynamo is going to help, it’s probably an issue best posted to the Revit forums TBH… Though there are a bunch of experts here who probably can’t resist trying to fix it!

Hope that helps,

Mark

The issue is that a non-line-based family can’t be switched out for a line-based family.
This is a non-line-based family.


This one is line-based.

If you try to swap one for the other, you get the previously shown error.
So could dynamo make this swap while still keeping the extents?

Dynamo can’t do anything that Revit prevents. You need to rethink your problem.

You can’t just swap out the one family for another, but you can determine the location and extents of the existing family instances and create new instances that match those properties with the line-based family.

I get the same error with Dynamo unfortunately…

Hi Nick, yeah, apologies I’ve run out of time… But here’s where I’d got to… Slightly more awkward because it’s view-dependant?

Hope that helps,

Mark

View dependency shouldn’t matter, you just have to make sure you’re placing the new instances in the correct views as well. Hard to tell what’s going on here without the error message, but coordinate systems should be the same since they’re local Revit objects. You may not actually be getting a valid instance placed if you’re not supplying a view for a view dependent element.