Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SVSanthosh Vuppala18/06/2024
I found one macro in code stack. this macro will give x,y,z dimensions with all components in the assembly.
Can any one help me to modify the code.
- I want only x dimensions in the output excel file
- I want only selected components in the output excel file.
Macro:
Const OUT_FILE_PATH As String = "D:\locations.csv"
Const CONV_FACTOR As Double = 1000 'meters to mm
Dim swApp As SldWorks.SldWorks
Sub main()
Set