Votes
0
Product:
iClone 7
Version:
7.41
Status:
Assigned
Issue 6062
Clones don't have SetPivot function.
I can't set a clone's pivot, while GetPivot function works fine, here's the test code:

def test(event):
name = "Box_001"
obj = RLPy.RScene.FindObject(RLPy.EObjectType_Prop, name)
print(obj.GetPivot)
try:
print(obj.SetPivot)
except:
print("err")
clone = obj.Clone()
print(clone.GetPivot)
try:
print(clone.SetPivot)
except:
print("err clone")



output:

<bound method RIObject.GetPivot of <RLPy.RIProp; proxy of <Swig Object of type 'RO::RIPropPtr *' at 0x0000024489C47720> >>
<bound method RIProp.SetPivot of <RLPy.RIProp; proxy of <Swig Object of type 'RO::RIPropPtr *' at 0x0000024489C47720> >>
<bound method RIObject.GetPivot of <RLPy.RIObject; proxy of <Swig Object of type 'RO::RIObjectPtr *' at 0x0000024489C47C60> >>
err clone
OS: Windows 10
  •  0
  •  843
Submitted byalikims
COMMENTS (0)