<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Converting From Microstation to Autocad in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039530#M9969</link>
    <description>&lt;P&gt;could you share your converted dwg?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 21:18:02 GMT</pubDate>
    <dc:creator>paullimapa</dc:creator>
    <dc:date>2024-09-23T21:18:02Z</dc:date>
    <item>
      <title>Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13038931#M9968</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Microstation, I ran a batch process from dgn to dwg. I have all of my newly converted dwg files but my paperspace page layout is set to 8.5x11 and does not contain a viewport. I would like to know the quickest way to set page layouts for all files to 11x17 along with creating batch viewports (single, FIT) for a set of project drawings.&lt;/P&gt;&lt;P&gt;The reason I need for viewports set to FIT is because some drawings in Model Space are not located at the same coordinates as other drawings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please provide a lisp to do this or perhaps suggest another efficient method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two separate methods I was thinking on how to create a viewport:&lt;/P&gt;&lt;P&gt;1) Going from Microstation to AutoCad: Level map the Microstation titleblock "level x" to an Autocad layer "titleblock_x". Then in AutoCad, create a single viewport, FIT, to layer "titleblock_x". Doing this would create a viewport specific to the layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) In AutoCad, run a lisp to freeze all layers except for the layer "titleblock_x". Then create a single viewport, FIT.&amp;nbsp; Afterwards, unfreeze everything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;note:&lt;/P&gt;&lt;P&gt;I have created an 11x17 dwt file which contains a viewport.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I look forward to hearing from you and hope you help me reach a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 16:39:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13038931#M9968</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-23T16:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039530#M9969</link>
      <description>&lt;P&gt;could you share your converted dwg?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 21:18:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039530#M9969</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-23T21:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039699#M9970</link>
      <description>&lt;P&gt;Hi Paul, unfortunately I am unable to share my drawings. However, the process I'm looking for would apply for any set of dwg drawings. Essentially, my goal is to apply an 11x17 page layout&amp;nbsp;and viewport MVIEW, FIT to an entire set of drawings in a directory. Would you know a method? This would save a lot of time for me. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 22:42:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039699#M9970</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-23T22:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039732#M9971</link>
      <description>&lt;P&gt;Little more challenging now if you can't share any sample drawings.&lt;/P&gt;&lt;P&gt;First, I'm not sure about the &lt;STRONG&gt;FIT&lt;/STRONG&gt; to &lt;STRONG&gt;Layer&lt;/STRONG&gt; &lt;SPAN&gt;"&lt;STRONG&gt;titleblock_x&lt;/STRONG&gt;"&amp;nbsp;&lt;/SPAN&gt;part.&lt;/P&gt;&lt;P&gt;If it was set to the lower left &amp;amp; upper right window coordinates of a &lt;STRONG&gt;Block&lt;/STRONG&gt; named&amp;nbsp;&lt;SPAN&gt;"&lt;STRONG&gt;titleblock_x&lt;/STRONG&gt;" in model space then that would be easily doable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also here are more questions relating to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;your &lt;STRONG&gt;11x17.dwt&lt;/STRONG&gt; template:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Have you created a page setup with a specific name that you would like to be imported?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. What is the name the of the &lt;STRONG&gt;Layout&lt;/STRONG&gt; that you have the 11x17 vport already created to be inserted?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. What version of AutoCAD are you running?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 23:14:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039732#M9971</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-23T23:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039754#M9972</link>
      <description>&lt;P&gt;Understandable. The goal is to batch MVIEW, FIT on 11x17 landscape for all drawings in the directory. Below are my responses to your questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I have created a "new" page layout here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_0-1727133962996.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412822i722F84F603B36645/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_0-1727133962996.png" alt="abel_henok_0-1727133962996.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) The name of the layout after the conversion is &lt;STRONG&gt;Layout1&amp;nbsp;&lt;/STRONG&gt;(this applies for all of the drawings as well). Each file has one Model and one Layout1 tab&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_1-1727134109268.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412823iA3736740B37B835C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_1-1727134109268.png" alt="abel_henok_1-1727134109268.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) AutoCad Electrical 2022&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 23:31:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039754#M9972</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-23T23:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039778#M9973</link>
      <description>&lt;P&gt;Ok, back to the FIT question.&lt;/P&gt;&lt;P&gt;In AutoCAD language that would be ZOOM Extents.&lt;/P&gt;&lt;P&gt;So whatever objects are in the model will determine the extents of the display.&lt;/P&gt;&lt;P&gt;Or do you have a specific title block which is a block that you want to zoom window into?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 23:48:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039778#M9973</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-23T23:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039799#M9974</link>
      <description>&lt;P&gt;The way these drawings were converted from MicroStation...the titleblock along with the designs are all in modelspace in AutoCad. The titleblock is on a reference file. Some drawings are on different coordinates in comparison to other drawings. However, if I freeze all layers in all drawings with a Lisp (except the xref border layer). We can find a method to set all page layouts to 11x17 followed by MVIEW or Zoom Extents for all drawings. The viewports will then be created based on the border. Afterwards, I plan to unfreeze all layers with the lisp you created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For future drawings, we will have our titleblocks in Paperspace with dwt files. Though for now, we have way too many files to convert so we would just like to&amp;nbsp;convert our drawings into Autocad by the above process. Please let me know your thoughts. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 00:08:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039799#M9974</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-24T00:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039824#M9975</link>
      <description>&lt;P&gt;Unzip the attached 11x17.scr file and with one of the converted dwgs opened enter the &lt;STRONG&gt;SCRIPT&lt;/STRONG&gt; command and select this &lt;STRONG&gt;11x17.scr&lt;/STRONG&gt; file to see if it works.&lt;/P&gt;&lt;P&gt;FYI: Your&lt;STRONG&gt; 11x17.dwt&lt;/STRONG&gt; needs to be saved in a location &lt;STRONG&gt;AutoCAD Electrical&lt;/STRONG&gt; can find like with the other template files.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 00:15:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039824#M9975</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-24T00:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039875#M9976</link>
      <description>&lt;P&gt;The first time I entered "SCRIPT" in the command line, a window prompt appeared allowing me to choose the 11x17.scr file. However, now I do not receive a window prompt and instead receive the following message in the command prompt:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_0-1727139180419.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412852i5E4EEE505AE07883/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_0-1727139180419.png" alt="abel_henok_0-1727139180419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is displaying the dwg file name and location and doesn't allow me to select or enter the 11x17.scr file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 00:54:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039875#M9976</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-24T00:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039880#M9977</link>
      <description>&lt;P&gt;This means the script I provided did not complete but crashed somewhere.&lt;/P&gt;&lt;P&gt;Enter at the command prompt:&lt;/P&gt;&lt;P&gt;FILEDIA&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;CMDDIA&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;You'll have to run the 11x17.scr file again and then hit F2 to see the Text screen and see where it failed.&lt;/P&gt;&lt;P&gt;Perhaps it could not find your 11x27.dwt which would cause it to fail?&lt;/P&gt;&lt;P&gt;Difficult to troubleshoot also without your dwt/dwg files.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 00:58:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039880#M9977</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-24T00:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039918#M9978</link>
      <description>&lt;P&gt;The commands you mentioned resolved the issue after setting values to 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, what's the intent of the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed it does create a view port on a single drawing. However, the page layout is now 11x17 but it is not fit and is not applying to the entire set of drawings in the directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please look at the below image for reference of the viewport in Paperspace page layout and let me know your thoughts.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_0-1727141514678.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412859iB4609D884499C651/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_0-1727141514678.png" alt="abel_henok_0-1727141514678.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 01:36:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039918#M9978</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-24T01:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039935#M9979</link>
      <description>&lt;P&gt;I think we're getting closer.&lt;/P&gt;&lt;P&gt;When I run your script, it's using the dwt file to which contains the 11x17 layout and viewport on a per drawing basis. Afterwards, when I run the attached zoome lisp, it performs a zoom extents within the viewports for multiple page layouts within the same drawing.&lt;/P&gt;&lt;P&gt;If we can have this apply for an entire directory of files, that would be awesome!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 02:00:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13039935#M9979</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-24T02:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13040044#M9980</link>
      <description>&lt;P&gt;Since something is crashing with the script file I provided and you don't know how to troubleshoot it on your end,&lt;/P&gt;&lt;P&gt;you can test by executing each line at a time by copying it to AutoCAD's command prompt to see where it fails.&lt;/P&gt;&lt;P&gt;But per your post it looks like it imported the layout from your 11x17.dwt properly.&lt;/P&gt;&lt;P&gt;So with that in mind we can assume at least up to this point it works.&lt;/P&gt;&lt;P&gt;Here's one method to run a series of commands on a set of dwgs in a folder:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.lee-mac.com/scriptwriter.html" target="_blank"&gt;Script Writer | Lee Mac Programming (lee-mac.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What you can try is fill out the Script Line on Lee Mac's program like this (assume your Zoome.lsp is in a File Support Path location):&lt;/P&gt;&lt;LI-CODE lang="general"&gt;_.Open *file* _.TILEDMODE 1 _.FILEDIA 0 _.CMDDIA 0 _.-LAYOUT _D Layout1 _.-LAYOUT _T 11x17.dwt Layout1 _.-LAYOUT _D Layout2 _.CTAB Layout1 _.FILEDIA 1 _.CMDDIA 1 (load"zoome") ZoomE _.Qsave _.Close&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1727146720995.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412891i534B4AFFE8F689FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1727146720995.png" alt="paullimapa_0-1727146720995.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 03:04:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13040044#M9980</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-24T03:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13041399#M9981</link>
      <description>I haven't tested the above method yet simply because of an IT block on script files running in an entire directory.&lt;BR /&gt;&lt;BR /&gt;However, as of now, when I type "SCRIPT" into the command line...it creates a new layout tab "Layout2-Layout1" which is correct (11x17 with viewport) but the current existing layout tab, Layout1 will be correct after running the "SCRIPT" command a second time.&lt;BR /&gt;&lt;BR /&gt;If it's possible, I'd like to see if we can just have "SCRIPT" modify "Layout1" using the dwt and possibly rename "Layout1" tab to "11x17". (The renaming is not as important but would be nice)&lt;BR /&gt;&lt;BR /&gt;Our stakeholders would prefer to have one Layout Tab instead of creating a new Layout Tab called, "Layout2-Layout1".&lt;BR /&gt;&lt;BR /&gt;Afterwards, we may still need this command to be executable in a LISP so that we can batch apply it to a directory.&lt;BR /&gt;&lt;BR /&gt;Please let me know your thoughts and I truly appreciate you!&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Tue, 24 Sep 2024 14:18:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13041399#M9981</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-24T14:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13041610#M9982</link>
      <description>&lt;P&gt;Hopefully your IT staff will make an exception in this case to allow script files to run on dwgs in an entire folder for batch processing.&lt;/P&gt;&lt;P&gt;As for the Layout name, my original script file purposely deletes Layout1 so the Layout1 can be imported from your 11x17.dwt template file.&lt;/P&gt;&lt;P&gt;But this didn't work (again I'm guessing here since I don't have your converted dwgs to test with) could be because your drawing is currently set with Layout1 current.&lt;/P&gt;&lt;P&gt;I've modified the attached script files in 2 versions for you to test this theory.&lt;/P&gt;&lt;P&gt;Both of them goes to Model tab using Tilemode 1 before running the rest of the commands.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;11x17-1.scr&lt;/STRONG&gt; would then delete current drawing's Layout1, imports Layout1 from your 11x17.dwt template and also deletes Layout2 if any. Then it sets Layout1 current, goes to Mspace, does a Zoom Extents and ends in Pspace&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1727196934042.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413339i271C2546017F6D09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1727196934042.png" alt="paullimapa_0-1727196934042.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;11x17-2.scr &lt;/STRONG&gt;first renames Layout1 to Layout0,&amp;nbsp;imports Layout1 from your 11x17.dwt template, and then deletes Layout2 if any and Layout0 leaving the dwg with just Layout1.&amp;nbsp;Next it sets Layout1 current, goes to Mspace, Layer Thaws &amp;amp; Sets to 0, Freezes *, Thaws Layer *titleblock_x and then does a Zoom Extents and ends by Layer Thaw * and returns to Pspace. This version should take care of properly zooming the pspace vport to your layer&amp;nbsp;*titleblock_x.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1727196945422.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413340iD20D983D1C186524/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1727196945422.png" alt="paullimapa_1-1727196945422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know how these work out for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 16:55:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13041610#M9982</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-24T16:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042771#M9983</link>
      <description>&lt;P&gt;Hey Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for providing the additional scripts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I would like to provide my steps to you just to be sure I executed your process correctly...the following were my steps:&lt;/P&gt;&lt;P&gt;1) Download, unzip and place .scr files in a trusted location.&lt;/P&gt;&lt;P&gt;2) Added the location of all files in a trusted location in AutoCad (11x17.dwt is located in the templates location and also in the location with the folder containg directory of .dwg files)&lt;/P&gt;&lt;P&gt;3) Appload&amp;nbsp;&lt;STRONG&gt;DwgAccPikScrA.lsp&amp;nbsp;&lt;/STRONG&gt;and entered&amp;nbsp;&lt;STRONG&gt;DwgAccPikScrA &lt;/STRONG&gt;in command line&lt;/P&gt;&lt;P&gt;4) Selected the folder with directory of .dwg files&lt;/P&gt;&lt;P&gt;5) Selected and tested individually: &lt;SPAN&gt;&lt;STRONG&gt;11x17.scr&lt;/STRONG&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;11x17-1.scr,&amp;nbsp;11x17-2.scr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All three scripts run as intended. I can see the commands in the .exe as shown in the image below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_0-1727218010094.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413574i9512EB3EA93F588B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_0-1727218010094.png" alt="abel_henok_0-1727218010094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I don't see any changes to the drawings in the directory. Notice the timestamps on the drawings below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_2-1727219131019.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413576i8415FC4826C6C498/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_2-1727219131019.png" alt="abel_henok_2-1727219131019.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though, I do notice files did populate in the temp folder with filetypes set to "file". Please see the image below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_1-1727218215021.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413575iC7F29F84E4543ED4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_1-1727218215021.png" alt="abel_henok_1-1727218215021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps the script is not overwriting the existing files in the directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*Note:&amp;nbsp;&lt;STRONG&gt;11x17-2.scr &lt;/STRONG&gt;works great on a single drawing when I enter script in the command line and select&lt;STRONG&gt;11x17-2.scr. &lt;/STRONG&gt;It uses the dwt and also performs zoom extents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 23:21:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042771#M9983</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-24T23:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042781#M9984</link>
      <description>&lt;P&gt;That's because none of the scripts I gave you provided a QSAVE command at the end to save all the changes.&lt;/P&gt;&lt;P&gt;I've now added that which should now save the dwg before closing.&lt;/P&gt;&lt;P&gt;Let me know if 11x17-2.scr now properly zooms the vport location.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1727219813091.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413578i94844365EFC7E8E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1727219813091.png" alt="paullimapa_0-1727219813091.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1727219818310.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413579iC31DECB82D5FFC20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1727219818310.png" alt="paullimapa_1-1727219818310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 23:17:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042781#M9984</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-24T23:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042841#M9985</link>
      <description>&lt;P&gt;Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked! You are truly amazing. Page &lt;STRONG&gt;Layout1&lt;/STRONG&gt; for all drawings in directory are 11x17 and viewports are FIT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though I would like to mention a few things:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) We now have &lt;STRONG&gt;Layout2&lt;/STRONG&gt; tab in all drawings. Do you think we can modify&amp;nbsp;&lt;STRONG&gt;11x17-2.scr&amp;nbsp;&lt;/STRONG&gt;to delete &lt;STRONG&gt;Layout 2&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) In the directory, we have our updated .dwg files along with &lt;STRONG&gt;.bak, .dwl&lt;/STRONG&gt; and &lt;STRONG&gt;.dwl2&lt;/STRONG&gt;. Is it possible to remove&amp;nbsp;&lt;STRONG&gt;.bak, .dwl and .dwl2&lt;/STRONG&gt; from the directory?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abel_henok_0-1727222311445.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413591i7A956ACBC1D299E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abel_henok_0-1727222311445.png" alt="abel_henok_0-1727222311445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Can we modify the Layout1 tab to say "&lt;STRONG&gt;11x17&lt;/STRONG&gt;"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Is it possible to incorporate a freeze command to freeze layers "&lt;STRONG&gt;level10, level11, level12,level13,level14&lt;/STRONG&gt;"? We have the lisp file&amp;nbsp;&lt;STRONG&gt;layfrzdwgdir&amp;nbsp;&lt;/STRONG&gt;which can be executed after&amp;nbsp;&lt;STRONG&gt;11x17-2.scr&amp;nbsp;&lt;/STRONG&gt;is complete but it would be even more incredible if we can incorporate this into the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 00:04:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042841#M9985</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-25T00:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042894#M9986</link>
      <description>&lt;P&gt;I've attached updated 11x17-2.scr for you to try.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1727224675044.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413613i1641AF780157C8DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1727224675044.png" alt="paullimapa_1-1727224675044.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here are my responses to your requests:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) We now have&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Layout2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;tab in all drawings. Do you think we can modify&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;11x17-2.scr&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;to delete&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Layout 2&lt;/STRONG&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt; The script already contains the command to delete &lt;STRONG&gt;Layout2&lt;/STRONG&gt;. But from your screen capture you provided earlier it seems to not be able to locate such a layout so I don't have a solution to this problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1727223966812.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413605i94A616EC4FE91341/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1727223966812.png" alt="paullimapa_1-1727223966812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) In the directory, we have our updated .dwg files along with&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.bak, .dwl&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.dwl2&lt;/STRONG&gt;&lt;SPAN&gt;. Is it possible to remove&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.bak, .dwl and .dwl2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;from the directory?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&lt;STRONG&gt; dwl &amp;amp; dwl2&lt;/STRONG&gt; files are used by AutoCAD when a particular drawing is opened so it locks the file to prevent another user from accessing it. When AutoCAD successfully closes out of that dwg file then those file types would automatically be romoved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt; The &lt;STRONG&gt;bak&lt;/STRONG&gt; file is generated after AutoCAD performs a Save on a dwg. The previous dwg version is renamed now using the .&lt;STRONG&gt;bak&lt;/STRONG&gt;. Since the lisp code already finished running but the accoreconsole (black dos box) have not, it will not find the .&lt;STRONG&gt;bak&lt;/STRONG&gt; files to delete. I'd also advised against deleting these incase the dwg gets corrupted. You can then always rename the .&lt;STRONG&gt;bak&lt;/STRONG&gt; file to .&lt;STRONG&gt;dwg&lt;/STRONG&gt; to use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) Can we modify the Layout1 tab to say "&lt;STRONG&gt;11x17&lt;/STRONG&gt;"? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt; Yes, the updated script now includes the rename.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) Is it possible to incorporate a freeze command to freeze layers "&lt;STRONG&gt;level10, level11, level12,level13,level14&lt;/STRONG&gt;"? We have the lisp file&amp;nbsp;&lt;STRONG&gt;layfrzdwgdir&amp;nbsp;&lt;/STRONG&gt;which can be executed after&amp;nbsp;&lt;STRONG&gt;11x17-2.scr&amp;nbsp;&lt;/STRONG&gt;is complete but it would be even more incredible if we can incorporate this into the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt; The&amp;nbsp;&lt;STRONG&gt;layfrzdwgdir.lsp &lt;/STRONG&gt;code actually uses another method to access the dwgs without opening them for processing. That method cannot be mingled with this accoreconsole method. But what I have done is again updated the script to include freezing those layers you specified.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See if these modifications works out for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 00:37:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13042894#M9986</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-09-25T00:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Converting From Microstation to Autocad</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13043023#M9987</link>
      <description>&lt;P&gt;Thank you for all your responses, Paul.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The previous&amp;nbsp;&lt;STRONG&gt;11x17-2.scr&amp;nbsp;&lt;/STRONG&gt;works. Afterwards, I am able to run the&amp;nbsp;&lt;STRONG&gt;layfrzdwgdir.lsp&amp;nbsp;&lt;/STRONG&gt;to freeze specified layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though, the latest version of &lt;STRONG&gt;11x17-2.scr&amp;nbsp;&lt;/STRONG&gt;doesn't zoom extents like the previous version and does not overwrite existing files in directory. However, the layout tab does change to 11x17 and also deletes &lt;STRONG&gt;Layout2 &lt;/STRONG&gt;tab. I'm not too concerned if we can't make an additional revision to the script but it would have been great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have just two more questions about this topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) We have other groups in our company which will have to have some variation of the script you've created. For instance, page layouts may differ from 11x17 so they will not be able to use this script. What will be the steps they can take so I can assist them in their conversion efforts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Lastly, can you please provide a line for line explanation of the script and perhaps summarize our accomplishment for my full understanding of how the previous&amp;nbsp;&lt;STRONG&gt;11x17-2.scr &lt;/STRONG&gt;works?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 02:08:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-from-microstation-to-autocad/m-p/13043023#M9987</guid>
      <dc:creator>abel_henok</dc:creator>
      <dc:date>2024-09-25T02:08:08Z</dc:date>
    </item>
  </channel>
</rss>

