Skip to main content

ModelCenter APIs 2025 R1

enableCache

Last update: 16.07.2025

public enableCache(enable: Boolean): Boolean

Enables or disables cache completely. Cache is cleared when disabled and cannot be reused when enabled again.

Return

were we previously reading from the cache?

Parameters

enable indicates if cache should be enabled or disabled

Throws

ModelCenterException

Connect with Ansys