This topic provides you with quick access to the enhancements in SOLIDWORKS API 2019.
Service Pack 4
New methods
ISketchManager Interface
Obsoleted methods
ISketchManager Interface
Service Pack 1
New methods
IDisplayData Interface
IModelDocExtension Interface
Obsoleted methods
IModelDocExtension Interface
Back to top
Service Pack 0
New and changed functionality
Complete redesign of the assembly mate API
- The new design allows you to create an assembly mate with a smaller subset of parameters and then extend or modify it using a mate-specific feature data object.
- SOLIDWORKS 2019 completes the redesign with new standard and mechanical mate APIs. See ICamFollowerMateFeatureData, ICoincidentMateFeatureData, IConcentricMateFeatureData, IGearMateFeatureData, IHingeMateFeatureData, ILockMateFeatureData, IParallelMateFeatureData, IPerpendicularMateFeatureData, IRackPinionMateFeatureData, IScrewMateFeatureData, ISlotMateFeatureData, ITangentMateFeatureData, and IUniversalJointMateFeatureData.
- SOLIDWORKS 2018 redesigned the advanced mate APIs: See IAngleMateFeatureData, IDistanceMateFeatureData, ILinearCouplerMateFeatureData, IProfileCenterMateFeatureData, ISymmetricMateFeatureData, and IWidthMateFeatureData.
- IAssemblyDoc::CreateMate now supersedes IAssemblyDoc::AddMate5.
- IAssemblyDoc::EditMate4 is now obsolete. Read the Remarks in each standard, advanced, and mechanical mate feature data interface to learn how to edit respective mates in the new design.
- Get or set whether an angle or distance mate is a limit mate. See IAngleMateFeatureData::IsAdvancedMate and IDistanceMateFeatureData::IsAdvancedMate.
- Get the error status of an assembly mate. See IMateFeatureData::ErrorStatus.
Complete redesign of the pattern feature API
- The new design allows you to create a pattern feature with a smaller subset of parameters and then extend or modify it using a pattern-specific feature data object.
- The following pattern features (pattern-specific feature data objects) are affected by this redesign:
- Chain component (IChainPatternFeatureData)
- Circular (ICircularPatternFeatureData)
- Circular component (ILocalCircularPatternFeatureData)
- Curve-driven (ICurveDrivenPatternFeatureData)
- Curve-driven component (ILocalCurvePatternFeatureData)
- Derived-driven (IDerivedPatternFeatureData)
- Fill (IFillPatternFeatureData)
- Linear (ILinearPatternFeatureData)
- Linear component (ILocalLinearPatternFeatureData)
- Sketch-driven (ISketchPatternFeatureData)
- Sketch-driven component (ILocalSketchPatternFeatureData)
- Table (ITablePatternFeatureData)
- Variable/Dimension (IDimPatternFeatureData)
- IFeatureManager::CreateDefinition and IFeatureManager::CreateFeature now supersede the following pattern feature creation methods:
- IAssemblyDoc::InsertDerivedPattern
- IFeatureManager::FeatureAdvancedTableDrivenPattern
- IFeatureManager::FeatureChainPattern
- IFeatureManager::FeatureCircularPattern5
- IFeatureManager::FeatureFillPattern
- IFeatureManager::FeatureLinearPattern5
- IFeatureManager::FeatureLocalCurveDrivenPattern
- IFeatureManager::FeatureLocalSketchDrivenPattern
- IFeatureManager::FeatureSketchDrivenPattern
- IFeatureManager::InsertDerivedPattern2
- IFeatureManager::InsertTableDrivenPattern2
- IModelDoc2::FeatureCurvePattern
- Get or set more properties on linear, linear component, and circular component pattern features. See ILinearPatternFeatureData, ILocalLinearPatternFeatureData, and ILocalCircularPatternFeatureData in New methods, properties, and delegates.
Complete redesign of sheet metal Normal Cut feature API
High-efficiency collision detection
Semantic Product and Manufacturing Information (PMI)
- Get semantic Product and Manufacturing Information (PMI) from STEP 242 models. See IPMIDatumData, IPMIDatumFeature, IPMIDatumTarget, IPMIDimensionData, IPMIDimensionItem, IPMIFrameData, IPMIGtolBoxData, IPMIGtolData, IPMIGtolFrameDatum, IAnnotation::GetPMIData, and IAnnotation::GetPMIType.
- Note annotations, hole fit, and shaft fit are not supported.
Other major enhancements
- Get or set more table column types, including the equation-driven type. See ITableAnnotation::EvaluateCellEquation, ITableAnnotation::GetCellEquation, ITableAnnotation::SetCellEquation, ITableAnnotation::GetColumnType3, and ITableAnnotation::SetColumnType3.
- Get data from the Hole Wizard database. See ISldWorks::GetHoleStandardsData, IHoleDataTable, and IHoleStandardsData.
- Access bounding box feature data. See IBoundingBoxFeatureData.
- Access ground plane feature data. See IGroundPlaneFeatureData.
- Access tab and slot feature data. See ITabAndSlotFeatureData and ITabAndSlotGroupData.
- Create a geodesic sketch offset along the curvature of a surface. See IModelDocExtension::GeodesicSketchOffset.
- Specify whether to include a specified component when saving an assembly as a part. See IAssemblyDoc::CompConfigProperties6.
- Get or set whether to load external references in memory when opening a document. See IDocumentSpecification::LoadExternalReferencesInMemory.
- Get or set whether to generate a display list for a part's configuration. See IConfiguration::LargeDesignReviewMark.
- Get an annotation's text scale in the 3D View. See IView3D::Get3DViewAnnotationTextScale.
- Get a component's suppression state or, if an internal ID mismatch exists, an error code. See IComponent2::GetSuppression2.
- Get a file's open status when notified that a file is being opened. DSldWorksEvents_ReferencedFilePreNotify2EventHandler.
- Get or set whether to exclude a component from the bills of materials in specified configurations. See IComponent2::GetExcludeFromBOM2 and IComponent2::SetExcludeFromBOM2.
- Get or set the orientation of text in table cells. See ITableAnnotation::GetCellTextOrientation and ITableAnnotation::SetCellTextOrientation.
- Convert an existing balloon to a stacked balloon. See INote::MakeStackedBalloon.
- Get or set whether to enable the pushpin of an add-in's callout. See ICallout::EnablePushPin.
- Insert a delete hole feature for selected hole edges on a surface. See IFeatureManager::InsertDeleteHoleForSurface.
- Get or set whether to bidirectionally project a sketch onto one or more faces. See IProjectionCurveFeatureData::Bidirectional.
- Get or set whether to enable Select Identical Components in the context menu of a PropertyManager page selection box. See IPropertyManagerPageSelectionbox::EnableSelectIdenticalComponents.
- Get the edges of sketch text rendered with "stick" or single line fonts such as OLF SimpleSansOC. See ISketchText::GetEdges2.
- Upgrade cosmetic thread features in legacy models to the new cosmetic thread architecture. See IModelDocExtension::UpgradeLegacyCThreads.
- Copy a body, optionally copying its face IDs. See IBody2::Copy2.
- Create a bend table for the flat pattern of a sheet metal part. See IPartDoc::InsertBendTable.
- Set the transform and solve for the mates of a component in either its active configuration or all of its configurations. See IComponent2::SetTransformAndSolve3.
- Get or set the reference axis with which to dimension the location of a face with respect to another locating feature. See IDimXpertDimensionOption::DimensionPositionOption2.
- Insert a part in one of its configurations into another part. See IPartDoc::InsertPart3.
- Get mate information when notified that one or more mates have been added to an assembly. See DAssemblyDocEvents_AddMatePostNotify2EventHandler.
- Get the annotation views assigned to a 3D View. See IView3D::AnnotationViews2.
- Get whether a spline is rational or non-rational. See ISketchSpline::IsRationalCurve.
- If a spline is non-rational, make it rational. See ISketchSpline::MakeRational.
- If a spline is rational, get or set the weights of its control vertexes. See ISketchSpline::GetControlVertexWeights and ISketchSpline::SetControlVertexWeights.
- Specify hole tag numbering, hole tag type, and manual hole tags when inserting a hole table in a drawing view. See IView::InsertHoleTable3.
- Assign a prefix to manual tags in the hole table of a drawing view. See IHoleTable::AssignTagPrefix.
- Save a BOM table annotation as an Excel document. See IBomTableAnnotation::SaveAsExcel.
- Insert bend notes for the specified flat-pattern feature of a sheet metal part. See IPartDoc::InsertBendNotes.
- Import the tolerance scheme of a specified file to a specified configuration of an open model. See IDimXpertPart::ImportScheme.
Back to top
New interfaces
Back to top
New methods, properties, and delegates
DimXpert
DAssemblyDocEvents
DSldWorksEvents
IAngleMateFeatureData Interface
IAnnotation Interface
IAssemblyDoc Interface
IBody2 Interface
IBomTableAnnotation Interface
ICallout Interface
IComponent2 Interface
IDimXpertDimensionOption Interface
IDistanceMateFeatureData Interface
IDocumentSpecification Interface
IFeatureManager Interface
IHoleTable Interface
ILinearPatternFeatureData Interface
ILocalCircularPatternFeatureData Interface
ILocalLinearPatternFeatureData Interface
IMateFeatureData Interface
IModelDocExtension Interface
INote Interface
IPartDoc Interface
IProjectionCurveFeatureData Interface
IPropertyManagerPageSelectionbox Interface
ISketchSpline Interface
ISketchText Interface
ISldWorks Interface
ITableAnnotation Interface
IView Interface
IView3D Interface
Back to top
Obsoleted interfaces, methods, properties, and delegates
DAssemblyDocEvents
DSldWorksEvents
IAssemblyDoc Interface
IBody2 Interface
IComponent2 Interface
IDimXpertDimensionOption Interface
IFeatureManager Interface
The following methods are all superseded by IFeatureManager::CreateDefinition and IFeatureManager::CreateFeature:
- IFeatureManager::AddSMNormalCut
- IFeatureManager::AddSMNormalCutType
- IFeatureManager::FeatureAdvancedTableDrivenPattern
- IFeatureManager::FeatureChainPattern
- IFeatureManager::FeatureCircularPattern5
- IFeatureManager::FeatureFillPattern
- IFeatureManager::FeatureLinearPattern5
- IFeatureManager::FeatureLocalCurveDrivenPattern
- IFeatureManager::FeatureLocalSketchDrivenPattern
- IFeatureManager::FeatureSketchDrivenPattern
- IFeatureManager::FinishSMNormalCut
- IFeatureManager::InsertDerivedPattern2
- IFeatureManager::InsertGlobalBoundingBox
- IFeatureManager::InsertGroundPlane
- IFeatureManager::InsertTableDrivenPattern2
IModelDoc2 Interface
IPartDoc Interface
ISketchText Interface
ISMNormalCutFeatureData Interface (superseded by ISMNormalCutFeatureData2 Interface)
ITableAnnotation Interface
IView Interface
IView3D Interface
Back to top