Hide Table of Contents

Application Programming Interface

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 FM_Flat-Pattern.gif 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 FM_SHM_flatten_bends.gif features.

See SolidWorks 2012 API Help Release Notes for late-breaking updates.



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Application Programming Interface
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.