Skip to content

Releases: InventorCode/InventorShims

v2.0.0

20 Jan 04:45
17fc4e2
Compare
Choose a tag to compare

nuget package

Added

  • PropertyShim extension methods now work on the following document types:

    • PartDocument
    • AssemblyDocument
    • DrawingDocument
    • PresentationDocument
  • ParameterShim extension methods now work with the following document types:

    • PartDocument
    • AssemblyDocument
    • DrawingDocument
  • Ilogic code samples for some of the added extension methods.

  • Extension methods for use with LINQ and fluent design concerned with Documents, Parameters, and DocumentDescriptor objects.

New general extension methods:

extension method on object returns
IsContentCenter Document, PartDocument, AssemblyDocument, DrawingDocument, PresentationDocument bool
IsCustomContentCenter Document, PartDocument, AssemblyDocument, DrawingDocument, PresentationDocument bool

New IEnumerable Providers

extension method on object returns
EnumerateDocuments SelectSet IEnumerable<Document>
EnumerateDocuments IEnumerable<DocumentDescriptor> IEnumerable<Document>
EnumerateAllReferencedDocuments Document IEnumerable<Document>
EnumerateAllReferencedDocuments Document, PartDocument, AssemblyDocument, DrawingDocument, PresentationDocument IEnumerable<Document>
EnumerateReferencedDocuments Document, PartDocument, AssemblyDocument, DrawingDocument, PresentationDocument IEnumerable<Document>
EnumerateReferencingDocuments Document, PartDocument, AssemblyDocument, DrawingDocument, PresentationDocument IEnumerable<Document>
EnumerateReferencedDocumentDescriptors Document, PartDocument, AssemblyDocument, DrawingDocument, PresentationDocument IEnumerable<DocumentDescriptors>
EnumerateAllLeafOccurrencesDocumentDescriptors AssemblyDocument IEnumerable<DocumentDescriptors>
EnumerateParameters Document, PartDocument, AssemblyDocument, DrawingDocument IEnumerable<Parameter>

New IEnumerable Filters

extension method on object returns
AssemblyDocuments IEnumerable<Document> IEnumerable<AssemblyDocument>
DrawingDocuments IEnumerable<Document> IEnumerable<DrawingDocument>
PresentationDocuments IEnumerable<Document> IEnumerable<PresentationDocument>
PartDocuments IEnumerable<Document> IEnumerable<PartDocument>
RemoveAssemblyDocuments IEnumerable<Document> IEnumerable<Document>
RemoveDrawingDocuments IEnumerable<Document> IEnumerable<Document>
RemovePresentationDocuments IEnumerable<Document> IEnumerable<Document>
RemovePartDocuments IEnumerable<Document> IEnumerable<Document>
RemoveNonNativeDocuments IEnumerable<Document> IEnumerable<Document>

Changed

  • .Net Framework version bumped to 4.8

v1.3.1

03 Sep 22:12
Compare
Choose a tag to compare

Added

  • ExternalRuleDirectories object now implements the IDisposable interface, allowing the using keyword.
  • ExternalRuleDirectories documentation.
  • Updated Nuke Build system.

Changed

  • Integration test project "InventorShims.tests" now uses the NUnit test framework.
    • Refactored some duplicate tests into TestCases.
    • Refactored Inventor document creation routines to TestUtilities.cs.
  • Nuke build updated to Nuke 5.3.0
    • Nuget packages for build project updated.
  • Nuke build targets updated/created:
    • Nuke Compile
    • Nuke Pack
    • Nuke Push
    • Nuke BuildDocumentation
  • InventorShims.manual tests changed to InventorShims.ilogic.tests. Removed VS project associated with this.

Fixed

  • ExternalRuleDirectories.Add was not adding entires properly.
  • ExternalRuleDirectories.Remove was not removing entires properly.

Removed

  • InventorShims-vb project has been removed.
  • Errant NewtonSoft.Json package reference

v1.2.0

15 Aug 06:08
Compare
Choose a tag to compare
  • Added a new ExternalRuleDirectories object to simplify manipulation of the iLogic Addin's External Rule Directories.

C#:

ExternalRuleDirectories foo = new ExternalRuleDirectories();
foo.Add(@"C:\New Directory\");
foo.Remove(@"C:\Another Directory\")
int i = foo.Count;

List<string> myCopy = foo.Directories;
foo.Clear();

Please refer to the API documentation here for more info.

Find the nuget page here.

v1.1.1

12 Feb 03:17
Compare
Choose a tag to compare

Chore

  • remove ILMerge nuget package dependency

Docs

  • rebuild
  • remove InventorShims-vb

v1.1.0

12 Feb 02:47
Compare
Choose a tag to compare

Features

  • add changelog
  • add nuget package support
  • ParameterIsWritable string signature added
  • ParameterIsWritable now acts as an extension method

Chore

  • added git-chglog config
  • add nuspec
  • add logo for nuget package
  • Removed InventorShims-vs from builds
  • renamed InventorShims-cs to InventorShims

Docs

  • added initial changelog
  • removed reference to pre-release state.
  • Updated API docs link in readme
  • Added samples to ParameterShim, added more to the class description.
  • Added ParameterShim and PathShim samples.

Style

  • remove white space

Test

  • Added ParameterIsWritable unit tests.

First Full Release!

18 Jan 00:07
Compare
Choose a tag to compare

After a few months of work the first full release of InventorShims is ready for production. The API is now stable enough for everyday use without fear of major breaking changes in future versions.

InventorShims Initial Pre-Release

26 Dec 16:35
Compare
Choose a tag to compare
Pre-release

This is an initital pre-release of InventorShims. Please check out the documentation for more information.