Forum: Poser Technical


Subject: Export files name

Tekitoumen opened this issue on Aug 08, 2022 ยท 4 posts


Y-Phil posted Mon, 08 August 2022 at 4:19 AM

Here is a V2 and V3 compatible Python instruction to achieve this
"{}_{:04d}".format('test', 35)

So that a Python script could look something like this:

dialog = poser.Dialog()
txt_dlg = poser.DialogTextEntry(dialog, question)
if txt_dlg.Show():
    base_file_name = txt_dlg.Text()
    for i in range(number_of_iterations):
        full_file_name = 
"{}_{:04d}".format(base_fiule_name, i)


๐’ซ๐’ฝ๐“Ž๐“


(ใฃโ—”โ—กโ—”)ใฃ

๐Ÿ‘ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐Ÿ‘ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐Ÿ‘ฟ Nas 10TB
๐Ÿ‘ฟ Poser 13 and soon 14 โค๏ธ