Thu, Jan 30, 4:14 PM CST

Renderosity Forums / New Poser Users Help



Welcome to the New Poser Users Help Forum

Forum Moderators: Anim8dtoon, RedPhantom, Staff

New Poser Users Help F.A.Q (Last Updated: 2025 Jan 30 10:47 am)

New to Poser? Ask questions here for expert help!



Subject: How to Method


Tekitoumen ( ) posted Tue, 05 July 2022 at 3:25 AM Β· edited Thu, 30 January 2025 at 4:09 PM

hello.


The manual has a sample program as shown below.


scene = Poser.Scene()

actor = Scene.CurrentActor()

parm = actor.ParameterByCode(Poser.ParmCodeXSCALE)


The sample script works fine.


But, I get an error when I try to use the other methods in the same way.
ex.) test = poser.Geometry()

AttributeError: "module 'poser' has no attribute 'Geometry' "

Do I need to make any special settings if I want to use other methods?

Thank you.



Y-Phil ( ) posted Tue, 05 July 2022 at 4:08 AM
Online Now!

In your case, the method "Geometry()" is not for the module named "poser". This is Python: each function must be related to the object.

If you would like to learn and test, you may launch Poser's Python shell (Menu: Scripts) and test each line of Python.
One function to know: dir(...), which lists the methods available for the object.
Example in your case: dir(actor)
And when you type the object and the method, Poser will display the parameters and a description as soon as you enter the opening parenthesis:

8GglRiomBhoOAoT83oQyZOjbcWg5vnJJrpNRVVa4.png

π’«π’½π“Žπ“


(っ◔◑◔)っ

πŸ‘ΏΒ 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 ❀️


Y-Phil ( ) posted Tue, 05 July 2022 at 4:10 AM
Online Now!

Poser's Python isΒ  based on wxPython, more informations on wxPython here.

π’«π’½π“Žπ“


(っ◔◑◔)っ

πŸ‘ΏΒ 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 ❀️


Tekitoumen ( ) posted Wed, 20 July 2022 at 11:36 PM

Sorry for replying late.


The problem has been resolved.

Thank you for your kindness.


Y-Phil ( ) posted Thu, 21 July 2022 at 3:52 AM
Online Now!

You're welcome :-)

π’«π’½π“Žπ“


(っ◔◑◔)っ

πŸ‘ΏΒ 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 ❀️


Privacy Notice

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.