Summary
You are converting a DWG file to SVG with Aspose.CAD for Java 25.10 and the resulting SVG shows an incorrect shape.
Why it happens
The evidence available does not contain specific information about a known bug in version 25.10 of Aspose.CAD for Java. However, such rendering issues can arise from:
Potential regression – a change in the DWG parser or SVG renderer that affects certain entities (e.g., blocks, hatches, 3‑D solids).
Unsupported or complex DWG features – the file may contain objects that the current SDK version does not fully support.
Conversion options – custom SvgOptions (layer handling, rasterization, etc.) can unintentionally alter the output.
Because no exception is thrown, the problem is most likely a rendering discrepancy rather than a runtime error.
What to do next
Verify with other SDK versions
// Try an earlier build (e.g., 25.9) or the latest available (e.g., 25.11)
CadImage image = (CadImage) Image.load("input.dwg");
image.save("output.svg", new SvgOptions());
If the SVG is correct with a different version, the issue is a regression in 25.10.
Use a minimal conversion snippet
Run the code above without any custom SvgOptions. If the error disappears, review any options you were applying.
Enable detailed logging to capture internal processing information:
System.setProperty("com.aspose.cad.logging", "true"); // writes log to console
// Or configure Log4j/SLF4J as described in Aspose.CAD documentation.
Look for warnings such as “Unsupported entity type” or “Fallback rasterization used”.
Inspect the DWG in a native CAD viewer (AutoCAD, DraftSight, etc.)
Identify the exact object that becomes corrupted.
If possible, simplify the drawing (explode blocks, flatten 3‑D geometry, remove complex hatches) and retry the conversion.
Collect diagnostic information if the problem persists:
Full console log with logging enabled.
The exact Java code you use (including any SvgOptions).
Java runtime version and OS details.
Confirmation whether the same issue occurs with other DWG files.
Report the issue to Aspose
If the file works in other versions but not in 25.10, open a support ticket through your Aspose account. Attach:
The original DWG file.
The generated (incorrect) SVG.
Log output and the minimal reproducible code snippet.
The Aspose CAD team can then investigate and provide a fix or a workaround.
Note: The provided evidence does not contain specific release‑note details for version 25.10, so the above steps are general troubleshooting guidance based on typical Aspose.CAD usage.
SDK version unclear — refer to the official release notes before applying this guidance.