HPBToMatrix(hpb,order error)



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

    On 26/05/2011 at 05:03, xxxxxxxx wrote:

    Hi.
    Going thru Matrix utils options I need to check if this is correct.

    Using HPBToMatrix(hpb,order),
    When putting the numeric options ("ROT_YXZGLOBAL" etc)
    as order, I get "not defined" (I have utils imported)

    I can put any integer there (even higher than the 12 options)
    and to me it make no difference?

    Also in SDK it say order is vector but as above it should be integer,right?

    Cheers
    Lennart



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

    On 01/06/2011 at 09:16, xxxxxxxx wrote:

    Please check this out:

    import c4d
    from c4d import utils
    utils.HPBToMatrix(c4d.Vector(1,2,3),c4d.ROT_YXZGLOBAL)



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

    On 03/06/2011 at 08:58, xxxxxxxx wrote:

    Tops Sebastian, will try it out asap.

    Cheers
    Lennart


Log in to reply