THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/11/2012 at 05:16, xxxxxxxx wrote:
I have an object I want to extrude.
So I create an Extrude Nurbs object and then insert it with doc.InsertObject(extrudeobj)
But how to insert it as parent of the selected object?
adding parent=tobject is not correct, because it is then inserted as a child instead as a parent.
In fact I want to simulate the ALT + Extrude Nurbs command
Clicking the Extrude Nurbs command while pressing down the ALT key on the keyboard.
On 16/11/2012 at 05:50, xxxxxxxx wrote:
If you're working on the job that I think you're working on, there's still quite a bit of ground to cover.
Just do it "manually" :
def extrudeSpline(spline) :
extrude = c4d.BaseObject(c4d.Oextrude)