This website uses cookies to ensure you get the best experience on our website. By using our website you agree on the following Cookie Policy, Privacy Policy, and Terms Of Use
SOLIDWORKS macros work correctly independently but failed to work when merged to one. Possibly, the error is displayed: Run-time error '424': Object required
Check the state of variables. Hover the mouse and see if it is not shown as *Nothing *in the tooltip.
Make sure that the correct portion of the macro is copied
Make sure that required initialization is copied as well (if applicable)
Make sure that the variables naming is consistent
Notifications
Join session by SOLIDWORKS and PDM API expert Artem Taturevych at 3DEXPERIENCE World 2026 on Wednesday, Feb 4 at 08:30 AM CST to explore 10 essential macros for automating drawings, assemblies, custom properties, and more