Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
HideoYamada
in reply to: Anonymous

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.)

 

=====

Freeradical

 Hideo Yamada

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp