I’m loading an IFC file with Aspose.Cad.Image.Load(stream)
LargeBuilding.zip (291.5 KB)
And saving it as an SVG, with these options:
options = new SvgOptions
{
TextAsShapes = false,
ColorType = Aspose.CAD.ImageOptions.SvgOptionsParameters.SvgColorMode.Rgb,
VectorRasterizationOptions = new CadRasterizationOptions
{
Quality = new RasterizationQuality { Text = RasterizationQualityValue.High, ObjectsPrecision = RasterizationQualityValue.High, Arc = RasterizationQualityValue.High, Hatch = RasterizationQualityValue.High },
PageWidth = width,
PageHeight = height,
AutomaticLayoutsScaling = true,
}
};
I get an SVG with no data:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="body_-160474540_81" width="512" height="512">
<g transform="matrix(0.0095764466 0 0 -0.0095764466 217.47725 242.82428)" >
</g>
</svg>
I’m able to render it as PNG fine, and I can see the image.
Thanks,
Kirk