DesignProjectManager issues, trying to add libraries to projects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I decided to take another crack at getting projects to populate with the library info we use in every project, so we don't have to manually set these every time and inevitable forget.
So the situation is that we have 3 libraries in question, all are stored on a shared drive
The first is a library of parts and assemblies, which we insert/copy from often
The second is a custom appearance library, that we would prefer to be the default because it fits our usage more than the default Inventor one
The third is a custom material library, same deal as appearance
Ideally I would just set the 'Default' project with those libraries and new projects would inherit those, but that is not the case with Inventor.
Doing it code-wise, the big difficulty is that once the project is opened, it can't be edited, and the "OnActiveProjectChanged" event essentially fires after setting the project read-only so I can't leverage that.
And just now I conceded making it automatic and tried to use the "DesignProjectManager.AddOptionsButton()" function, only to find out that the button created by that will not actually fire its "OnClick" event, so I can't do anything with said button
Anyone else have an idea at this point?