Oops, my falut. I'm not good at multi-tasking! Find it attached to this post.
By data set I mean your assembly and it's accompanying parts.
I'm working for a tank manufacturing company.
The data set is not something I can just post and I suspect is too large anyway.
This is a large assembly with many parts.
I created LOD's which I now know will not produce the BOM's I require.
I created view reps from the LOD's and am trying to get ilogic to give me a BOM that reflects only the parts in the View rep.
The code you sent is giving the same error but in lines 13 and 16 now.
Tanks as in military tanks? If that's the case, I imagine mentioning as much as you have could get you in trouble!
I have two theories as to why your having problems. Try this version, and if it doesn't work then we'll test theory two.
There seems to be some mystery characters as shown.
If you retype the word BOMStructure in both places shown it should take care of it.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
That cleares the error message.I added this rule to an assembly file which has a view rep i created.i added this rule to fire with an event trigger "after save document".but none of the invisible components BOM structure is change to reference.Am i doing it right?Please help.
Thanks a lot
i created a sample assembly with few parts and tried the code,it works great.where should i use this code if i have sub assemblies in a top level assembly?
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register