2 Replies Latest reply on Jul 25, 2011 1:25 PM by Brad Whitten

    how to rename active config to default?

    Brad Whitten

      Hello, I am running 2011 SP4.

       

      I was hoping someone could help me out and tell me how to rename the active (and only) configuration to 'Default'.

       

      I found this command: Part.EditConfiguration3

      This should allow me to rename the configuration however I'm not sure how i should be getting the active configs name.  I tried variations of Model.IGetActiveConfiguration.Name, CurrentDoc.IGetActiveConfiguration.Name, Part.IGetActiveConfiguration.Name etc.  Also I am not sure that I am using that command correctly, should i be doing something like this:

       

      Set ConfigName = Model.IGetActiveConfiguration.Name

      Part.EditConfiguration3 ConfigName, "Default", "", "", 0      'Rename existing config to default

       

      any help would be much appreciated.

       

      Thanks