JordanRobot.iPropertyGroups
1.0.0
See the version list below for details.
dotnet add package JordanRobot.iPropertyGroups --version 1.0.0
NuGet\Install-Package JordanRobot.iPropertyGroups -Version 1.0.0
<PackageReference Include="JordanRobot.iPropertyGroups" Version="1.0.0" />
paket add JordanRobot.iPropertyGroups --version 1.0.0
#r "nuget: JordanRobot.iPropertyGroups, 1.0.0"
// Install JordanRobot.iPropertyGroups as a Cake Addin #addin nuget:?package=JordanRobot.iPropertyGroups&version=1.0.0 // Install JordanRobot.iPropertyGroups as a Cake Tool #tool nuget:?package=JordanRobot.iPropertyGroups&version=1.0.0
iPropertyGroups
A library for Autodesk Inventor that lets you manage user-defined groups of iProperties.
What does it do?
Lets say you have a group of iProperties that you want to apply to various Inventor files. Typically you'd hard-code a bunch of iProperties and default expressions/values into your code. Then you'd write custom logic to manage and apply these to documents.
This library takes most of that management drudgery out of your hands. You can define a group of iProperties into an PropertyGroup object. The PropertyGroup objects are a dictionaries of simple strings with some extra methods. If you have multiple PropertyGroup objects, they can be managed from an PropertyGroups object. You can load PropertyGroups objects from json files.
This library will not do any checks against what documents are suitable to be modified (e.g. content center files, library files, etc).
Here is a simple iLogic rule showing the library in use:
AddReference "iPropertyGroups.dll" Imports iPropertyGroups 'Create a PropertyGroups object and load a json file into the object. Dim oGroups As PropertyGroups = PropertyGroups.LoadJson("C:\Path\to\your\propertygroups-definition.json") 'Get active document object... Dim oDoc As Inventor.Document = ThisApplication.ActiveDocument 'Apply PropertyGroups object to the document... oGroups.Item("Stock Part").ApplyToAndOverwrite(oDoc)
Documentation
Find the detailed instructions and API reference here.
License
This code is under an MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net47 is compatible. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.7
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial Release