9 Replies Latest reply on Jul 7, 2014 10:40 PM by Cloud Strife Pom Cloud Strife Pom

    help me understand making selections

    Chris Johnson

      Hi all,


      im having a little trouble understanding the best way to select a sketch segment after i have created it.


      if I create a sketch segment and then clear the selection, how do I re-select the line again?



      Dim lineX As Object


      Set lineX = swModel.SketchManager.CreateLine(0#, 0#, 0#, 0#, -0.029145, 0#)

          swModel.ClearSelection2 True


      I want to be able to name the segment something like "X" and then be able to come back later and select it again so that i can do things like add a dimension to it or whatever..

      same goes for dimensions that I have created and renamed


      thanks for your help!