←  Wishlist

nanoCAD forum

»

ATTSYNC

CAD bloke's Photo CAD bloke 04 Sep 2012

Greetings

The general practise after you edit a block in BEDIT (actually REFEDIT in AutoCAD) is to sync the attributes of the block inserts to the edited block reference using the ATTSYNC command. This is missing in v3.5

There is a .NET routine (which I have not tested) posted at http://www.theswamp....76309#msg476309

cheers
Ewen
Quote

ISL's Photo ISL 17 Sep 2012

The .NET implementation of AttSync command that was discussed in the mentioned TheSwamp post is written by Andrey Bushman, the source code is available at his web site (in Russian): https://sites.google...ametki/attsynch.

With minimal modifications AttSync works in nanoCAD with ordinary blocks. Since dynamic block .NET API is not implemented yet I disabled the related code.

The AttSync.dll binary module and the corresponding source code are attached. To build the project copy it to the SDK\samples\Mgd folder.

To try ATTSYNC in nanoCAD:
  • load AttSync.dll with NETLOAD,
  • start ATTSYNC command.
Please note that there is a known issue with this sample in nanoCAD 4.0 Beta1: undo after AttSync may crash Beta1. In nanoCAD 3.5 undo works as designed.

Attached Files

Quote

CAD bloke's Photo CAD bloke 19 Sep 2012

Nice one. Thank you for making that happen.
Quote