Autodesk Inventor
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
hi,
anyone tried the code ?still have the same error messages in line 16 and 19
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
hi code doesnt work,please help
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi mohan.nakka,
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,
Curtis
http://inventortrenches.blogspot.com

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Curtis,
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
Regards,
Mohan
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
hi curtis,
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?
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I treid this rule and unfortunately does not work for me, I suspect the reason is complicated BOM set up I use.
Other guys did not complain.
Re: iLogic set BOM via Visibility
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Why does this only work in Master LoD???



