0 Replies Latest reply on Mar 29, 2016 4:41 AM by Jürgen Vogt

    swFeat.ModifyDefinition won't work

    Jürgen Vogt

      Hello community,

       

      this is my first question here. My experience in solidworks and in it's api is very poor but every day I am learning more and more of that stuff.

       

      At the moment I am stuck on the following example.

      Get Points of Repeating Elements in Table-driven Pattern (VB.NET)

      http://help.solidworks.com/2015/english/api/sldworksapi/Get_Points_of_Repeating_Elements_in_Table-driven_Pattern_Example_VBNET.htm

       

      More precisely... When I change the command from

       

      swTablePatternFeatData.ReleaseSelectionAccess()

       

      to

       

      swFeat.ModifyDefinition(swTablePatternFeatData, swModel, Nothing)

       

      I would imagine that the new coordinates of the drill holes are stored in the drawing but that isn't so. Why? Are there one or more commands necessary to save the changes?