Enhancements in the SolidWorks 2012 Application Programming Interface (API) are the ability to:
- Determine whether any buttons of a CommandGroup are enabled.
- Get and set the faces to exclude from Flat-Pattern
features.
- Add objects to selection lists without preselecting them through the user interface.
- Sort bill of materials, hole, weldment cut list, and general tables.
- Specify equal spacing between pattern instances in circular pattern features.
- Insert DXF/DWG image features into a part or drawing.
- Select chains of entities attached to sketch segments.
- Close drawings without unloading their references from memory and reopen them.
- Isolate changed dimensions.
- Specify configuration names when setting the files to open in response to SolidWorks events.
- Specify a rebuild option when activating documents.
- Get system information.
- Suppress multiple notifications while dragging or spinning the slider of number boxes on PropertyManager pages.
- Anchor notes.
- Automatically insert center marks.
- Specify the math transform to use in interference detection.
- Get and set display modes, visual properties, transparency states, and visibility states of specified components in specified display states for a specified scope.
- Specify balloon options when creating balloon, auto balloon, and stacked balloon annotations.
- Get the number of virtual sharp witness lines and their geometry data.
- Insert magnetic lines in drawing sheets.
- Insert bend table annotations in drawing views.
- Modify, insert, and delete the features, components, and reference entities of Smart Components.
- Specify whether to color section view caps.
- Get the fixed face of Flatten-Bends
features.
See SolidWorks 2012 API Help Release Notes for late-breaking updates.