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 macro was recorded by Macro Recording Tool and requires some selections to be made (usually for feature creation or mating). When running the macro the selection may fail or different object is selected which is causing the macro misbehavior.
Cause
Usually macro recording is using the IModelDocExtension::SelectByID2 SOLIDWORKS API method to capture the selection. This method may use temporarily names (like sketch segment names) or coordinates for selection which might not be consistent across different models or view orientations.