ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SRSuleiman Rehmani12/12/2024

Hi,

Trust you are well.

I am working on a procedure that automatically adds BOM levels to components depending on certain sub-assembly properties computed during run-time..

The number of levels to add is being stored in a global variable, but I am unable to run a for loop becuase the moment I add a level to the component using MakeAssemblyFromSelectedComponents, all references to the component are lost,