Insert in Plane

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/04/2012 at 02:08, xxxxxxxx wrote:

Many objects in C4D to have the option exist in a certain plane

XY - ZY - XZ

Rather than reinvent the wheel - has anyone been down this route before an worked out a function?

Or is it  a case of using one of the  Matrix rot options 
c4d.utils.MatrixRotX( w )

and resetting the axis?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/04/2012 at 03:36, xxxxxxxx wrote:

Hi, you could create a new object of it by BaseList2D(op.GetType()) and copy the value of the corresponding ID.

op[c4d.PRIM_AXIS] = copy[c4d.PRIM_AXIS]

Cheers, Sebastian

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/04/2012 at 08:18, xxxxxxxx wrote:

Thanks for the feedback Sebastian