Unable to import .SAT using ShapeImporter

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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