Toad World® Forums

Can I read the filename of a model?


#1

Hallo !

This topic was already asked for in this forum with the answer, that the next Beta will have this feature. Is this feature now available in beta 4.0.3 and where can i find it ?

Regards Reiner.


#2

Hi,

please try this:

function main(){
Log.Information(Model.FilePath);
}

It returns full path. Use JavaScript to get the file name.

BTW: Reference Guide is up-to-date. Click Help | Reference to see current classes and properties.

Regards,

Vaclav


#3

Works, thanks.