Hide Table of Contents

Application Programming Interface

SolidWorks 2013 includes the following functionality:

  • Microsoft® Visual Basic® for Applications (VBA) programming language, one of the programming languages available to record, edit, and run macros in SolidWorks, has been upgraded to support both 32-bit and 64-bit data types.
  • SolidWorks primary interop assemblies created with Microsoft .NET Framework:
    • Version 2.0 are in install_dir\api\redist\CLR2. This is the version of primary interop assemblies to use with SolidWorks VSTA (VB.NET and C#) macros.
    • Version 4.0 are in install_dir\api\redist.
  • Both SolidWorks Costing and SolidWorks Sustainability include APIs.

Other major enhancements include the ability to:

  • Insert cosmetic weld beads and access their feature data and folders.
  • Get the direction vectors of connection points.
  • Get or set whether to display a ruler when the drag arrow manipulator moves.
  • Get or set whether to allow the unidirectional drag arrow manipulator to change direction when dragged past length = 0.
  • Create a forming tool feature with a point of insertion.
  • Add display dimensions to a macro feature.
  • Get or set whether to apply the appearance of material.
  • Insert revision cloud annotations into drawings.
  • Create a conic curve in the active sketch.
  • Get the direction of a bend in sheet metal.
  • Get or set the background processing option and handle background processing events for drawings.
  • Handle drawing sheet activation events.
  • Hide Undo operations.
  • Specify the type of numbering and whether to show the detailed cut list in indented BOM tables.
  • Get or set the state of the flyout FeatureManager design tree.
  • Make a component virtual by saving it in an assembly.
  • Vary individual instances of linear and circular feature patterns.
  • Get the unique name of a section view.
  • Get or set the transparency level of unmodified components in assemblies opened in Large Design Review mode.
  • Create a SpeedPak configuration that includes all faces and a specified threshold of parts or bodies for the active configuration.
  • Copy appearances to the clipboard and apply them to faces, features, bodies, components, and parts.
  • Merge bend tags in drawings of sheet metal parts.
  • Get or set the text format of bend notes in the drawing views of sheet metal parts.
  • Place the selected note, located on the sheet format, behind the drawing sheet.
  • Insert a note that contains all of the cut list item properties of a sheet metal part.

See SolidWorks 2013 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: 2013 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.