Hi everybody!
After upgrade to 2025 SP0 the macro started working with errors:
public void ShowDescriptionTree()
{
ModelDoc2 swModel;
FeatureManager swFeatMgr;
swModel = (ModelDoc2)BaseObject.ActiveDoc;
swFeatMgr = (FeatureManager)swModel.FeatureManager;
if (!swFeatMgr.ShowComponentNames)
swFeatMgr.ShowComponentNames = true;
if (!swFeatMgr.ShowComponentDescriptions)
swFeatMgr.ShowComponentDescriptions = true;
if (swFeatMgr.ShowComponentConfigurationNames)
swFeatMgr.ShowComponentConfigurationNames = false;
swFeatMgr.ShowComponentConfigurationDescriptions = false;
swFeatMgr.ShowDisplayStateNames = false;
swFeatMgr.ShowFeatureDescription = true;
swFeatMgr.ShowFeatureName = true;
swFeatMgr.HideComponentSingleConfigurationOrDisplayStateNames = true;
}
Here is the result:
But I need it to be like this:
Has anyone come across this?