Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I have used the &p## for getting the quantity of holes in a pattern for dimensioning a drawing.
Now I would like to use that same thing, but the holes are in a part of a subcomponent. I tried using &p##:XX (what I see when switching dimensions) The &p## is the pattern quantity and the :XX is referring to the subcomponent ID. When I do this, the "&" is dropped and is just shows P##:XX in the drawing.
You might be able to do this with some parameters and relations that "pass" the value up to the upper level assembly you need it in. It makes me grit my teeth to say it, but that might be the only way to do the job.