Content Center Replace: "Can't find category"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
So I've created a model that requires replacing parts from Content Center.
I have set up a custom CC desktop library and 2 iLogic scripts (1 on the document and 1 external).
Replacing so far has been successful, until the moment that I finished my model and started to replace about 60 entries in one go.
It always go fine in the beginning, but then on random entries it starts complaining that it can't find the CC category in the Library.
I was afraid that I was "overloading" Inventor with CC requests and decided to try finding an unfound category (that clearly exists as another time replacing goes smooth) upto 1000 times in a loop without success. I also implemented some Sleep() and DoEvents, but the problem persists.
Now I found after long debugging that after one or more successful replacements, InventorApplication.ContentCenter does not return the entire Content center, but some sort of subset.
Now my Category
Products
---SubProduct1
---SubProduct2
---SubProduct3
Suddenly only contains only Subproduct1. Similarly sometimes not all toplevel categories are in the object either.
This SubProduct1 is generally the one that I just replaced from. The behavior is not very consistent,...
Anyone else experience with this? In iLogic I use only this:
ThisApplication.ContentCenter
to access CC
Is there anything known about Content Center issues when using Automated placement? Anyone else doing mass replacement from CC using iLogic?