3 Replies Latest reply on May 28, 2015 7:12 PM by Keith Rice

    How To Display Relation Names

    Jacob Filek

      How can I display relations in an active sketch like this...

      DisplayRelations.JPG

       

      I'm using:

       

      vSkRelArr As New Object

      vSkRelArr = swSkRelMngr.GetRelations(swSketchRelationFilterType_e.swAll)

      For Each vRel As SketchRelation In vSkRelArr

      vRel.GetRelationType

      Next

       

      I can get the relation type but how do i get the relation name? eg. "Perpendicular111"

      I'm on SolidWorks 2012 SP5.0

       

      thanks