Hello,
i cant get collection of analytical surfaces from analytical space. Revit2020

Code:
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
import clr
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
clr.AddReference('RevitAPI')
import Autodesk
clr.AddReference('RevitNodes')
import Revit
from Autodesk.Revit.DB import *
from Autodesk.Revit.Creation import *
clr.ImportExtensions(Revit.GeometryConversion)
con = Autodesk.Revit.DB.Analysis
doc = DocumentManager.Instance.CurrentDBDocument
tt = UnwrapElement(IN[0])
elementlist = list()
TransactionManager.Instance.EnsureInTransaction(doc)

for i in tt:
        ref1 = i.GetAnalyticalSurfaces()
        elementlist.append(ref1)


TransactionManager.Instance.TransactionTaskDone()
OUT = elementlist
Click image for larger version. 

Name:	Untitled.jpg 
Views:	4 
Size:	180.2 KB 
ID:	37846