Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
I am looking for a way to calculate the number of unique component types (excluding duplicates) in an assembly and automatically display this value in a drawing using parameters in Creo Parametric.
The goal is to achieve something like the red box in the attached image, where the number of unique components (e.g., ) is calculated and shown. If a part is used multiple times (e.g., the same part number), it should still be counted as one unique type.3
I would greatly appreciate detailed steps or examples to help implement this. Thank you in advance!
Hi,
I doubt that Creo can insert the maximum value of rpt.index into a drawing or model parameter.
I tried to apply it that way, but I failed.
@JK_12004273 wrote:
I tried to apply it that way, but I failed.
Hi,
that is obvious ... rpt.index is "visible" inside repeat region, only. Additionally, the model parameters are read-only inside repeat region.
Maybe using ModelCHECK in an assembly...?
There are ASM_BOM and UNQ_COMPONENTS checks.
You can parse ModelCHECK report and extract the check's values...
ModelCheck will give you this information:
You probably have other reasons, but on this drawing, the balloon number (rpt.index) is that counter???
Yes I can mark the last rpt.index number over there.