1 Reply Latest reply on Nov 3, 2013 6:12 AM by Oleg Bezyaev

    Get center of component (or component face) in drawing

    Oleg Bezyaev

      Hi all.

      In the document drawing I got a list of components:

      int compCount = swView.GetVisibleComponentCount();

      object[] vComps = swView1.GetVisibleComponents();

      Component2 myCurrentComponent2 = (Component2)vComps[i];

      Is it possible to get the centers of these components with the conversion to the drawing?

      (CenterOfMass get wrong points)