ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MTMark Tautzenberger06/03/2025

Hi, 

I traverse all components in the active document's tree and assign a value to each component with the code below

As container I use the same modelDoc.

The code works, but is very slow. Is there any possibility of improving the performance?

I have already tried "FeatureManager.EnableFeatureTree = false" but it didn't help a lot

public void SetID(dynamic component, string value)
{
SolidWorks.Interop.sldworks.Parameter