This topic provides you with quick access to the enhancements in SOLIDWORKS API 2015.
- Add-ins created and accessed from the Menu Bar in previous versions of SOLIDWORKS now appear and are accessed from the Tools menu. Any new add-in that attempts to create a menu on the Menu Bar will also now appear and be accessed from the Tools menu.
- Starting with SOLIDWORKS 2015, third-party data stored in SOLIDWORKS files cannot be externally read or written by standard structured storage or compound file techniques. To read or write third-party data, use the methods and events in the SOLIDWORKS API. See Third-party Data in SOLIDWORKS Files for details.
- Service Pack 4
- Service Pack 3
- Service Pack 2
- Service Pack 1
- Service Pack 0
Service Pack 4
New properties
ICircularPatternFeatureData Interface
ICurveDrivenPatternFeatureData Interface
ILinearPatternFeatureData Interface
ISketchPatternFeatureData Interface
Back to top
Service Pack 3
New methods
IDimensionTolerance Interface
Obsolete methods
IDimensionTolerance Interface
Back to top
Service Pack 2
New method
ISectionViewData Interface
Back to top
Service Pack 1
New methods, properties, and delegates
IAnnotation Interface
IAnnotationView Interface
IEnvironment Interface
Obsoleted methods, properties, and delegates
IAnnotationView Interface
IEnvironment Interface
Back to top
Service Pack 0
New functionality
Major enhancements are:
- Support for:
-
- getting an unpacked array of native SOLIDWORKS Dispatch-based objects of the same data type and returning a packed Variant SafeArray to use in methods that require passing a packed Variant SafeArray.
- getting a packed Variant SafeArray and returning an unpacked array of native SOLIDWORKS Dispatch-based objects of the same data type.
- getting a Variant SafeArray and returning the number of SafeArray objects in the Variant SafeArray and their data type.
- getting and putting a value in a Variant SafeArray of the same data type.
- See ISldWorks::GetSafeArrayUtility and ISafeArrayUtility.
- Support for surface-flatten features. See ISurfaceFlattenFeatureData and IFeatureManager::InsertFlattenSurface.
- Support for extracting Scanto3D information. See IModelDocExtension::GetScanto3D and IScanto3D.
- Support for scenes. See IConfiguration::GetScene and ISwScene.
- Specify end condition and offset distance when creating a Move Face feature. See IFeatureManager::InsertMoveFace3.
- Get various properties of a display state in a configuration. See IConfiguration::GetDisplayStateComponentProperties, IConfiguration::GetDisplayStateComponentVisibility, IConfiguration::GetDisplayStateFeatureProperties, IConfiguration::GetDisplayStateBodyProperties, IConfiguration::GetDisplayStateFaceProperties, IConfiguration::GetDisplayStateProperties.
- Automatically detect the axis for an angle mate. See IAssemblyDoc::AutoAngleAxis.
- Get or set the method for sorting BOM tables. See IBomTableSortData::SortMethod.
- Specify display dimension text direction when creating display dimensions. See IModelDocExtension::AddDimension.
- Specify more options when inserting a gusset feature using pre-selected entities of a sheet metal part. See IFeatureManager::InsertSheetMetalGussetFeature3, ISMGussetFeatureData::OverrideDocSettings, ISMGussetFeatureData::ShowCenter, and ISMGussetFeatureData::ShowProfile.
- Get or set whether to:
-
- Insert a variable pattern feature and allow access to its feature data. See IFeatureManager::FeatureAdvancedTableDrivenPattern and IDimPatternFeatureData.
- Get or set pattern elements. See ICircularPatternFeatureData::PatternElement, ILinearPatternFeatureData::PatternElement, ISketchPatternFeatureData::PatternElement, ICurveDrivenPatternFeatureData::PatternElement, and IFillPatternFeatureData::PatternElement.
- Specify offsets when inserting a linear-pattern feature. See IFeatureManager::FeatureLinearPattern4.
- Get or set sunlight advanced properties, get sunlight information, and update sunlight. See IModelDocExtension::GetSunLightAdvancedPropertyValues, IModelDocExtension::SetSunLightAdvancedPropertyValues, IModelDocExtension::SunLightInformation, and IModelDocExtension::UpdateSunLight.
- Get or set the components and transforms for interferences. See IInterferenceDetectionMgr::UseTransform, IInterferenceDetectionMgr::GetComponentsAndTransforms, and IInterferenceDetectionMgr::SetComponentsAndTransforms.
- Specify more document printing options. See IModelDocExtension::GetPrintSpecification, IModelDocExtension::PrintOut4, and IPrintSpecification.
- Get or set how to replace components when keeping missing items in BOM features. See IBomFeature::KeepReplacedCompOption.
- Create and access local curve- and sketch-driven patterns. See IFeatureManager::FeatureLocalCurveDrivenPattern, ILocalCurvePatternFeatureData, IFeatureManager::FeatureLocalSketchDrivenPattern, and ILocalSketchPatternFeatureData.
- Get type of body folder cut list. See IBodyFolder::GetCutListType.
- Get or set whether to automatically update the body folder cut list. See IBodyFolder::GetAutomaticUpdate and IBodyFolder::SetAutomaticUpdate.
- Get or set whether to display a Model Break View in a drawing. See IView::IsModelBreakState and IView::ShowModelBreakState.
- Get the names and number of Model Break Views in the current configuration of the active model and get whether to show or hide a Model Break View. See IModelDocExtension::GetModelBreakViewNames and IModelDocExtension::ShowModelBreakView.
- Specify more options when mirroring components in an assembly. See IAssemblyDoc::MirrorComponents2.
- Add a width mate to an assembly. See IAssemblyDoc::AddMate5.
- Specify whether to print a specified layer when printing a drawing document. See IDrawingDoc::CreateLayer2 and ILayer::Printable.
- Get a feature's folder. See IFeatureManager::FeatureFolderLocation.
- Move a feature to another location in the FeatureManager design tree of a part or assembly. See IModelDocExtension::ReorderFeature.
- Specify whether to unlock configurations when moving the freeze bar. See IFeatureManager::EditFreeze2 and IFeature::MoveFreezeBarTo2.
- Get or set whether to display rebuild indicators on parts that have out-of-date frozen features. See IModelDocExtension::ShowPartRebuildIndicators.
- Get all of the bodies that will result from splitting a part. See IFeatureManager::PreSplitBody2.
- Modify a split-body feature by changing its split bodies. See ISplitBodyFeatureData::SetSpitBodies2.
- Specify more options when editing a mate in an assembly. See IAssemblyDoc::EditMate3.
- Get or set whether to scale draft edges when printing drawings in high quality. See IPageSetup::ScaleDraftEdges.
- Specify type of decimal rounding in display dimensions. See IDisplayDimension::SetDual2 and IDisplayDimension::SetUnits2.
- Support for intersect features. See IIntersectFeatureData, IFeatureManager::PreIntersect, and IFeatureManager::PostIntersect.
- Specify whether to keep or delete bodies in a multibody part. See IFeatureManager::InsertDeleteBody2 and IDeleteBodyFeatureData::KeepBodies.
- Support for 3D Views in parts and assemblies. See IView3D, IModelDocExtension::Capture3DView, IModelDocExtension::Get3DView, IModelDocExtension::Get3DViewCount, IModelDocExtension::Get3DViewNames, IModelDocExtension::Get3DViews, and IModelDocExtension::Refresh3DViews.
- Divide a sketch segment into equally spaced sketch segments or points. See ISketchSegment::EqualSegment.
- Get the display dimension object for a:
-
- Get the sketch segments that define the path of a structural member body. See IStructuralMemberFeatureData::GetSketchSegments.
- Specify more properties when creating a weldment gusset. See IFeatureManager::InsertGussetFeature3.
- Get or set whether to use the aspect ratio of the SOLIDWORKS view for PhotoView preview and final renders. See IRayTraceRendererOptions::UseSolidWorksViewAspectRatio.
- Support for 64-bit add-in callbacks. See ISldWorks::SetAddinCallbackInfo2.
- Get whether:
-
- Specify zones when creating or modifying drawing sheets. See IDrawingDoc::NewSheet4 and IDrawingDoc::SetupSheet6.
- Flip an angle dimension to its vertically opposite or explementary angle. See IDisplayDimension::VerticallyOppositeAngle and IDisplayDimension::ExplementaryAngle.
- Support for spline leaders on notes. See INote::GetLeaderNumPointsAt.
- Specify revision symbol shapes and whether to automatically update zone cells when inserting a revision table in a drawing view. See ISheet::InsertRevisionTable2.
- Get and set the end condition, offset distance, and entities of a translated Move Face feature. See IMoveFaceFeatureData::EndCondition, IMoveFaceFeatureData::GetEndConditionEntity, IMoveFaceFeatureData::GetFromEntity, IMoveFaceFeatureData::OffsetDistance, IMoveFaceFeatureData::SetEndConditionEntity, and IMoveFaceFeatureData::SetFromEntity.
- Insert a cosmetic weld bead using either weld geometry or a weld path. See IFeatureManager::InsertCosmeticWeldBead2, ICosmeticWeldBeadFeatureData::GetEntitiesWeldFrom, ICosmeticWeldBeadFeatureData::GetEntitiesWeldPath, ICosmeticWeldBeadFeatureData::GetEntitiesWeldTo, ICosmeticWeldBeadFeatureData::SetEntitiesWeldFrom, ICosmeticWeldBeadFeatureData::SetEntitiesWeldPath, and ICosmeticWeldBeadFeatureData::SetEntitiesWeldTo.
- Transfer sheet-metal and flat-pattern information from the original sheet-metal part to the mirrored part and enable editing of the sheet-metal definition in the mirrored part. See IMirrorPartFeatureData::SheetMetalInformation and IMirrorPartFeatureData::UnlockedProperties.
- Get or set in section views whether to:
-
- Get whether the SOLIDWORKS startup process, including loading all startup add-ins, has completed. See ISldWorks::StartupProcessCompleted.
- Get the normal to the plane of a display data arrow head. See IDisplayData::GetArrowHeadAtIndex2.
- Get the selection specification for a selected object. See ISelectionMgr::GetSelectByIdSpecification and ISelectionMgr::GetSelectionSpecification.
- Create full symmetrical angular dimensions. See IModelDocExtension::AddSymmetricDimension.
- Get conical surface reference direction parameters. See ISurface::ConeParams2.
- Get or set the display states in which a specified appearance is applied, get the appearances applied in specified display states, and get whether a model, component, face, body, or feature has an appearance. See:
-
- Specify more properties when creating a structural member end cap. See:
- Support for asymmetric fillets. See:
- Specify more properties when creating cosmetic threads. See:
- Modify variable-pitch helix features. See:
-
Back to top
New interfaces
IDimPatternFeatureData Interface
Back to top
New methods, properties, and delegates
IAnnotation Interface
IAnnotationView Interface
IAssemblyDoc Interface
IBody2 Interface
IBodyFolder Interface
IBomFeature Interface
IBomTableSortData Interface
ICircularPatternFeatureData Interface
IComponent2 Interface
IConfiguration Interface
ICosmeticThreadFeatureData Interface
ICosmeticWeldBeadFeatureData Interface
ICurveDrivenPatternFeatureData Interface
IDeleteBodyFeatureData Interface
IDetailCircle Interface
IDisplayData Interface
IDisplayDimension Interface
IDrawingDoc Interface
IDrSection Interface
IEndCapFeatureData Interface
IFace2 Interface
IFeature Interface
IFeatureManager Interface
IFillPatternFeatureData Interface
IHelixFeatureData Interface
IInterferenceDetectionMgr Interface
ILayer Interface
ILinearPatternFeatureData Interface
IMirrorPartFeatureData Interface
IModelDocExtension Interface
IMoveFaceFeatureData Interface
INote Interface
IPackAndGo Interface
IPageSetup Interface
IRayTraceRendererOptions Interface
IRenderMaterial Interface
ISelectionMgr Interface
ISheet Interface
ISimpleFilletFeatureData2 Interface
ISketchPatternFeatureData Interface
ISketchRelation Interface
ISketchSegment Interface
ISldWorks Interface
ISMGussetFeatureData Interface
ISplitBodyFeatureData Interface
IStructuralMemberFeatureData Interface
ISurface Interface
IView Interface
IVariableFilletFeatureData2 Interface
Back to top
Obsoleted interfaces, methods, properties, and delegates
IAssemblyDoc Interface
IComponent2 Interface
ICosmeticWeldBeadFeatureData Interface
IDisplayData Interface
IDisplayDimension Interface
IDrawingDoc Interface
IFeature Interface
IFeatureManager Interface
IModelDoc2 Interface
IModelDocExtension Interface
ISheet Interface
ISldWorks Interface
ISplitBodyFeatureData Interface
ISurface Interface
Back to top