Forum: Poser Python Scripting


Subject: How to duplicate an actor and add to scene?

OberonRex opened this issue on Oct 15, 2023 ยท 6 posts


Bastep posted Sun, 15 October 2023 at 11:28 AM

You must not use the name "Pillar3", you must use the real object.

import poser

realpillar3object = poser.Scene().ActorByInternalName("Pillar3internname")
#-- the string Pillar3internname is only an example, you have to replace #-- it with the real internalname.
#-- The method ActorByInternalName returns #-- the real object.
poser.Scene().SelectActor(realpillar3object)
poser.ProcessCommand(1568)

You can find the internal name in the propertie panel: