SolidWorks Express
API TIP: What's New in the SolidWorks API 2010
 

The major enhancements to the SolidWorks API 2010 are as follows. Select Help > API Help > SolidWorks API Help > SolidWorks API > Release Notes in an active session of the SolidWorks software for details about these enhancements and links to the relevant Help topics.

  • Create constraint-based reference planes.
  • Access DimXpert features.
  • Include attributes in library features.
  • Get the type and name of an interactively selected feature in the model document.
  • Access tangent lines associated with bend lines in drawings of sheet metal parts. 
  • Get an array of mates for a component.  
  • Specify alignment of axes when inserting a coordinate systems mate.
  • Find the corresponding faces, edges, and vertices in a folded and flattened sheet metal part.
  • Fire notifications:
    • Before and after undo and redo operations in parts, assemblies, and drawings.
    • When interactive users preselect entities in parts, assemblies, and drawings.
    • After all SolidWorks graphics are drawn.
    • After rebuilding or rolling back an assembly document.
    • After selecting components for Quick View/Selective Open.
    • When third-party applications automatically save documents to IStorage.
    • When starting or stopping the dragging of an Instant3D manipulator in assemblies or parts.
  • Compare two persistent reference IDs to determine if they point to the same SolidWorks data.
  • Create bubble ToolTips for PropertyManager page controls.
  • Add and modify graphics-area dimensions in circular and linear sketch patterns.
  • Add components according to specific configuration options to assembly documents. 
  • Copy components with mates to an assembly document. 
  • Get and set pick points for lofts.
  • Add and purge display states and fire notifications when a display state changes.
  • Create equations for 2D explicit, 2D parametric, and 3D curves.
  • Delay solving equations until all equations have been added.
  • Get or set a component reference.
  • Box-select entities.
  • Include specifying the distance from the section line from the section view.
  • Determine if a sketch is derived.
  • Insert a route line in an explode line or 3D sketch.
  • Rotate or copy 3D sketch entities about a vector or x, y, and z coordinates.
  • Add smart components, insert virtual components, and insert virtual assemblies in assemblies.
  • Create a new assembly from preselected components and save it to an external file.
  • Insert a title block table in a part or assembly.
  • Get sheet and configuration persistent reference IDs.
  • Create a loft body using specified parameters instead of using interactive-user selections.
  • Hide table columns.
  • Rename tags in hole tables.
  • Get the UV parameters of a curve or face.
  • Access feature statistics. 
  • Insert weldment features without preselecting faces and bodies. 
  • Insert sheet metal base flanges in a multi-body sheet metal part.
  • Insert mate references that align with the axes of the coordinate system or origin. 
  • Get a component in the context of the top assembly after getting the component in the context of a subassembly, and get a component in the context of a subassembly after getting the component in the context of the top assembly. 
  • Handle focus events for PropertyManager page controls (combo box, edit box, list box, and number box).
  • Use PNG images as PropertyManager bitmap buttons.
  • Open advanced dialogs when opening documents.
  • Export parts to DXF/DWG files. 
  • Save a part or assembly as a de-featured part. 
  • Get last save error issued by Microsoft.
  • Project and display dimensions along x, y, and z axes for selected points in a 3D sketch. 
  • Rotate and translate Move Face features.
  • Get solid-fill hatch information in detail, broken, and crop views.
  • Get sketch pictures imported into a view when a drawing is created from a part.
  • Customize the sizes of balloons.
  • Hide a BOM table when inserting it in a part, assembly, or drawing.
  • Get the transform of an instance of a pattern or mirror solid feature.
  • Set and remove textures by display states on bodies, faces, and features.
  • Okay and close a PropertyManager page, or move to the next selection box, after making a selection in a PropertyManager page.
  • Get or set focus on a control on a PropertyManager page.
  • Get or set which bodies of a multibody part to show in a drawing view.
  • Create user-defined popup menus and context-sensitive menu icons for C++ applications only.
  • Create multiple types of macros (VBA, VB.NET, and C#) when recording a macro.

 

 
 
 
>> SIGN UP for SolidWorks Express Newsletter and get the tips and tricks delivered into your inbox every two weeks!