Home › Forums › Problems and solutions in GDL › Informations from the environment › Read Name of Project › Reply To: Read Name of Project
February 6, 2020 at 02:33
#18543
Participant
rrr=REQUEST ("Name_of_plan", "", pname, pfullname, ppath)
print pfullname
file_numb = STRSUB(pfullname, 1, 5)
print file_numb
This works for me in the master script (also 2D & 3D but not parameter script).
No you can’t save the outcome as a parameter (that would be nice though as we don’t all use modules).
But you can use the outcome and can compere it to your text file number.
Barry.
Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit