Unable to import .SAT using ShapeImporter

Unable to import .SAT using ShapeImporter

Anonymous
Not applicable
541 Views
1 Reply
Message 1 of 2

Unable to import .SAT using ShapeImporter

Anonymous
Not applicable

Hi,

In my case IList<GeometryObject> shapes = shapeImporter.Convert(revitDoc, @"X:\for omkar\##forExports\91077PC200C3AA-036.sat");

if(shapes.Count !=0)

{

foreach (GeometryObject geo in shapes)
{
List<Solid> solids = new List<Solid>();
solids.AddRange(GetSolids(geo));
FreeFormElement ffe = FreeFormElement.Create(revitDoc, solids[0]);
var matList = ffe.GetMaterialIds(false);
ids.Add(ffe.Id);
}

}

giving me shapes.Count "0" for this specific file (geometry). therefore I am not able to import the geometry via ShapeImporter, however by using manual import functionality geometry is getting imported. I am facing problem with this particular file only.. Geometry is complex and surely it is one closed solid object.

Code posted works for other Geometries / .sat files I have.

Let me know if i can fix this through API by using any other method like revitdoc.import(...);

 

Also please allow to attach .3dm and .sat file formats in attachment, due to this m not able to attach the file to this post

 

find attach reference images of geometry

Any help would be really great!

Thanks

Om

0 Likes
542 Views
1 Reply
Reply (1)
Message 2 of 2

Moustafa_K
Collaborator
Collaborator

can you attach the sat file to do some tests from my side?

Moustafa Khalil
Cropped-Sharp-Bim-500x125-Autodesk-1
0 Likes