Hide Table of Contents

Application Programming Interface

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

SolidWorks 2014 includes the ability to:

  • Access mirror part feature data.
  • Access flat-pattern folders in the FeatureManager design tree.
  • Access sheet metal folders in the FeatureManager design tree.
  • Access Fill Pattern feature data.
  • Insert a Variable Pattern feature in the FeatureManager design tree.
  • Create a new part document that mirrors another part document about a selected reference plane or planar face.
  • Select assembly components by percent of assembly size.
  • Get better error reporting when getting, setting, adding, or deleting custom properties.
  • Attach an existing annotation to a drawing sheet or view.
  • Replace the model in selected drawing views.
  • Get library feature reference names.
  • Get and set whether a part is a SolidWorks Toolbox part.
  • Get a return code after rebuilding an assembly or drawing.
  • Get and set the property values for a sunlight source.
  • Access SolidWorks CommandManager tabs:
    • Get all of the tab names.
    • Get and set the visibility of tabs.
    • Get and set the active tab.
    • Get and set the index of tabs.
    • Send notification when a tab is about to be activated for:
      • Assembly document.
      • Drawing document.
      • Part document.
  • Get and set whether to generate a graphics-only section view.
  • Get and set whether to override default sheet metal feature parameters.
  • Get and set whether to use a sheet metal feature gauge table.
  • Get the actual entities associated with a sketch relation.
  • Save various aspects of a part (sheet metal, faces, loops, and annotation views) to one or more DXF/DWG files, preserving the specified filename.
  • Get and set the text format and font size of callouts.
  • Change standard model views and reset them to their default settings.
  • Get all visible entities, including silhouette edges, in drawing views. 
  • Send notification when a document is printed. 
  • Get the persistent ID of:
    • Component.
    • Feature.
  • Change dimension tolerance values in specific configurations in a multi-configuration part or assembly.
  • Derive the hole series feature data interface from IDispatch instead of IUnknown.
  • Insert general table annotations in part and assembly documents.


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: 2014 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.