<?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>Assistance with a Crashing Key-In File</title><link>https://communities.bentley.com/products/road___site_design/f/geopak-inroads-mx-openroads-forum/243016/assistance-with-a-crashing-key-in-file</link><description>Hello, 
 
 I am using Excel to write a series of key-ins. The idea is to unclip, shift, and reclip a couple of references, then save a copy of the file with a given name, and repeat. It also attaches, moves, and scales a couple raster images, detaching</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Assistance with a Crashing Key-In File</title><link>https://communities.bentley.com/thread/760431?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2023 13:27:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:dbf2c3b0-5777-4d8c-b76a-81d48983c944</guid><dc:creator>caddcop</dc:creator><description>&lt;p&gt;I have used Excel to create command scripts, but I found it easier to make multiline scipt files which were read and applied one line at a time. the keyin a @full_path_script_filename.scr would read and execute the lines of the file. For simplicity. we would make a temporary folder at the root of the drive with all 8.3 file names, so there was no need for double quotes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Assistance with a Crashing Key-In File</title><link>https://communities.bentley.com/thread/760228?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2023 20:41:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e6a4fce8-8c0f-45ed-a1c3-b0ad91afecbe</guid><dc:creator>David Trejo-Rodriguez</dc:creator><description>&lt;p&gt;Excel has some commands to concatenate columns.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve personally used this to create a batch script to run a command on multiple files&lt;/p&gt;
&lt;p&gt;column 1&amp;nbsp; &amp;nbsp; column2&amp;nbsp; &amp;nbsp; column 3&lt;/p&gt;
&lt;p&gt;command&amp;nbsp; &amp;nbsp;filename&amp;nbsp; &amp;nbsp; resulting keyin&lt;/p&gt;
[quote userid="1406657" url="~/products/road___site_design/f/geopak-inroads-mx-openroads-forum/243016/assistance-with-a-crashing-key-in-file"] single iteration (copied below[/quote]
&lt;p&gt;It might be best to post on the dedicated programming forum for help:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum"&gt;MicroStation Programming Forum&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Assistance with a Crashing Key-In File</title><link>https://communities.bentley.com/thread/758035?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 17:17:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:12946c13-2a85-4958-8c04-02eb264dbca9</guid><dc:creator>MaryB</dc:creator><description>&lt;p&gt;My first thought is...how are you using excel to generate this? MicroStation command files for batch processing need to be plain TXT files. It&amp;#39;s possible that this has accidentally gotten saved as any other file format.&lt;/p&gt;
&lt;p&gt;My next thought is, why are you creating one long string of keyins? Wouldn&amp;#39;t it be easier to read/follow/debug if each command were its own line, or at least each file manipulation were its own string?&lt;/p&gt;
&lt;p&gt;This could be something handled better through MicroStation VBA. There might be a little more overhead in learning to code it, but the code would be more robust.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a little hard to follow this, but I don&amp;#39;t see anything that jumps out at me as unrunnable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>