Message 1 of 3
Problem with Save back iusing .NET

Not applicable
02-22-2008
08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have tried to save back using the method described in the .NET help files.
1. call AttachedDrawing.Lock(false) to lock the dwg file.
2. call AttachedDrawing.CloneBack
3. call AttachedDrawing.Save to commit the canges
4. Call AttachedDrawing.Unlock to unlock the dwg file.
The CloneBack call causes a MapException
The attached dwg's are not updated.
Using the ADESAVEOBJS command works fine and saves any changes to objects back to the dwgs.
Any thought? am I missing some call or setting prior to calling the cloneback method?
Any suggestions would be of help.
Paul
1. call AttachedDrawing.Lock(false) to lock the dwg file.
2. call AttachedDrawing.CloneBack
3. call AttachedDrawing.Save to commit the canges
4. Call AttachedDrawing.Unlock to unlock the dwg file.
The CloneBack call causes a MapException
The attached dwg's are not updated.
Using the ADESAVEOBJS command works fine and saves any changes to objects back to the dwgs.
Any thought? am I missing some call or setting prior to calling the cloneback method?
Any suggestions would be of help.
Paul