I make nested family , annotation one nested in detail family, the annotation family has two reference plan only and I want to catch the middle part and side part and no way to do that in easy way, so I decide to catch the center and put dimension and use the formula
(half annotation dim * scale)
but no way to get the scale parameter
It is not clear to me what you exactly try to accomplish.
Maybe you can upload the family?
However within a family you can not access the scale of a view it is placed on.
If we better understand how your family is made and what you want to do, we maybe can offer you another approach.
Louis
Please mention Revit version, especially when uploading Revit files.
I've been working on a similar subject as the OP mentioned. Attached is the family I created, hope that readers in such a need can use and modify.