Skip to content

This page contains list of the most notable changes in the releases of xCAD.NET.

Breaking change is marked with ⚠ symbol

0.8.0 - January 30, 2024

  • ⚠ XComponentRepositoryExtension::Flatten is renamed to XComponentRepositoryExtension::TryFlatten
  • ⚠ Removed OptionBoxStyle_e and OptionBoxOptionsAttribute::Style
  • ⚠ SelectType_e enumeration is removed. Use Type to specify the selection filter for the SelectionBoxOptionsAttribute::Filters or use SwSelectionBoxOptionsAttribute::Filters to specify SOLIDWORKS specific filters via swSelectionType_e. Use ContextMenuCommandItemInfoAttribute::Owner to set the Type of the owner entity or use SwContextMenuCommandItemInfoAttribute::Owner to set the SOLIDWORKS specific owner via swSelectionType_e
  • ⚠ Point::Scale/Vector::Scale are not do not modify the values of the original object rather return new scaled result
  • ⚠ IXCustomFeatureDefinition`<TParams, TPage>::OnPageParametersChanged renamed to IXCustomFeatureDefinition\<TParams, TPage>`::OnPreviewUpdated
  • ⚠ IXCustomFeatureDefinition`<TParams, TPage>::CreateGeometry is split to IXCustomFeatureDefinition\<TParams, TPage>`.CreatePreviewGeometry.
  • ⚠ ISwMacroFeatureDefinition::ShouldUpdatePreview changed the signature (added the pointer to TPage)
  • ⚠ ISwMacroFeatureDefinition::ShouldHidePreviewEditBody, ISwMacroFeatureDefinition::AssignPreviewBodyColor replaced with the delegates of IXCustomFeatureDefinition`<TParams, TPage>`. CreatePreviewGeometry
  • ⚠ ISwMacroFeatureDefinition::ConvertParamsToPage added additional parameter for current data
  • ⚠ IXDocument3D::PreCreateBoundingBox, IXDocument3D::PreCreateMassProperty moved to IXDocumentEvaluation
  • ⚠ IXFace::Edges is deprecated and replaced with IXFace::AdjacentEntities
  • ⚠ HandlePostRebuildAttribute is deprecated and replaced with SwMacroFeatureDefinition::PostRebuild event
  • ⚠ IParameterConverter::ConvertEditBodies, IParameterConverter::ConvertDisplayDimensions, IParameterConverter::ConvertParameters, IParameterConverter::ConvertSelections is replaced with IParameterConverter::Convert. ParameterConverter implementation is deprecated
  • ⚠ ISwMacroFeature::CachedParameters is deprecated. use IXCustomFeature::Parameter without IXFeature::Edit to get cached parameters
  • ⚠ IXCutList::State is renamed to IXCutList::Status and CutListState_e is renamed to CutListStatus_e
  • ⚠ IXRegion::Boundary type is changed from IXSegment[] to IXLoop[]
  • ⚠ IXServiceCollection::AddOrReplace is renamed to IXServiceCollection::Add
  • ⚠ Introduced Line and Circle data structures which replaced the Axis, Diameter, StartPoint, EndPoint, CenterPoint properties in geometrical entities, such as IXCircle
  • ⚠ Access modifier for SwAddInEx::OnConfigureServices and SwMacroFeatureDefinition::OnConfigureServices is changed to protected
  • ⚠ IXDocument::SaveAs is changed to extension in Xarial.XCad.Documents.Extensions namespace
  • ⚠ IXDocument pointers are no longer guaranteed to be equal for the same documents. Use IXDocument::Equals to compare pointers instead

0.7.7 - October 26, 2021

  • ⚠ - IEntity is not automatically converted to safe entity. Instead use ISwEntity::CreateResilient to create safe entity

0.7.6 - October 13, 2021

  • ⚠ - IXDocument::GetAllDependencies extension method is renamed to IXDocument::IterateDependencies and 3 optional parameters are added
  • Fixed handling of virtual component in ISwDmDocument::Dependencies

0.7.5 - October 6, 2021

  • ⚠ ISwMacroFeature::ToParameters is removed. Now SwObjectFactory::FromDispatch will create a specific instance from IFeature
  • ⚠ ISwBodyExtension::ToTempBody is replace with IXBody::Copy
  • ⚠ IXPlanarSheet::Boundary type is changed from IXSegment[] to IXRegion. Use IXGeometryBuilder::CreateRegionFromSegments to create region from array of segments
  • ⚠ IXPlanarSheet::Boundary is renamed to IXPlanarSheet::Region
  • ⚠ IXDrawingView::Document is renamed to IXDrawingView::ReferencedDocument
  • ⚠ IXComponent::Document is renamed to IXComponent::ReferencedDocument
  • ⚠ SwObjectFactory::FromDispatch is replaced with ISwDocument::CreateObjectFromDispatch and ISwApplication::CreateObjectFromDispatch
  • ⚠ Changed the signatures of SwMacroFeatureDefinition{TParams, TPage}::OnEditingCompleted, SwMacroFeatureDefinition{TParams, TPage}::OnFeatureInserted
  • ⚠ Changed from protected to public: SwMacroFeatureDefinition{TParams, TPage}::OnEditingStarted, SwMacroFeatureDefinition{TParams,TPage}::CreatePageHandler, SwMacroFeatureDefinition{TParams,TPage}::OnEditingStarted, SwMacroFeatureDefinition{TParams,TPage}::OnEditingCompleted, SwMacroFeatureDefinition{TParams,TPage}::OnFeatureInserted, SwMacroFeatureDefinition{TParams,TPage}::CreateDynamicControls
  • ⚠ IXGeometryMemoryBuilder::PreCreateArc is renamed to IXGeometryMemoryBuilder::PreCreateCircle. IXGeometryMemoryBuilder::PreCreateArc has been redefined to create arc rather than circle
  • ⚠ IXDocumentRepository::DocumentCreated is renamed to IXDocumentRepository::DocumentLoaded
  • ⚠ IXDocument::Rebuild event is renamed to IXDocument::Rebuilt and IXDocument::Regenerate method is renamed to IXDocument::Rebuild
  • ⚠ CommandSpec::TabBoxStyle is replaced with CommandSpec::RibbonTextStyle, CommandSpec::HasTabBox is replaced with CommandSpec::HasRibbon
  • ⚠ IXDocument::Dependencies, IXConfiguration::CutLists, IXCutList::Bodies, IXFace::Edges changed from array to IEnumerable
  • ⚠ IXDocument::Closing is passing the additional parameter if the document is closing or hiding
  • ⚠ ComboBoxOptionsAttribute::SelectDefaultValue option is deprecated and removed
  • ⚠ IXCustomControl::ValueChanged event delegate type is changed

0.7.4 - July 11, 2021

  • Fixed the incorrect mass properties for SOLIDWORKS 2019 and older
  • Fixed invalid principle moment of inertia and principle axis of inertia calculation for Part file

0.7.3 - July 2, 2021

0.7.1 - June 8, 2021

0.7.0 - May 2, 2021

0.6.10 - December 7, 2020

0.6.9 - November 27, 2020

0.6.8 - November 10, 2020

  • Added tags support for IXDocument to store custom user data within the session
  • Added the IXPart::CutListRebuild event

0.6.7 - November 9, 2020

  • ⚠ All SOLIDWORKS specific classes replaced with corresponding interfaces with I at the start (e.g. SwApplication -> ISwApplication, SwDocument -> ISwDocument)
  • ⚠ IXDocumentRepository::Open is replaced with transaction (also available as extension method) and DocumentOpenArgs is retired.
  • ⚠ IXModelViewBasedDrawingView::View is renamed to IXModelViewBasedDrawingView::SourceModelView
  • ⚠ IXCircularEdge::Center, IXCircularEdge::Axis, IXCircularEdge::Radius are replaced with IXCircularEdge::Definition
  • ⚠ IXLinearEdge::RootPoint, IXLinearEdge::Direction are replaced with IXLinearEdge::Definition
  • ⚠ IXGeometryBuilder is changed and available via IXApplication::MemoryGeometryBuilder
  • Added support for extrusion, sweep, revolve for memory IXGeometryBuilder
  • Added partial support for surfaces and curves as definitions for edges and faces
  • Added partial support for sketch entities in the sketch

0.6.6 - October 29, 2020

0.6.5 - October 14, 2020

0.6.4 - September 30, 2020

0.6.3 - September 30, 2020

0.6.2 - September 28, 2020

0.6.1 - September 23, 2020

0.6.0 - September 13, 2020

0.5.8 - September 1, 2020

  • Added new events:

    • IXConfigurationRepository.ConfigurationActivated
    • IXDocument.Rebuild, IXDocument.Saving
    • IXDocumentCollection.DocumentActivated
    • IXSheetRepository.SheetActivated
  • Added new interfaces

    • IXSheet
  • ⚠ Added parameter of IXDocument to NewSelectionDelegate

  • Fixed the issue with toolbar positions not maintained after SOLIDWORKS restart

  • state parameter of CommandStateDelegate is no longer passed with ref keyword

0.5.7 - July 19, 2020

  • Added support for TaskPane
  • Added support for Feature Manager Tab

0.5.0 - June 15, 2020

  • Added support for tabs and custom controls in property pages
  • Added support for 3rd party storage and 3rd party stream
  • Renamed to StandardIconAttribute to StandardControlIconAttribute

0.3.1 - February 9, 2020

  • ⚠ Renamed ControlAttributionAttribute to StandardIconAttribute

0.2.4 - February 6, 2020

  • Added ICustomItemsProvider to provide dynamic items for the ComboBox control in property pages

0.2.0 - February 6, 2020

  • Added support for selections
  • Added support for IXFace

0.1.0 - February 4, 2020

Initial Release