Inventor General Discussion

Inventor General Discussion

Reply
Mentor
CAD-One
Posts: 733
Registered: ‎10-26-2008
Message 1 of 4 (378 Views)
Accepted Solution

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

378 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 2015
Vault Professional 2015
Mentor
CAD-One
Posts: 733
Registered: ‎10-26-2008
Message 2 of 4 (358 Views)

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 2015
Vault Professional 2015
Product Support
bobvdd
Posts: 552
Registered: ‎11-23-2005
Message 3 of 4 (328 Views)

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

Mentor
CAD-One
Posts: 733
Registered: ‎10-26-2008
Message 4 of 4 (298 Views)

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 2015
Vault Professional 2015
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.