- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @Andrii_Humeniuk , thanks for your reply ![]()
I had considered doing something like you did for optimizing, but didn't trust that I knew for sure what I was doing.
With your code, it throws an "exception at Hresult" error on line 5. I probably should have mentioned that "TekNum" is automatically populated, which I'd imagine is what causes this.
Currently, teknum is: "=<ProjectYear><OrderNO><PART NUMBER>"
I am not quite sure what you would want a screenshot of?
The main issue that remains with this(my) code, is that if it is run, all occurences get the "TekNum" property of the assembly from which the code is getting run.
Instead, I want the "TekNum" property of every assembly be sent to it's underlying occurences.
So: Main assembly sends the "TekNum" value to "samenstelling" in the subassemblies it contains. Those assemblies send their "TekNum" value to "samenstelling" in their underlying subassemblies. It doesn't matter if it also does, or tries to, populate these values in other occurences apart from assemblies, which is why I have just been using occurences.
I imagine this would complicate the code needed for the "TekNum" part quite a bit, but I don't really have insight into this.
Thanks for taking the time to look at my scribblings ![]()