This topic provides you with quick access to the enhancements in SOLIDWORKS API 2016.
Service Pack 5
New method
IAssemblyDoc Interface
Obsolete method
IAssemblyDoc Interface
Back to top
Service Pack 4
New method
IEquationMgr Interface
Back to top
Service Pack 3
New method
IDisplayDimension Interface
Back to top
Service Pack 2
New methods and property
ICosmeticWeldBeadFeatureData Interface
ISldWorks Interface
IView Interface
Back to top
Service Pack 1
New method and delegate
ISldWorks Interface
ISwHtmlInterface Interface
Back to top
Service Pack 0
New functionality
Major enhancements are:
- Support for SOLIDWORKS MBD:
- Support scaling for high resolution screens with high resolution operating system scaling options. See:
- Get corresponding sketch contours, sketch segments, and annotations for a specific instance of a component in the context of an assembly. See the Example section in IComponent2::GetCorresponding.
- Get or set the properties of paragraphs in note annotations. See IParagraphs and IAnnotation::GetParagraphs.
- Get or set cross break feature data in sheet metal parts. See ICrossBreakFeatureData.
- Get or set indent feature data. See IIndentFeatureData.
- Get or set boundary feature data. See IBoundaryBossFeatureData.
- Get or set chain pattern feature data. See IFeatureManager::FeatureChainPattern and IChainPatternFeatureData.
- Insert a structural weldment feature using a configuration in a custom weldment profile and get or set the name of the configuration in a custom weldment profile for a structural member. See IFeatureManager::InsertStructuralWeldment5 and IStructuralMemberFeatureData::ConfigurationName.
- Get or set hole callout variables. See IDisplayDimension::GetHoleCalloutVariables, ICalloutVariable, ICalloutAngleVariable, ICalloutLengthVariable, and ICalloutStringVariable.
- Get or set gaps between center marks and extension lines, add center marks to a center mark set, get whether center marks are detached, get whether entities have detached center marks in a center mark set, reattach center marks to a center mark set, get the coordinates of center marks, and get whether the specified center mark in a center mark set is deleted. See the ICenterMark Interface section in this Help topic.
- Set gaps between center marks and extension lines when automatically inserting center marks. See IView::AutoInsertCenterMarks2.
- Get or set additional options for ray-trace rendering engines. See the IRayTraceRendererOptions Interface section in this Help topic.
- Make the child components of a component virtual when the component is made virtual. See IComponent2::MakeVirtual2.
- Get the name of the drawing zone for the specified x and y coordinates on the drawing sheet. See ISheet::GetDrawingZone.
- Reload the sheet format from the original sheet format template. See ISheet::ReloadTemplate.
- Support for these leader styles: Attach Leader Bottom, Attach Leader Center, Attach Leader Nearest, and Attach Leader Top. See swLeaderStyle_e.
- Set geometric tolerance values and datum references in GTol symbol frames. See IGTol::SetFrameValues2.
- Get or set whether to display hole sizes in hole tables using ANSI inch letters and drill numbers. See IHoleTable::ShowANSIInchLetterNumberDrillSizes.
- Get or set the message to display in the What's Wrong dialog when a non-embedded macro feature fails to rebuild due to missing files. See IMacroFeatureData::Provider.
- Get the actual mass properties of selected components in a model. See IModelDocExtension::GetMassProperties2.
- Get or set the Same as sheet specified in Document Properties check box on the Sheet Properties dialog. See ISheet::GetProperties2 and ISheet::SetProperties2.
- Specify whether to convert the inner loops of the selected faces to sketch entities on a sketch plane. See ISketchManager::SketchUseEdge3.
- Get the name of a sketch segment. See ISketchSegment::GetName.
- Get or set curvature continuous for a variable radius fillet feature. See IVariableFilletFeatureData2::CurvatureContinuous.
- Support for motion blur when rendering and saving animations using PhotoView 360. See IAVIParameter::MotionBlur, IAVIParameter::BlurLength, and IAVIParameter::BlurOffset.
- Support for capping the ends of sketch entities offset in a single direction and converting original sketch entities to construction sketch entities. See ISketchManager::SketchOffset2.
- Support for repairing all mates missing the same mate entity. See IAssemblyDoc::EditMate4.
- Modify watermarks in part and assembly documents. See INote::WatermarkNote, INote::WatermarkBehindGeometry, and INote::WatermarkTransparencyLevel.
- Support for shading surfaces from both sides and rounding sharp edges when applying an appearance or material to a model and rendering the model with PhotoView 360. See IAppearance::DoubleSided, IAppearance::RoundSharpEdges, IRenderMaterial::DoubleSided, and IRenderMateral::RoundSharpEdges.
- Get a top-level assembly component using its component ID. See IAssemblyDoc::GetComponentByID.
- Support for map and tear edges in surface-flatten features. See IFeatureManager::InsertFlattenSurface2, ISurfaceFlattenFeatureData::MapEdges, ISurfaceFlattenFeatureData::TearEdges, and ISurfaceFlattenFeatureData::ShouldMakeTears.
- Get or set whether to merge:
- Temporarily fix or group assembly components. See IAssemblyDoc::TemporaryFixGroup and IAssemblyDoc::TemporaryFixGroupExit.
- Insert a surface boundary feature that has a solid or surface body. See IFeatureManager::InsertNetBlend2.
- Get or set whether a linear dimension is foreshortened. See IDisplayDimension::Foreshortened.
- Get or set whether a surface trim feature is a solid body or a surface body. See IFeatureManager::SolidForTrim.
- Insert a DimXpert basic dimension. See IDimXpertPart::InsertBasicDimension.
- Support for renaming documents and updating references:
- Create a part that includes only the intersecting bodies, only the internal (hollow) regions between the intersecting regions, or both. See IFeatureManager::PreIntersect2.
- Get whether a spline is a style spline. Get or set the type of curve of a style spline and the degree of curve of a Bezier curve style spline. See ISketchSpline::IsStyleSpline, ISketchSpline::CurveType, and ISketchSpline::CurveDegree.
- Get or set whether to update a reference plane so that it is parallel to the screen. See IRefPlaneFeatureData::UpdatePlane.
- Get the skipped instances in the driving feature of a derived pattern feature. See IDerivedPatternFeatureData::DrivingFeatureSkippedItemArray.
- Get or set whether to transfer the material properties of a library feature when it is used as a structural member and get the name of the material of a library feature for a structural member. See IStructuralMemberFeatureData::TransferMaterial and IStructuralMemberFeatureData::LibraryProfileMaterial.
- Support for copying components with profile center mates in an assembly. See IAssemblyDoc::CopyWithMates2.
Back to top
New interfaces
Back to top
New methods, properties, and delegates
IAnnotation Interface
IAppearanceSetting Interface
IAssemblyDoc Interface
IAVIParameter Interface
IBomFeature Interface
ICenterMark Interface
ICommandGroup Interface
ICommandManager Interface
IComponent2 Interface
IDerivedPatternFeatureData Interface
IDimensionTolerance Interface
IDimXpertPart Interface
IDisplayDimension Interface
IFeatureManager Interface
IFlyoutGroup Interface
IFrame Interface
IGtol Interface
IHoleTable Interface
IMacroFeatureData Interface
IModelDocExtension Interface
INote Interface
IPartDoc Interface
IPropertyManagerPageBitmapButton Interface
IRayTraceRendererOptions Interface
IRefPlaneFeatureData Interface
IRenderMaterial Interface
ISheet Interface
ISketchManager Interface
ISketchSegment Interface
ISketchSpline Interface
ISldWorks Interface
IStructuralMemberFeatureData Interface
IStructuralMemberGroup Interface
ISurfaceFlattenFeatureData Interface
ITaskpaneView Interface
ITexture Interface
IVariableFilletFeatureData2 Interface
IView Interface
Back to top
Obsoleted methods and properties
IAssemblyDoc Interface
ICommandGroup Interface
ICommandManager Interface
IComponent2 Interface
IDimensionTolerance Interface
IDisplayDimension Interface
IFeatureManager Interface
IFlyoutGroup Interface
IFrame Interface
IGtol Interface
IModelDocExtension Interface
IPropertyManagerPageBitmapButton Interface
IRayTraceRendererOptions Interface
ISheet Interface
ISketchManager Interface
ISldWorks Interface
ITaskpaneView Interface
IView Interface
Back to top