Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
sorry. I checked it and it didn't work....
After importing in python,
actor = scene.Actor("target_name")
scene. SelectActor(actor)
scene. DrawAll()
After recognizing the model like this, exporting from Python fails.
When I do the export, I get an obj file, but it's 0 bytes in size.
Since actor.Delete() succeeds, I think Poser is aware of the model.
What am I missing to recognize the model from python as well as the GUI?
Thank you.
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.
Hello.
I have a question about exporting from python.
I want to do import->edit model->export in python.
Exporting from python with the model open and selected in Poser succeeds.
But the following process fails.
・The model is not displayed in Poser(Poser has no model selected)
・Import the model with python
・Export this model with python
(The file is output, but it is 0 bytes in size)
If What do I need to export in python for a model imported in python?
you know how to solve this problem please let me know.
Thank you.