Filled region Type from element


#1

So I have a filled region element selected from Revit. Is there an easy way to access the name of the filled region type? Element.Name returns “Filled Region”

I was able to get at it with python(code below) but there has to be an easier way. Any thoughts?

<span style=“color: #75715e;”>#unwrap all elements to use with API</span>
a=UnwrapElement(IN[0])

TypeID=a.GetTypeId()
type=doc.GetElement(TypeID)

<span style=“color: #75715e;”>#Assign your output to the OUT variable</span>
OUT = type

 

Thanks,

Nate


#2

Never mind I already figured it out…

Element.Type is what I was looking for.