Advertisement
s2c-code-share

Automation Script Example: Convert all DXFs in Directory to DWG

Feb 15th, 2022
1,220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. imgs = s2c.list("path/to/input_directory", "dxf")
  2.  
  3. for i in imgs:
  4.     v = i.open()
  5.     v.save(v.path, s2c.Vector.ExportType.DWG)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement