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

    Autodesk Inventor

    Reply
    Mentor
    CAD-One
    Posts: 634
    Registered: ‎10-26-2008
    Accepted Solution

    Drawing Annotation with a "text" linked to Item no.

    214 Views, 3 Replies
    05-24-2012 07:04 AM

    In an assembly drawing, I created an annotation for list of quality control notes. I need to link a specific  "text "with a link to a Item Number.

    If I for some reason change/renumber on the BOM the note in annotation should change.

     

    Is this doable?

     

    C1
    Inventor Professional 2013
    Vault Collaboration 2013
    Please use plain text.
    Mentor
    CAD-One
    Posts: 634
    Registered: ‎10-26-2008

    Re: Drawing Annotation with a "text" linked to Item no.

    05-24-2012 07:51 PM in reply to: CAD-One
    Atleast, is there some ilogic to do this?
    C1
    Inventor Professional 2013
    Vault Collaboration 2013
    Please use plain text.
    Product Support
    Posts: 519
    Registered: ‎11-23-2005

    Re: Drawing Annotation with a "text" linked to Item no.

    06-07-2012 12:04 PM in reply to: CAD-One

    Would VBA also work for you? Code is attached.

     

    As you have already discovered you cannot include the item number of the BOM in a drawing text or note.

    The best that I can offer you is to store the item number as a unitless value in a user parameter in each component.

    The caveat here is that the same component can be used in multiple assemblies and that even for the same assembly we can create multiple type of BOMS with different item numbers on teh same drawing.

    That is the reason why I ask to provide a unique name for the parameter when the macro starts. You must reuse the same parameter name for the same parts list to make sure that the item numbers in your text follow.
    The parametername has to respect the usual syntax limitations (no spaces, no special characters etc).

     

    Open a drawing and select a parts list prior to running the macro. After the nacro has run, you will get parameters that you can insert in drawing text. Set the precision to obtain the right number of digits.

     

    text dialog.JPG

     

    Here is an example prior to renumbering items:

     

    before.JPG

     

    Here are the same items after they have been renumbered. Note that the text correctly follows  the renumbering.

     

    after.JPG

     

     

    Cheers

    Bob

    Please use plain text.
    Mentor
    CAD-One
    Posts: 634
    Registered: ‎10-26-2008

    Re: Drawing Annotation with a "text" linked to Item no.

    07-09-2012 08:50 AM in reply to: CAD-One

    Bob,

    Though this ia good solution.Thanks for trying this.

     

    But unfortunately we dont want a VBA program solution. I think we will continue using the maual solution for now untill there is some enhancements to Inventor.

     

    Thanks

    C1

    C1
    Inventor Professional 2013
    Vault Collaboration 2013
    Please use plain text.