Reply To: Read Name of Project

#18543
Barry Kelly
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