Josiah opened this issue on Nov 19, 2002 ยท 3 posts
Josiah posted Tue, 19 November 2002 at 7:27 PM
I know you cannot delete elements of a mesh figure, such as an arm or finger, But what about magnets? If you delete the base, the magnets heirarchy is also deleted. How can I delete the base?
I think the code below should work by looking at all the actors and deleting any magnet base it finds, however the closest function for deleting it I could find is "DeleteCurrentProp()". Needless to say, it dosen't work!
############################
scene = poser.Scene()
actor = scene.Actors()
~for actor in actors:
~~try:
~~except:
~~~pass
~~else:
~~~actor = scene.CurrentActor()
~~~scene.DeleteCurrentProp()
############################