Structure.Swap

is it possible to swap to a null structure?

Structure.Swap can’t take a “null” input. However, that is apparently what is req’d by the null structure.

Hi @ddrennen2QDK2,

This looks like a shortcoming. Thanks for flagging! We’ll get it fixed.

For Structure.Swap, you can use “Null Structure” for the partFamilyName and partSizeName inputs. We will fix the issue with Part.PartSize so that it will return the correct string.

This has been addressed. You can expect the fix in the next Civil 3D update.

1 Like

This is fixed in Civil 3D 2025.2.

1 Like