Skip to main content

ModelCenter APIs 2026 R1 SP03

getBaseName

Last update: 30.07.2026

public getBaseName(): String

Get the base filename, regardless of whether this is a version, file, or otherwise. This is the name of the file as it would appear on a local disk. For example, if this is readme.txt, version 2, this function will return "readme.txt".

Throws

ModelCenterException on error

Connect with Ansys