I would like to know how to retrieve the bodies created by the methods DocumentOpen.Execute and DocumentInsert.Execute. The methods return a result object that has a GetCreated method, but I don't understand the syntax of GetCreated. It seems to require a TDoc object but TDoc doesn't exist. I would like to know how many surface bodies have been generated and I would like to be able to access the bodies so that I can assign a thickness to them. Can you provide example code how to achieve this? My current code is shown below.``
importOptions = ImportOptions.Create()
STLIO=importOptions.Stl
STLIO.ImportType=SpaceClaim.Api.V261.StlImportType.SolidOrSurfaceMergeFaces
result1=DocumentOpen.Execute(r"3.stl", importOptions)
result2=DocumentInsert.Execute(r"4.stl", importOptions, GetMaps("902ec201"))