iAssemblies Needing Regenerated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have iLogic code that will insert an iassembly into a main assembly and then changes the iassembly to the correct member for the that job. All of the model files are located in the same directory. It works perfectly as long as the user is using the folder where they are initially stored. We'd like to give the models to other groups in our company to use. We have a PRM system, not Vault, where we store the files. If the user gets the files from the PRM and runs the program, the iassemblies are installed in the main assembly, but an error occurs when trying to set the member saying it cannot find the file. The iassembly member folders are all there as are the files inside the folder. We make sure the user is using the Inventor project inside the main assembly's folder.
I first thought it was something to do we our PRM, so I uploaded all the model files to a share point site and went through all the iassemblies and made sure they were all regenerated. My sync'd files work fine, but when someone else downloads the files from share point, the code errors again saying it cannot find the file.
I do not think it is my code, but I am using iPart.ChangeRow(OccurNo, PartNumber). I believe is it something to do with the iassemblies not "seeing" the member files, because the user can regenerate the members and the code will work. There are hundreds of iassemblies so making the user manually regenerate the files is not possible. I even created code to regenerate the files after downloading, but it still doesn't help. There is something missing that manually regenerating the files fixes.
Can someone please explain what is going on that is causing this problem?
Thanks!
Master Drafter/ CAD Programmer
Using Inventor 2018