New Member
Posts: 2
Registered: ‎01-15-2014
Message 1 of 3 (119 Views)


119 Views, 2 Replies
01-15-2014 08:31 AM

I am looking to replicate a process in the command AESWAPBLOCK. If a user were manually performing this process, they would do the following:


  • Open drawing to update
  • Select "Library Swap"
  • Click "OK"
  • Change the path
  • Check "Include subfolders"
  • Click "Active Drawing"

Would you explain the process needed to do this through code?  I have very limited experience with programming for AutoCAD, so detail would be appreciated.


Thank you for your time.

Distinguished Mentor
Posts: 582
Registered: ‎04-11-2010
Message 2 of 3 (106 Views)

Re: AESWAPBLOCK Replication

01-15-2014 11:19 AM in reply to: Elad51



As "AESWAPBLOCK" it's not an AutoCAD command (a vertical?), it's better you explain the functionality of that command.


Gaston Nunez

New Member
Posts: 2
Registered: ‎01-15-2014
Message 3 of 3 (94 Views)

Re: AESWAPBLOCK Replication

01-16-2014 05:46 AM in reply to: gasty1001

Thank you for letting me know that.  The users have AutoCAD Electrical on our computer.  I guess it is a command specific to AutoCAD electrical.  


The users have built circuits made up of wires (lines, I think) and blocks.  The blocks they have created are in seperate files.  If they change a block in one file, they want that block updated in every other file it is used in.  They can use that AESWAPBLOCK command to do so, however, it takes a really long time, and they would like the process automated.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.