Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
Ok, here is a version that runs on Poser12 and Poser13.
Even though I have avoided any Python3-specific instructions, I have not been able to instantiate the HyperTreeList control, something's making the original code crash on Poser11.
I could have used a simple list but the fact that it's hierarchically presented is one of the key point.
The window may remain opened, and pushed on a side of the screen. Each time the selection is done on another object and the window is once again activated, it is refreshed. Once the window is closed using its upper-right cross, it maintains its position and size for the next time.
Furthermore, that are probably a few useless instructions but consider that it's a small part (260 lines) among a rather bigger Python script (more than 3130 lines)
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 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 ❤️
script works great! this is super useful. is there a way to copy the list to text?
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Here you are...
The insane part that the HyperTreeList control, that allows the hierarchical presentation, is hard-coded to occupy the whole area of the dialog's windows. That's impossible to add a control up, or down, or on a side. Same for the Notebook control.
So that I had to add a notebook with two tabs, the second displaying the "Export" button, and more controls if you have other ideas!
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 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 ❤️
thank you!
also: what does "supplementary layer" mean? just curious
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Content Advisory! This message contains nudity
jancory posted at 2:28 PM Sun, 14 January 2024 - #4480366
This is because Poser can manage more than one layer, and actually my script only checks the layer named "Base".thank you!
also: what does "supplementary layer" mean? just curious
"Base layer": only typical bitmaps:
Whereas the "second layer" is using its own bitmap
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 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 ❤️
oh yes PLEASE add layers to the options if you can. i make & use them constantly. new script version works great.
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Here is a version that exports the bitmaps used, by layer. The layers that exists but without using any bitmap are simply ignored.
The export is done accordingly.
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 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 ❤️
perfect. thanks again.
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
I don't know it this could be useful for someone, but for my needs, I've written a tool that lists all bitmaps used by a figure, sorted by material list.
Actually, I don't check supplementary layer but I could add this.
It scans the currently selected object (prop or figure), check for the actual renderer and starts investigating from there.
It's currently in my toolbox but if someone finds this useful, I could easily create an independent tool.
Currently tested on Poser 13, but I think that it should be easily doable to make it Poser11 compatible.
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 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 ❤️