I'm converting an Inventor dwg to AutoCAD dwg. The Titleblock & borders on the AutoCAD dwg are all wrong, so I need to replace them with borders from a template sheet(in AutoCAD). I'm inserting the titleblock from the template sheet into the original autocad dwg. How can I copy the attributes from the titleblock on the original dwg into the template block? The goal is to preserve the formatting & text spacing the template block uses.
Hi,
I do not see an direct way to make a copy of the attribute collection.
Traversing the attribute collection of the source block ref, creating a new attribute reference based on those properties and adding it to the attribute collection of the destination block ref would be the way.
This devblog post discusses about making a copy of such complex objects.
Regards,
Balaji