Forum: Poser Technical


Subject: using readScript like an include (a different take on it)

_dodger opened this issue on Jun 26, 2003 ยท 26 posts


_dodger posted Sat, 28 June 2003 at 10:00 AM

I'm currently trying to find a way to delete a figure with a pose file. You can't. You can't delete anything with a pose file. You can turn it off. If your'e concerned about memory usage and want to free geometry memory, you can also give the figure hidden alternateGeom channels in everything and replace them by pointing at a blank OBJect with a pose. That is definitely worth testing, but it depends on Poser's geometry caching mechanism -- whether it memoises (tech term, not a mis-spelling) geometry in an alternateGeom or not. Even deleting the figure on one of my omnilights (or Les') woon't remove the lights, it'll just set them free. And those lights are body parts. Technically speaking, Python doesn't ask Poser questions, it just has a pointer to the same data stucture with read/write permission. Hrm -- can Python call external executables in the Poser environment or is it restricted? If it can, then I could get python to use Perl. I spose I should look into just figuring out how to make a Perl plugin for poser -- though I don't know if this is possible.