Sloader Posted February 22, 2023 Share Posted February 22, 2023 Currently before I run a script that imports a batch of DXFs I import a single one manually to set the import properties (units and class mapping etc) I would like to get my scripts to do this. I think/hope I can use SetLastDXFImportOpt to do this - Is this correct? According to the appendices I can set the units using selector 301 but I can't see a reference for what integer to use the specify meters as the units - any ideas? Quote Link to comment
Sloader Posted February 22, 2023 Author Share Posted February 22, 2023 I think I have answered my own question dxfunits=vs.GetPrefInt(301) vs.Message(dxfunits) The above returns 6 for meters Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.