Releases: InventorCode/InventorShims
Releases · InventorCode/InventorShims
v2.0.0
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
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
- 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
Chore
- remove ILMerge nuget package dependency
Docs
- rebuild
- remove InventorShims-vb
v1.1.0
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!
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
This is an initital pre-release of InventorShims. Please check out the documentation for more information.