Does scaling also include in transformation ?

Hi,

I have got a shared cell which contains extended elements(type 106). In my mdl code, I am getting the transformation matrix of the shared cell and applying it on all the extended elements in the shared cell. But the they got transformed incorrectly. Is there any thing I missed ?

Regards,

Rup

Parents
  • Unknown said:
    I am  applying [the transformation] to all the extended elements in the shared cell

    What do you want to achieve?

     
    Regards, Jon Summers
    LA Solutions

  • I want to display the shared cell containing extended elements correctly in my software.

    Actually when I use the mdl function to read the shared cell, I am setting the flag "transformToWorld " to "TRUE". But this is not getting applied to AutoPLANT extended elements(extended elements that comes from autoplant). But this is getting applied to ordinary extended elements.

    mdlSharedCell_read  

    (

    &pNewElemDescr ,

    pMSElement ,

    TRUE ,//BoolInt       transformToWorld ,

    m_pDgnModelRef ,

    FALSE //BoolInt       expandNested  

    );

    So I want to know how to distinguish the AutoPLANT extended elements.

    Regards,

    Rup

Reply
  • I want to display the shared cell containing extended elements correctly in my software.

    Actually when I use the mdl function to read the shared cell, I am setting the flag "transformToWorld " to "TRUE". But this is not getting applied to AutoPLANT extended elements(extended elements that comes from autoplant). But this is getting applied to ordinary extended elements.

    mdlSharedCell_read  

    (

    &pNewElemDescr ,

    pMSElement ,

    TRUE ,//BoolInt       transformToWorld ,

    m_pDgnModelRef ,

    FALSE //BoolInt       expandNested  

    );

    So I want to know how to distinguish the AutoPLANT extended elements.

    Regards,

    Rup

Children