Skip to main content

ModelCenter APIs 2026 R1 SP03

close

Last update: 30.07.2026

public close()

closes ModelCenter. This function is also called by the finalizer for this class, but since finalizers are not guarenteed to be called, this method should be called directly. It is safe to call close() multiple times.

Deprecated

close() is just an alias for "release()", which is the preferred way to release the object. ModelCenter will close when all objects pointing to it are released().

Throws

ModelCenterException

Connect with Ansys