Hello,
I am facing problem with SaveAs API which is when called to save the top drawing of one or above level structure we don’t receive call back for “SaveComplete” event. When we call SaveAs API, it is expected to receive first call back for BeginSave event and then SaveComplete event. But we don’t receive the call back for SaveComplete event.
Below is the scenario:
e.g TopDrawing
|_
ChildDrawing
inline Acad::ErrorStatus saveAs(const ACHAR* fileName,
const SecurityParams* pSecParams = 0);
Observations:
After using this API we receive call back for “BeginSave” event. But we are not receiving call back for “SaveComplete” event.
Due to this we are not able to save the TopDrawing after the modification of its reference. This issue is observed in more than one level structures also.
This is observed with AutoCAD2010,11,12 and 13.
Expected Results:
We should receive call back to SaveComplete following to the call back for BeginSave event in order to save the structure correctly.
Please update me what needs to be done if I want to get result as I am expecting after using SaveAS API.
Also provide me the information about the libraries which are used for SaveAs function.
Thank you very much.
Hello,
I am facing problem with SaveAs API which is when called to save the top drawing of one or above level structure we don’t receive call back for “SaveComplete” event. When we call SaveAs API, it is expected to receive first call back for BeginSave event and then SaveComplete event. But we don’t receive the call back for SaveComplete event.
Below is the scenario:
e.g TopDrawing
|_
ChildDrawing
inline Acad::ErrorStatus saveAs(const ACHAR* fileName,
const SecurityParams* pSecParams = 0);
Observations:
After using this API we receive call back for “BeginSave” event. But we are not receiving call back for “SaveComplete” event.
Due to this we are not able to save the TopDrawing after the modification of its reference. This issue is observed in more than one level structures also.
This is observed with AutoCAD2010,11,12 and 13.
Expected Results:
We should receive call back to SaveComplete following to the call back for BeginSave event in order to save the structure correctly.
Please update me what needs to be done if I want to get result as I am expecting after using SaveAS API.
Also provide me the information about the libraries which are used for SaveAs function.
Thank you very much.
Hi Sudhakar,
I do not reproduce this behavior in a sample project that I am trying using AutoCAD 2013.
Here is a recording of the steps that I am using. Can you please review it and let me know the steps to reproduce the behavior ?
https://www.dropbox.com/s/n503tlw2qh73l44/Demo.zip
Hi Sudhakar,
I do not reproduce this behavior in a sample project that I am trying using AutoCAD 2013.
Here is a recording of the steps that I am using. Can you please review it and let me know the steps to reproduce the behavior ?
https://www.dropbox.com/s/n503tlw2qh73l44/Demo.zip
Can't find what you're looking for? Ask the community or share your knowledge.