close_project#

Emit.close_project(name: str = None, save: bool = True) bool#

Close an AEDT project with a quiesce barrier for EMIT.

On AEDT <= 26.1, adds a brief delay after closing to allow the iemit subprocess event pipeline to fully drain before a subsequent InsertDesign. This prevents the DesignInstanceBase assertion crash that causes hangs.

Parameters:
namestr, optional

Name of the project. The default is None.

savebool, optional

Whether to save the project before closing. The default is True.

Returns:
bool

True when successful, False when failed.