Skip to main content

ModelCenter APIs 2026 R1 SP03

FileSystemInfo

Last update: 30.07.2026

public class FileSystemInfo : PHXCOMObject

This is the wrapper class that handles the native COM calls to a FileSystemInfo. The class is used by Java plug-ins to ModelCenter.

Functions

Name Summary
disableGC public disableGC(gc: Boolean)
If true, prevents releaseObjects from doing anything.
getBaseName public getBaseName(): String
Get the base filename, regardless of whether this is a version, file, or otherwise.
getExists public getExists(): Boolean
Indicates whether the object exists.
getIsValid public getIsValid(): Boolean
Indicates whether the object is valid.
getIsWritable public getIsWritable(): Boolean
Indicates whether the object is writable (true) or read-only (false).
getUrl public getUrl(): String
Get the full URL of the object as a string.
release public release()
Releases the COM reference to ModelCenter for this object.
releaseObjects public releaseObjects()
This function attempts to release any COM resources left behind from objects which have been finalized but release() was never called on them.
setReferenceDebugMode public setReferenceDebugMode(on: Boolean)
When set to true, the system will keep a list of active COM objects that are allocated but not yet released since this method was invoked.

Connect with Ansys