Research on methods for converting DWG format to SVG format

In response to the challenge of integrating DWG format files directly into web applications, a method is proposed to extract 2D graphic elements and framework elements from DWG files and convert them into SVG format. The method involves using the ObjectARX toolkit to traverse the file's graphic elements and framework hierarchy, thereby forming an object structure tree. Subsequently, the characteristics of objects with different data types are analyzed to determine their original drawing methods. Correspondences between objects in CAD and elements in SVG are established, allowing for the transformation of CAD objects' original drawing methods into suitable drawing methods for corresponding SVG objects. The resulting graphics are redrawn using SVG syntax. This method is implemented as an AutoCAD plugin, ensuring control over sensitive information and mitigating the potential risks of data leakage associated with the use of third-party conversion tools.

Authors

Institutions

Publication Details

Published
2025-06-30
DOI
https://doi.org/10.1117/12.3066749
Primary Topic
Power Systems and Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on methods for converting DWG format to SVG format

E.L. Li, Yi Zheng, Lifeng Liu, Yu Pu et al.
Power Systems and Technologies
article

Research on methods for converting DWG format to SVG format

E.L. Li, Yi Zheng, Lifeng Liu, Yu Pu, Xiaodong Meng
article en

Abstract

In response to the challenge of integrating DWG format files directly into web applications, a method is proposed to extract 2D graphic elements and framework elements from DWG files and convert them into SVG format. The method involves using the ObjectARX toolkit to traverse the file's graphic elements and framework hierarchy, thereby forming an object structure tree. Subsequently, the characteristics of objects with different data types are analyzed to determine their original drawing methods. Correspondences between objects in CAD and elements in SVG are established, allowing for the transformation of CAD objects' original drawing methods into suitable drawing methods for corresponding SVG objects. The resulting graphics are redrawn using SVG syntax. This method is implemented as an AutoCAD plugin, ensuring control over sensitive information and mitigating the potential risks of data leakage associated with the use of third-party conversion tools.

PowerChina (China) (CN), Clean Energy (United States) (US)
Openalex Percentile: Top 87%
Power Systems and Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.