This commit is contained in:
GG Z
2025-07-31 20:12:24 +08:00
parent 4f6cd2137c
commit f209e7d3ad
426 changed files with 15854 additions and 6612 deletions

View File

@@ -47,6 +47,18 @@ public class ExplodeDwgCmd : ExternalCommand
}
}
try
{
if (geoObj is Solid solid)
{
var directShape = DirectShape.CreateElement(Document, f.FamilyCategory.Id);
directShape.SetShape(new GeometryObject[] { solid });
}
}
catch (Exception)
{
continue;
}
}
Document.Delete(element.Id);
});