This topic provides you with quick access to the enhancements in SOLIDWORKS API 2021.
Service Pack 3
New property
IComponent2 Interface
Service Pack 1
New method
IModelDocExtension Interface
Obsoleted method
IModelDocExtension Interface
Service Pack 0
New and changed functionality
Sheet Metal Features
Other major enhancements
- Vary the dimensions and locations of pattern instances in linear and circular patterns of parts and assemblies. See IInstanceToVaryOptions, ICircularPatternFeatureData::InstancesToVary, ICircularPatternFeatureData::GetInstanceToVaryOptions, ICircularPatternFeatureData::SetInstanceToVaryOptions, ILinearPatternFeatureData::InstancesToVary, ILinearPatternFeatureData::GetInstanceToVaryOptions, ILinearPatternFeatureData::SetInstanceToVaryOptions, ILocalCircularPatternFeatureData::GetModifiedInstance, ILocalCircularPatternFeatureData::GetModifiedInstances, LocalCircularPatternFeatureData::ModifyInstance, ILocalLinearPatternFeatureData::GetModifiedInstance, ILocalLinearPatternFeatureData::GetModifiedInstances, and ILocalLinearPatternFeatureData::ModifyInstance.
- Get or set whether to synchronize the configurations of pattern components with the configuration of the seed component in an assembly component pattern. See IChainPatternFeatureData::ForceUseSeedConfiguration, IDerivedPatternFeatureData::ForceUseSeedConfiguration, ILocalCircularPatternFeatureData::ForceUseSeedConfiguration, ILocalCurvePatternFeatureData::ForceUseSeedConfiguration, ILocalLinearPatternFeatureData::ForceUseSeedConfiguration, ILocalSketchPatternFeatureData::ForceUseSeedConfiguration, and IMirrorComponentFeatureData::ForceUseSeedConfiguration.
- IView::GetDisplayData4 fixes the bug in which IView::GetDisplayData3 prevents information being returned in IDisplayData (e.g., line, arc, polyline, and text counts).
- IView::GetSMBoundaryBoxDisplayData2 fixes a bug in which IView::GetSMBoundaryBoxDisplayData returns nothing.
- Export interference detection results to a *.xlsx or *.csv file. See IInterferenceDetectionMgr::ExportResults.
- Insert chain dimensions in a drawing document. See IModelDocExtension::InsertChainDimensions.
- Set cosmetic thread display quality when setting a drawing view's display mode. See IView::SetDisplayMode4 and IView::GetCThreadQuality.
- Get or set whether to include the dimension prefix, suffix, and tolerance in a dimension note. See INote::IncludeDimPrefixSuffixTolerance.
- For assemblies, perform advanced component selection using Category1 and Category2 criteria and save queries in XML format. See IAdvancedSelectionCriteria::AddItem2 and IAdvancedSelectionCriteria::GetItem2.
- Get all of the unobscured drawing components in a drawing view of an assembly drawing. See IView::GetVisibleDrawingComponents.
- For SOLIDWORKS Connected only:
Back to top
New interfaces
IInstanceToVaryOptions Interface (obsoletes IFeatureManager::InsertVaryInstanceIncrement and IFeatureManager::InsertVaryInstanceOverride)
Back to top
New methods and properties
IAdvancedSelectionCriteria Interface
IChainPatternFeatureData Interface
ICircularPatternFeatureData Interface
IDerivedPatternFeatureData Interface
IEdgeFlangeFeatureData Interface
IInterferenceDetectionMgr Interface
ILinearPatternFeatureData Interface
ILocalCircularPatternFeatureData Interface
ILocalCurvePatternFeatureData Interface
ILocalLinearPatternFeatureData Interface
ILocalSketchPatternFeatureData Interface
IMirrorComponentFeatureData Interface
IModelDocExtension Interface
INote Interface
ISldWorks Interface
IView Interface
Back to top
Obsoleted methods
IAdvancedSelectionCriteria Interface
IDrawingDoc Interface
IFeatureManager Interface
IView Interface
Back to top