Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public static Reference Reference(Element Familyinstance)
FamilyInstance familyInstance = (FamilyInstance)Familyinstance.InternalElement;
Options options = new Options();
options.ComputeReferences = true;
options.IncludeNonVisibleObjects = true;
var result = familyInstance.get_Geometry(options)
if (result == null) return null;
return result.Reference;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment