Add Custom Event (localize Measure Unit names in PartsList)

Add Custom Event (localize Measure Unit names in PartsList)

Maxim-CADman77
Advisor Advisor
342 Views
1 Reply
Message 1 of 2

Add Custom Event (localize Measure Unit names in PartsList)

Maxim-CADman77
Advisor
Advisor

I'd like to know if it is possible  to create some custom event to trigger custom command.

For example, In QTY column of IAM's BOM can contain not only numbers for components counted in pcs but also Values with some Measure Unit "m" "kg" etc.

It is Ok for English Drawings but not suitable for Drawings on other languages (global companies often create several drawings from one model).

We try to develop the command which will override values in those PartsList cells automatically (replace English Names of Measure units according to the drawing language) but this would be half-automation.

We'd like our command to run automatically on PartsList creation and after each IAM BOM change.

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
343 Views
1 Reply
Reply (1)
Message 2 of 2

marcin_otręba
Advisor
Advisor

Yes it is possible.

I would do this using some of assembly events ( OnAssemblychange & OnNewOccurrence & OnOccurrenceChange).

if one of above events occur script would automatically open reference drawing and change corresponding values.

 

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes