2024 Method
Changes 0
M

Document.SaveAs

Description:
Saves the document to a given path.
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. Event handlers are not allowed to save document that are currently in modifiable state.

If options.rename is true, then the document's title in Revit's title bar will be updated automatically to reflect the file's new name.

Overloads (3):
SaveAs(ModelPath,SaveAsOptions)
public void SaveAs(
	ModelPath path,
	SaveAsOptions options
)