Sun, Nov 24, 2:02 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 24 1:33 pm)



Subject: Python Script to Unparent A Light?


Latexluv ( ) posted Sun, 25 January 2009 at 5:15 PM · edited Sun, 24 November 2024 at 1:23 PM
Online Now!

Is there such a script? Or do I have to manually delete the light and recreate it? Thanks for any info you can give me!

"A lonely climber walks a tightrope to where dreams are born and never die!" - Billy Thorpe, song: Edge of Madness, album: East of Eden's Gate

Weapons of choice:

Poser Pro 2012, SR2, Paintshop Pro 8

 

 


markschum ( ) posted Sun, 25 January 2009 at 5:28 PM

select the light, and from the properties panel, there should be a buton to change or set parent , use UNIVERSE . Ot open the hierarchy panel and drag your prop and drop it on UNIVERSE at the top .

parenting it to Universe is the same as unparenting .


Latexluv ( ) posted Sun, 25 January 2009 at 6:19 PM
Online Now!

Thank you, a friend showed me how to do that last night, but I have a large set of HDRI lights I made where one of the lights is parented to the figure but I've decided to change that idea and go with just the Point At function and I wanted to sort of batch unparent the light sets.

"A lonely climber walks a tightrope to where dreams are born and never die!" - Billy Thorpe, song: Edge of Madness, album: East of Eden's Gate

Weapons of choice:

Poser Pro 2012, SR2, Paintshop Pro 8

 

 


markschum ( ) posted Sun, 25 January 2009 at 10:31 PM

ahh, ok , thats not a problem , script for you soon , unparent ALL lights ?


markschum ( ) posted Sun, 25 January 2009 at 11:10 PM

file_422589.txt

ok, heres the script.

For all lights , it checks if they are parented to something , and if they are it unparents them .
There seem to be some bug in changing parenting by script, but give it a try. 

rename the script from .txt to .py


Latexluv ( ) posted Mon, 26 January 2009 at 2:34 PM
Online Now!

Thank you so much!!!! I saved that to my computer and will try it out later. Got a Doctor's appointment. This was so kind of you,  thank you so much!

"A lonely climber walks a tightrope to where dreams are born and never die!" - Billy Thorpe, song: Edge of Madness, album: East of Eden's Gate

Weapons of choice:

Poser Pro 2012, SR2, Paintshop Pro 8

 

 


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.