Designscript "Deconstruct.Surface" in Python

Has anyone succeed in implementing Designscript “Deconstruct.Surface” in Python scripts?
here the designscript sample:


i am constantly failing.
my approach:

iFresult = isolid.Intersect(iProtoFace[0])
for k in iFresult:
    test = Deconstruct.Surface(k)
    outlist.append(test.ToRevitType())

Hi @Peter_Kompolschek ,
I believe this method is from DesignTech package, not DesignScript.
You could easilly reproduce a method in your python code that does the exact same thing. Let us know if you need help with that!

@Mostafa_El_Ayoubi thank you for your reply!
you are right, my error!
thought it was plain ProtoGeometry and was wondering why i failed in accessing the method.
shall be more thoughtful in future
thank you!

1 Like