<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Making a MACRO &amp;quot;finish&amp;quot; Cleanly</title><link>https://communities.bentley.com/products/microstation/microstation_printing/f/printing-and-plotting-forum/170198/making-a-macro-finish-cleanly</link><description>I have created the following macro but I cannot get it to &amp;quot;finish&amp;quot; properly, I always have to R Click the mouse prior to selecting the print icon in the printing dialogue box. I have tried multiple ways to make it &amp;quot;finish&amp;quot; cleaner but haven&amp;#39;t found the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/489057?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 22:42:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8ceb0be0-a10d-4634-9658-e3a1cab159da</guid><dc:creator>Lorys</dc:creator><description>&lt;p&gt;when I told msnt&amp;nbsp; to print I went to the mdl load keyin&amp;nbsp;and looked at all the available keyins&amp;nbsp; from the already loaded mdls and I went&amp;nbsp; back to all the docs&amp;nbsp;under printing&amp;nbsp; I admit I did this way back in V8iss2 and figured out the execute and the&amp;nbsp; printer settings but there is another equally important&amp;nbsp; setting&lt;/p&gt;
&lt;p&gt;Workspace config&amp;gt;Printing&amp;gt;Automatically&amp;nbsp; fit view change to 1&lt;/p&gt;
&lt;p&gt;sets MS_PLOT_AUTO_FIT_VIEW=1&lt;/p&gt;
&lt;p&gt;This then also helps to force a fence automatically&amp;nbsp; around the extents of&amp;nbsp; your drag sheet&amp;nbsp; / title block in model space&lt;/p&gt;
&lt;p&gt;The only problem with the execute you is don&amp;#39;t get a chance to change the scale if your not happy with it... and even control P should place your&amp;nbsp; fence automatically provided all your&amp;nbsp;configs have preset&amp;nbsp; default printers.pltcfg etc&amp;nbsp; there is quite of lot under printing in the work space config&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/489003?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 16:00:48 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:536ddcec-0d10-44dd-93e7-910dcb1425ac</guid><dc:creator>Patrick Coyne</dc:creator><description>&lt;p&gt;This helps, I will try it.&amp;nbsp; Been frustrated over the issue for a long time, have not see&amp;nbsp;&amp;quot;;execute&amp;quot; documented.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/19568/pastedimage1541087358010v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488971?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 13:12:08 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0d988267-f725-4f38-ace3-87770c1044d2</guid><dc:creator>Andrew Edge</dc:creator><description>&lt;p&gt;How about &amp;quot;print boundary fit all 1;print dialog&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488831?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 22:25:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9c481d25-f35f-45e7-a914-9477308a1550</guid><dc:creator>Lorys</dc:creator><description>&lt;p&gt;are you actually using a macro or is it a keyin script that&amp;nbsp; you run either run from menu or f key&amp;nbsp; or a text script file?&lt;/p&gt;
&lt;p&gt;You need to add the &amp;quot;execute&amp;quot; &amp;nbsp;at the end for it to finish&lt;/p&gt;
&lt;p&gt;here is what&amp;nbsp; I use on f12&lt;/p&gt;
&lt;p&gt;fit view extended;place fence allfiles;selview 1;PRINT;print maximize;print driver MyprinterPDF.pltcfg;execute&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488781?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 16:54:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cf7cae83-45f8-43a7-a7ef-7d608194871c</guid><dc:creator>Duncan Macdonald</dc:creator><description>&lt;p&gt;No I was using the same version to test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488777?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 16:42:27 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4b21dd1b-848a-4cd1-8653-16eaef02199d</guid><dc:creator>John Watts</dc:creator><description>&lt;p&gt;Seems like you&amp;#39;re correct but that is not the case. I&amp;#39;m using V8i Select series 3, makes a difference?? I wouldn&amp;#39;t think so since I&amp;#39;ve written other macros in similar fashion but this one just doesn&amp;#39;t work as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488761?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 16:05:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:100414b1-d9b1-4b4b-9d84-ee7644549633</guid><dc:creator>Duncan Macdonald</dc:creator><description>&lt;p&gt;Using my version of your keyin I can print a drawing and then print again and it still works so I&amp;#39;m not sure what is different. Putting the keyin on a menu shouldn&amp;#39;t make nay difference. I have similar keyins on menus without any problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488757?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 15:55:04 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e8a2f201-1db8-422f-bded-3bd527b3b5f3</guid><dc:creator>John Watts</dc:creator><description>&lt;meta content="text/html; charset=utf-8" /&gt;
&lt;meta name="Generator" content="Microsoft Word 15 (filtered medium)" /&gt;
&lt;!--[if !mso]&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;![endif]--&gt;


&lt;div class="WordSection1"&gt;
&lt;div class=""&gt;This is how I’m suing the Macro. I have applied one suggestion, which I’m sure I had tried earlier, but it works only on the first drawing but not on subsequent drawings within the set.&lt;/div&gt;
&lt;div class=""&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=""&gt;I use this routine to print simplfy printing only one drawing when needed. I use the Organizer when needed&lt;/div&gt;
&lt;div class=""&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=""&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=""&gt;&lt;img width="2112" height="594" id="Picture_x0020_1" src="/cfs-file/__key/communityserver-discussions-components-files/19568/3666.image004.jpg" alt=" " /&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:#1F497D;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:#1F497D;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-size:20.0pt;font-family:Mistral;color:#1F497D;"&gt;John S. Watts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:black;"&gt;Designer I&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;color:black;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:black;"&gt;Electrical Consultants, Inc.&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;color:black;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:#1F497D;"&gt;&amp;quot;Engineering with Distinction&amp;quot;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;color:#333399;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:black;"&gt;515 N. Riverfront Drive,&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:black;"&gt;Suite 200&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:black;"&gt;Mankato, MN&amp;nbsp; 56001&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:black;"&gt;Office: (507) 388-9933&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:black;"&gt;FAX:&amp;nbsp; (507) 388-4534&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:#00B0F0;"&gt;&lt;a href="mailto:John.Watts@ecimankato.com"&gt;&lt;u&gt;&lt;span style="color:blue;border:none;"&gt;&lt;span style="border:none;"&gt;John.Watts@ecimankato.com&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:#2C54FC;"&gt;&lt;a href="http://www.electricalconsultantsinc.com/"&gt;&lt;u&gt;&lt;span style="color:blue;border:none;"&gt;&lt;span style="border:none;"&gt;www.electricalconsultantsinc.com&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;color:#2C54FC;"&gt;&lt;span style="text-decoration:none;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:8.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;color:#2C54FC;"&gt;&lt;span style="text-decoration:none;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;color:#1F497D;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=""&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,sans-serif;color:#1F497D;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=""&gt;&lt;span style="font-family:&amp;#39;Arial&amp;#39;,sans-serif;color:#1F497D;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488747?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 15:11:44 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d97bf902-10a0-4c97-814d-0d321ae3a873</guid><dc:creator>Duncan Macdonald</dc:creator><description>&lt;p&gt;&lt;span&gt;FIT VIEW EXTENDED 1; PLACE FENCE ACTIVE 1;PRINT EXECUTE&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Assume you are running a batch process? Any reason you don&amp;#39;t use print organizer?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488744?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 15:01:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:335efa4f-d7bd-4b20-a087-8416b535194c</guid><dc:creator>John Watts</dc:creator><description>&lt;p&gt;Your suggestion worked fine on the very first drawing upon opening a session but does not work on subsequent drawings. The Macro stops after the&amp;nbsp; Place Fence -From View and then it requires me to&amp;nbsp;press the Right Mouse Button&amp;nbsp;which brings up a menu - don&amp;#39;t have to select anything&amp;nbsp;from that menu I just have to Right Click the mouse again - it disappears - and then I can continue to the print icon. NO OTHER COMMAND IS AVAILABLE UNTIL I PERFORM THE SECOND RIGHT MOUSE CLICK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488729?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 14:21:45 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ea97e42b-5810-424d-bc79-c3377d3d2517</guid><dc:creator>Duncan Macdonald</dc:creator><description>&lt;p&gt;How about&lt;/p&gt;
&lt;p&gt;FIT VIEW EXTENDED 1; PLACE FENCE ACTIVE 1;PRINT&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making a MACRO "finish" Cleanly</title><link>https://communities.bentley.com/thread/488727?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 14:17:12 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d8c0aa92-0e60-48f1-88a6-3d9f5fb637f4</guid><dc:creator>Jon Summers</dc:creator><description>&lt;p&gt;Tell us the purpose of your macro.&amp;nbsp; For example, &lt;em&gt;Print View 1&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>