Skip to main content

ModelCenter APIs 2025 R1

getBaseName

Last update: 16.07.2025

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