Quantcast
Channel: OpenRoads | OpenSite Forum - Recent Threads
Viewing all articles
Browse latest Browse all 15596

MX SS4 08.11.09.845 Using the SCRIPT major option

$
0
0

In order to avoid an issue with exporting 2D DGNs from SS4 (strings are being saved as 3D polylines with no levels, causing issues with linetypes, etc.), we are exporting to Native DGNs, then converting these to DWGs.

I'm trying to speed thing up, since updating layouts, profiles, etc. for each option when doing a double export, even using Batch Convert, can be quite laborious. So I'm trying out something, using the introduction of SCRIPT for processing of external / CAD operations as follows: SCRIPT, key-in {command}, {parameter} i.e. script, Save As dwg drawingname.dwg -  saves the current drawing to the named drawing.

So I've added code to my input file as follows:

SCRIPT,MX EXPORT NATIVE_DGN [filename]_NATIVE.DGN to create the native DGN

NEWDPF,[filename]_NATIVE.DGNto open the DGN just created, tells me it's an invalid filename (using DPW  or DPF  just opens empty drawings)

SCRIPT,SAVE AS DWG [filename].DWGto save the native DGN as a DWG, nothing saved.

Can anyone help me get the last two lines to work?

Euan


Viewing all articles
Browse latest Browse all 15596

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>