Creating packed primitives with python

   1881   0   1
User Avatar
Member
224 posts
Joined: June 2009
Offline
Hi all,

I am trying to create a packed prim with python.

I can do this:
packed = geo.createPacked('PackedGeometry')

But how do i add some polygons to this thing?

This does not work
packed.setEmbeddedGeometry(my_pgons)

It says
TypeError: in method ‘PackedGeometry_setEmbeddedGeometry’, argument 2 of type ‘HOM_Geometry &’

Patrick
Patrick
  • Quick Links