ActiveUIDocument and CurrentDBDocument

how do we know getelementId is under ActiveUIDocument and getelement is under CurrentDBDocument

image

I would say be searching the Revit API for the method you want (I guess ?) :slight_smile:

http://www.revitapidocs.com/2018.1/

i can see a convert method under DesigntoFabricationConverter class. but i don’t know how to relate it. example

what should i write here.Convert(selection, ServiceId) to convert design element to fab