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: Component View Item Numbers – Methods and Suggestion s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
If there was an add-in or something that would quickly create a view rep for each part
If you could make added parts not affect certain view reps after creation
If the grayed out boxes in the text dialog worked (maybe a little smarter, but let's start with just "work")
Unless I'm reading your solution wrong, those are the differences between it and method 2
We shouldn't go asking for brand new features when all we need is small enhancements (fixes) to an existing one.
[It seems like they went, "Time's up, people. Put your pencils down!" every time they wanted a new feature in the upcoming release. Plus if they start on something new who knows what might get messed up.]
(For your last point for method 2, I've always had to create a new ("separate") base view for a flat pattern. Am I missing something?)
Re: iLogic: Create a View Representa tion for Each Part In theAssembl y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for the code Curtis.
I've just created a rule in an assembly file and typed the code in (tried to copy paste but got about 6 errors), and when I try to run it I get the error "Object reference not set to an instance of an object".
I'm still a bit of a noob with iLogic/VBA, but I'm picking it up.
Re: iLogic: Create a View Representa tion for Each Part In theAssembl y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Scotty87,
Here's the rule in a text file. Hopefully the errors were just due to the copy/paste from the forum. If you still see errors after copying and pasting from the text file and running the run in a simple assembly just let me know.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Edit: I just noticed a flaw in this rule that I'll need to fix at some point (if you two instances of a part in the assembly (PartA:1 and PartA:2) and you delete instance one (PartA:1), the rule does not make a view rep. I'll need to fix it so that it looks for the first instance of each part, rather than instance " :1" of each part.

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Re: iLogic: Create a View Representa tion for Each Part In theAssembl y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hey Curtis,
Sorry to be a pain but is that post supposed to contain an attachment?
Cheers.
Re: Component View Item Numbers – Methods and Suggestion s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Scotty87,
Ooops! Sorry about that. ![]()
Here it is.
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: Component View Item Numbers – Methods and Suggestion s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for that! It's working well so far.
Re: Component View Item Numbers – Methods and Suggestion s
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
YES! YES!
We need to be able to have the item numbers be carried through to other views. It gives much more continuity to the drawing set.
It would be great if we could access the item number you would find within the bill of materials in our own symbols allowing us to give much needed information to the fabricators without confusing them.


