Aspose.CAD for JAVA 25.10 change DWG BUG.GOT ERROR shape

This is my file GotErrorImg.zip (13.5 KB)
Correct shape:

Snipaste_2025-11-21_10-57-04.png (11.7 KB)

I use 25.10 version to change this dwg to svg ,I got Error shape:
error.png (19.7 KB)

I think this is very likely a bug.Because the program didn’t report any errors or warnings

@lhtim

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:

  1. Potential regression – a change in the DWG parser or SVG renderer that affects certain entities (e.g., blocks, hatches, 3‑D solids).
  2. Unsupported or complex DWG features – the file may contain objects that the current SDK version does not fully support.
  3. 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

  1. 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.

  1. Use a minimal conversion snippet
    Run the code above without any custom SvgOptions. If the error disappears, review any options you were applying.

  2. 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”.

  1. 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.
  1. 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.
  1. 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.

@lhtim,
Hi,
we can confirm the issue and created CADJAVA-12054 to resolve it.