I have recently displayed the designation of my parts in the "Feature Manager" creation tree. For new assemblies, no problem, the modification is made in the .asmdot, but when I take old assemblies, I am forced to proceed as follows: click on "mount component descriptions":
But is there a way to apply this change to a folder through the Integration or Batch Propeties utility?
You can make a macro via the recorder. You ink it, the recording and do the manipulation, then stop, and there you record it and play it... when opening an old ASM you will only have to launch the macro and save the ASM...
Have you tried macro recording? You will have to launch it each time old files are opened but it will be one click to launch it against 3 or 4 in manual mode.
Create a macro and replace code with the one below then run it in bulk with the integration tool.
Philippe
Option Explicit Dim swApp As SldWorks.SldWorks Dim Part As SldWorks.ModelDoc2 Sun SelMgr As SldWorks.SelectionMgr Dim swFeatMgr As SldWorks.FeatureManager Sub main() Set swApp = Application.SldWorks Set Part = swApp.ActiveDoc Set SelMgr = Part.SelectionManager Set swFeatMgr = Part.FeatureManager
' Show Component Descriptions is set to true swFeatMgr.ShowComponentDescriptions = True ' Show Component Configuration Names is set to false swFeatMgr.ShowComponentConfigurationNames = False ' Show Component Configuration Descriptions is set to false swFeatMgr.ShowComponentConfigurationDescriptions = False ' Show Component Names swFeatMgr.ShowComponentNames = True