rokket opened this issue on Jan 30, 2024 Β· 60 posts
Y-Phil posted Sun, 02 February 2025 at 7:25 PM
Oh most of the time, I open the Material Room, I select an existing material. Then I launch Poser's python shell, and I start with those 4 lines:
scene=poser.Scene()
mat=scene.CurrentMaterial()
tree=mat.ShaderTree()
node = [n for n in tree.Nodes() if n.Name()='the_right_node_name'][0]
I know them all by heart now 
Then I experiment with the desired node. In the shell, "node." starts a list, upon selecting one line of the list and entering the character "(", Poser describes the function and its the parameters. The rest represents hours of experimenting and finding errors and glitches.
Reading Poser's existing scripts helps too. For this, I'm using Microsoft's Visual Studio Code and its search function in Poser's library of scripts.
π«π½ππ
(γ£ββ‘β)γ£
πΏ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gaming, Asus Tuf Gaming RTX 4070 OC Edition, 1+2 TB SSD's, 6+4TB HD
πΏ Mac Mini M2, Sequoia 15.5, 16GB, 500GB SSD
πΏ Nas 10TB
πΏ Poser 13 and 14 β€οΈ