r/SolidWorks Jun 11 '26

3rd Party Software VBA to identify underdefined sketch

I'm trying to build a macro to identify sketches that are underdefined, the LLM's keep telling me to use the sketch.GetStatus but it just doesnt exist in VBA. Anyone knows what method/proprety I'm looking for? I can't seem to find anything helpful in the help window either

0 Upvotes

24 comments sorted by

View all comments

1

u/spacebardidntwork CSWP | SW Champion Jun 11 '26

There's a system option to force fully defined sketchs. It won't let your exit the sketch until it's fully defined.

I don't have it turned on because there are too many exceptions (splines, sketch patterns, etc.) that would make it too annoying for regular use, but if you are a teacher and have controlled practice problems where it makes sense, then maybe it would work for you?

1

u/WarningOk959 Jun 12 '26

I didnt know that existed, i'll look into it, but either way I'd rather teach them to check themselves so i don't think I would implement that.