2 Replies Latest reply on Dec 24, 2017 2:29 AM by Masaya Nishida

    Can I get Component2 from Refplane?

    Masaya Nishida

      I want to get Component2 object, which a Refplane directly belongs to, track from a RefPlane object,

      is there any way to do it?

      I could cast up RefPlane -> Entity, but IEntity.getComponent method doesn't work from a plane entity

      and now I have no idea what to try next.


      The purpose is,

      I'm writing a macro to check parallel from 2 planes.

      Succeeded if the two planes in a part,

      but in Assembly I find that I have to consider part itself orientation if the target plane belongs to a part.

      Any kind of advice appreciated, I'll try.