Community
Hi All,
I'm using Revit 2020.
I want to retrieve face from pick face of plates but result is null. (face = null)
Can i do this at Revit 2020 API ? and how ?
Thank in advanced !
Reference pickObject = UiDoc.Selection.PickObject(ObjectType.Face, "Please select Face");
Face face = Doc.GetElement(pickObject).GetGeometryObjectFromReference(pickObject) as Face;
This one is an easy solve.
Element myElement = Doc.GetElement(pickObject.ElementId);
Face myFace = myElement.GetGeometryObjectFromReference(pickObject) as Face;
If they're handing out free donuts....TAKE ONE.
Can't find what you're looking for? Ask the community or share your knowledge.