Problem about Dimension by reference

I tried to use “Element.ElementFaceRefereces” for reference of Dimension but it comes with no Results even it does not have warning.

Later I use Familyinstance Reference instead and it works. However it is not best method for me as my dimension is not exactly based on Reference Line of the family.

My question is: Is is possible to use “Element.ElementFaceRefereces” as input for Dimension ByReference? Is there any missing if it is possible? Thank you!


The ElementFaceReference class doesn’t exist in the Revit API, only in Dynamo and the Dimension ByReferences node uses only Autodesk.Revit.DB.Reference API for now.
It is probably possible to reproduce the Element.ElementFaceReferences node with Autodesk.Revit.DB.Reference output.


Thanks for your answering. Could you teach me how to transform Face Reference to DB Reference in Dynamo