Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Fix Index

harichennai

New member
Hi all,


IN drawing, I have a BOM - Repeat region, that contains approx 90 items..


I have a rule to arrange this according to the sizes, standard parts grouped together, Beams together..like that.


I want to avoid the BOM sorting manually, When I add a component, the BOM collapses(order disrrupted), I am spending 1 hr to fix the indexes as per my rule.


HOw to automate this BOM sorting in Tool kit?


All ideas are welcome.


Thanks & Regards


Hari
 
Unfix region and use relations in the repeat region to create a second index and sort on that index. You will have to have a statement for every PART_NAME possible (or whatever parameter you use) but it handles changes well:


Create relations


IfPART_NAME = "BEAM"


INDEX = 101


else if PART_NAME = "BOLT"


INDEX =103


else if PART_NAME = "GUSSET"


INDEX =102


endif


endif


endif


Add &rpt.rel.index as column in repeat region and


Set sort region to &rpt.rel.index Forward


If you don't want to see the new index, set text height to very small.
 
Yuck, what a friggin horrible way to do it. Surely it would be so much easier to create a single parameter in each component that defines its classification as beam, fastener, motor etc and make this your first sort order and length, width etc. as subsequent sort orders.


DB
 
If yourengineering management or customer won't add such parameter, its the only only option that I now of. Certainly if you can add a parameter it is better by far.
 
Thanks Guys...

Good news is that I do have parameter for each part in my asm.

Its called BOM_Name_Type_dimension.

So, now we need not have a relation based approach right?


Need your valuable directions..

Best Regards
Hari Varadh
 

Sponsor

Back
Top