Create a nullobjet

On 03/07/2014 at 08:33, xxxxxxxx wrote:

Hi,
I'm looking for the command to create a nullobject.
In the documentation i find Spline, Camera, ...
But not a nullobject.

thanks a lot

On 03/07/2014 at 15:31, xxxxxxxx wrote:

OK,
I found it by myselve 🙂

  
obj = c4d.BaseObject(c4d.Onull)          
obj.SetMg(m)   
doc.InsertObject(obj)   

On 04/07/2014 at 03:19, xxxxxxxx wrote:

No need to add "obj.SetMg()".
The null is automatically placed at 0,0,0.
Also best to add at the end "c4d.EventAdd()".

On 04/07/2014 at 04:09, xxxxxxxx wrote:

Hi PGROOF

Thanks for yout answer
I want to set the possition of the obj

In my second post i askt how to define the matrix

obj.SetMg(Matrix)
Thanks