FS#2659 - File > SVG Export: unit centimeter not accepted
Andrew,
Related to this forum topic where an export by dwg2svg fails in various ways.
The document has drawing unit ‘none’, SVG options are (none=pixels, mm, cm, or in).
When trying to specify an alternative unit ‘cm’ a warning is displayed:
- Warning: Drawing unit ‘cm’ is not supported by SVG. SVG unit is set to ‘mm’.
Traced back to a typo in the SvgExporter.getSvgUnit function:
if (unit != RS.Centimenter && unit != RS.Millimeter && unit != RS.Inch && unit != RS.None) {...}
The correct Enum of supported units should be RS.Centimeter
Regards,
CVH
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task