• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor

    Reply
    Valued Mentor
    Posts: 2,175
    Registered: ‎12-12-2006

    Re: Component View Item Numbers – Methods and Suggestions

    06-15-2012 02:50 PM in reply to: Scotty87

    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?)

    Please use plain text.
    Contributor
    Scotty87
    Posts: 13
    Registered: ‎02-16-2012

    Re: iLogic: Create a View Representation for Each Part In theAssembly

    06-16-2012 04:59 AM in reply to: Curtis_Waguespack

    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.

    Please use plain text.
    *Expert Elite*
    Curtis_Waguespack
    Posts: 1,955
    Registered: ‎03-08-2006

    Re: iLogic: Create a View Representation for Each Part In theAssembly

    06-16-2012 07:50 AM in reply to: Scotty87

    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.



      solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.

    Please use plain text.
    Contributor
    Scotty87
    Posts: 13
    Registered: ‎02-16-2012

    Re: iLogic: Create a View Representation for Each Part In theAssembly

    06-16-2012 08:42 PM in reply to: Curtis_Waguespack

    Hey Curtis,

    Sorry to be a pain but is that post supposed to contain an attachment?

    Cheers.

    Please use plain text.
    *Expert Elite*
    Curtis_Waguespack
    Posts: 1,955
    Registered: ‎03-08-2006

    Re: Component View Item Numbers – Methods and Suggestions

    06-17-2012 02:04 AM in reply to: dan_inv09

    Hi Scotty87,

     

    Ooops! Sorry about that. :smileyembarrassed:

     

    Here it is.

     

    I hope this helps.
    Best of luck to you in all of your Inventor pursuits,
    Curtis
    http://inventortrenches.blogspot.com




      solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.

    Please use plain text.
    Contributor
    Scotty87
    Posts: 13
    Registered: ‎02-16-2012

    Re: Component View Item Numbers – Methods and Suggestions

    06-17-2012 02:50 AM in reply to: dan_inv09

    Thanks for that! It's working well so far.

    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎08-30-2007

    Re: Component View Item Numbers – Methods and Suggestions

    10-28-2012 09:45 PM in reply to: Scotty87

    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.

    Please use plain text.