.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to copy attribute collection from one sheet to another

1 REPLY 1
Reply
Message 1 of 2
bsee1
397 Views, 1 Reply

How to copy attribute collection from one sheet to another

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.

 

 

 

*****************************
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000

Inventor 2013
ETO 6.1
1 REPLY 1
Message 2 of 2
Balaji_Ram
in reply to: bsee1

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.

http://adndevblog.typepad.com/autocad/2012/07/making-a-non-database-resident-copy-of-a-complex-objec...

 

Regards,

Balaji

 

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost