ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SGSilas Gumann06/02/2025

Hello,

I'm using SOLIDWORKS Connected 2025. I've been experimenting with macros and would like to know if there's a way to export all dimensions of the parts in an assembly to an Excel file.
Here is this what ChatGPT got up to me:
 

Dim swApp As SldWorks.SldWorks
Dim swModel As SldWorks.ModelDoc2
Dim swAssembly As SldWorks.AssemblyDoc
Dim swComponent As SldWorks.Component2
Dim swPart As SldWorks.PartDoc
Dim