solidworks api problem?

i made a recorded macro( extruded boss and Cosmetic Thread and finally extruded boss)
when i tested the macro program, there is err about finally extruded boss

is there any one help me?

2 Answers

IslamCE, I would need to know what error you are getting or the macro file itself to help you. Could you please share it?

If you are new to SolidWorks API programming then you might enjoy our free SolidWorks API tutorials at www.CADSharp.com.

If you're encountering an error related to the final extruded boss in your recorded macro, there could be a few potential causes. Here are a few suggestions to help you troubleshoot and resolve the issue:

Check the feature order: Ensure that the recorded macro is creating the features in the correct order. It's possible that the final extruded boss may be dependent on the Cosmetic Thread feature, which means the order of feature creation is important. Make sure the thread feature is created before the final extrusion.

Verify feature parameters: Double-check the parameters and inputs used in the final extruded boss feature. Ensure that all necessary parameters, such as dimensions, references, and options, are correctly specified. Any discrepancies or missing information could cause errors during execution.

Regards,
Rachel Gomez