Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SJSven Jupp17/01/2025
When using ModifyDefinition to update a mate in an assembly, when I use the ModifyDefinition for a second time it causes solidworks to crash when i come to close the assembly that the macro ran on.
This is how I am using the ModifyDefinition:-
Dim swAssembly As SldWorks.AssemblyDoc
Set swAssembly = swModel
Set swFeat = swModel.FirstFeature
While Not swFeat Is Nothing
'If swFeat.Name = "CylFreeStroke"