QTY and sketch Library

johan.degreef
Advisor
Advisor

QTY and sketch Library

johan.degreef
Advisor
Advisor

I think one can make a Sketch Symbol with a variable (iproperty) in it. Could this variable be linked to an assembly (you can choose) to have a sticker on the drawing with the QTY it needs to be produced?

 

Screenshot_28.jpg

Inventor 2025, Vault Professional 2025, Autocad Plant 3D 2025
0 Likes
Reply
211 Views
2 Replies
Replies (2)

YannickEnrico
Advisor
Advisor

You can get a custom iProperty on your sketch symbol:

You just need an assembly with the custom iproperty in the drawing while defining the symbol.

After that you can remove the assembly and save copy as template.

 

When inserting it'll only be filled if the assembly (or part) has that custom iproperty.

 

Edit: If you want a QTY based on a main assembly, I think you need code to push that from the main assembly to the sub assembly - And then the drawing can only pull the properties from the attached model, so reusing the part or assembly in another configuration might not yield the same QTY

YannickEnrico_0-1711534776458.png

YannickEnrico_1-1711534822157.png

 

_______________________________________________________________________________________
Intel Core i9-14900KF
64 GB DDR5 6000 MHz
2TB WD_BLACK
RTX A4000
------------------------------
Inventor 2024 Professional

A.Acheson
Mentor
Mentor

Hi @johan.degreef 

Unfortuantely no easy out of the box way to get what you want on to a production drawing. The children (sub assembly) don't know where to find the parent and retrieve the qty. This information should be displayed on the parent assembly drawing or in the work/assembly orders in the inventory software.

 

As @YannickEnrico mentioned there is ways by code to achieve the qty but really they are long work arounds and you need to fire the code to ensure the qty remains accurate therefore bringing in human error and mistakes.

 

One workaround method is to detail the drawing from the parent assembly and then the view has a reference to the parent. You can then match the sub assembly qty to the Assembly BOM and insert the qty in a static text. In this way you have no iproperties to update and contaminate your standard sub assembly. 

 

Another code workaround would be to launch a rule from the sub assembly drawing asking  the user to browse for the parent assembly and then you can match the part number to the bom and retrieve the qty. 

 

Or another alternative is to launch a rule from the parent assembly to look for the sub assembly drawing allready open and add the qty from the parent BOM.

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan