11-04-2019
05:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-04-2019
05:45 PM
Hello,
I got a same trouble few days ago.
Document.SaveAs Method in the API Document is written as following :
> Saves this document into a file of the specified name. None of the dependent documents get saved.
But as far as I tried, every related documents will be saved.
In my case, the assembly had only part occurrences (no sub assemblies). So I copied (kept) Dirty flag of each Documents of the occurrences, set them false, SaveAs top assembly, and restored Dirty flags.
Even if the assembly has sub assemblies, you will be able to do this. (But you have to write a bit complex code.)
=====
Hideo Yamada