2 Replies Latest reply on Sep 25, 2018 1:58 PM by Dave Paul

    Cannot set a feature to a "MirrorPatternFeatureData" object

    Dave Paul

      I am manipulating assembly pattern data.  The macro works well for local and derived patterns.  I would like to add a mirror components to the macro.

      I have a feature that claims to be of a Mirror component type (swFeature.GetTypeName2 = "MIRRORCOMPFEAT")

       

      Private Sub ProcessMirrorPatternDefinition(swFeature As Feature, swModel As ModelDoc2)

      Dim mirrorDef As SldWorks.MirrorPatternFeatureData

      Set mirrorDef = swFeature.GetDefinition  (this sets the mirrorDef to "nothing")

       

      I have tried a number of types of mirror objects with no change.

       

      All thoughts are appreciated - Dave