2022 Method
Changes 0
M

UIDocument.SaveAs

Description:
Saves the document to a file name obtained from the Revit user optionally prompting the user to overwrite file if it exists.
Remarks:

This method may not be called unless all transactions, sub-transactions, and transaction groups that were opened by the API code were closed.

That also implies that this method cannot be called during dynamic updates.
Overloads (2):
SaveAs
SaveAs(UISaveAsOptions)
public void SaveAs(
	UISaveAsOptions options
)