Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Automation Script Example: Convert all DXFs in Directory to DWG
s2c-code-share
Feb 15th, 2022
1,655
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
imgs
=
s2c.
list
(
"path/to/input_directory"
,
"dxf"
)
for
i
in
imgs:
v
=
i.
open
(
)
v.
save
(
v.
path
,
s2c.
Vector
.
ExportType
.
DWG
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Easy 38% Arbitrage
CSS | 9 sec ago | 0.43 KB
1OOO USD / 30Min
CSS | 57 min ago | 0.43 KB
38% Arbitrage EARN
CSS | 60 min ago | 0.43 KB
Untitled
3 hours ago | 6.63 KB
blank layout
5 hours ago | 0.14 KB
IIRLowPassShift
Python | 6 hours ago | 0.55 KB
Music Used in Neon Genesis Evangelion Video E...
6 hours ago | 1.06 KB
Untitled
6 hours ago | 7.15 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!