[Closed] Assume Skin Pose Help
Hi guys!
I´m new in the world of MaxScript and I need help about Assume skin pose fuction; I have used the assume with maxscript and work ok, but I´ve got a question, I don´t know how detect if an object has assume skin pose execute or no.
I searched in forum threads about this and I just found a post about skin pose, but only talked about use it in a rig system of bones.
Thanks in advance!!
Hi Nacho, welcome to the forum
you can use the skinpose interface to get this info and set it.
on a selection of object call –
for o in selection do o.assumeSkinPose()
you also have
o.skinPosEnabled
o.skinRotEnabled
o.skinScaleEnabled
This is a boolean expression, so calling these will return whether is is enabled on the object in question –
so to check there is a skin pose enabled before you do –
for o in selection do
if o.skinPosEnabled or o.skinRotEnabled or o.skinScaleEnabled then o.assumeSkinPose()
Thanks LoneRobot!
I was testing that solution with skinPosEnabled but when you create an object in scene of Max this value is always true, althougth the object hasn´t got set assume skin pose “activated”.
could I the option of skinposenabled change it to false by default in the objects created¿?
thanks man!
yes, all the properties for this are read/write so setting
.skinposenabled = false
would turn it off if it was on.