<?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/"><channel><title>Compressing files</title><link>https://communities.bentley.com/products/microstation/w/askinga/626/compressing-files</link><description>Articles previously found in the &amp;quot;AskInga&amp;quot; Community.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Compressing files</title><link>https://communities.bentley.com/products/microstation/w/askinga/626/compressing-files</link><pubDate>Thu, 21 Jul 2011 21:23:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:bcbfd4f1-51dc-4c43-89ef-f4e559fbcbd1</guid><dc:creator>Inga Morozoff</dc:creator><comments>https://communities.bentley.com/products/microstation/w/askinga/626/compressing-files#comments</comments><description>Current Revision posted to [Archived] AskInga Wiki by Inga Morozoff on 7/21/2011 9:23:34 PM&lt;br /&gt;
&lt;p&gt;&lt;a href="/Communities/Other_Communities/AskInga/default.aspx"&gt;&lt;img title="AskInga" border="0" alt="AskInga logo" src="/askIngaPics/askingalogo.gif" width="230" height="76" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Original Tip Date:&lt;/strong&gt; &lt;em&gt;June&amp;nbsp;2002&lt;/em&gt;&lt;/p&gt;
&lt;table style="width:95%;" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" align="left"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" colspan="2" align="left"&gt;
&lt;p&gt;Did you know that compressing in V8 actually re-writes the entire file? Well, now you do.&lt;/p&gt;
&lt;p&gt;And that&amp;#39;s not all, Keith Bentley writes:&lt;/p&gt;
&lt;p&gt;When you compress a file, MicroStation creates a dgn-compress .tmp&amp;nbsp;file in the same folder as the active drawing (as defined by the variable&lt;em&gt; $(_dgndir).&lt;/em&gt;&amp;nbsp; It then deletes the original file and renames the dgn-compress to&amp;nbsp; the same as the original.&lt;/p&gt;
&lt;p&gt;During the compress operation, the original file remains locked&amp;nbsp;but, there is a very short window where the original file&amp;nbsp; is released so the .tmp file can be swapped into its place.&amp;nbsp;In earlier versions of&amp;nbsp;MicroStation&amp;nbsp;V8, &amp;nbsp;there are some intances in where the tmp file is not&amp;nbsp;deleted, or when the DGN is &amp;quot;turning into a TMP file&amp;quot; right&amp;nbsp;before your eyes.&amp;nbsp;&amp;nbsp;&amp;nbsp;MicroStation has since been reworked, so this should no longer be an issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;AskInga Tip #214&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Design Setting, tips, Askinga&lt;/div&gt;
</description></item><item><title>Compressing files</title><link>https://communities.bentley.com/products/microstation/w/askinga/626/compressing-files/revision/2</link><pubDate>Thu, 10 Jun 2010 12:30:11 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:bcbfd4f1-51dc-4c43-89ef-f4e559fbcbd1</guid><dc:creator>Jordan Stierly</dc:creator><comments>https://communities.bentley.com/products/microstation/w/askinga/626/compressing-files#comments</comments><description>Revision 2 posted to [Archived] AskInga Wiki by Jordan Stierly on 6/10/2010 12:30:11 PM&lt;br /&gt;
&lt;p&gt;
&lt;a href="/Communities/Other_Communities/AskInga/default.aspx"&gt;&lt;img height="76" width="230" title="AskInga" alt="AskInga logo" border="0" src="/askIngaPics/askingalogo.gif" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Original Tip Date:&lt;/strong&gt; &lt;em&gt;Jun. 20, 2002&lt;/em&gt;
&lt;/p&gt;
&lt;table style="width:95%;" cellpadding="0" cellspacing="0" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" align="left"&gt;&lt;strong&gt;Compressing files&lt;br /&gt;
			&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" align="right"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" align="left" colspan="2"&gt;Did you know that compressing in V8 actually re-writes the entire file? Well, now you do. &lt;br /&gt;
			&lt;br /&gt;
			Thanks to &lt;em&gt;Keith Bentley&lt;/em&gt; for sharing this on the newsgroup.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
AskInga Tip #214
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Askinga, Design Setting, tips&lt;/div&gt;
</description></item><item><title>Compressing Files</title><link>https://communities.bentley.com/products/microstation/w/askinga/626/compressing-files/revision/1</link><pubDate>Tue, 17 Jun 2008 17:36:48 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:bcbfd4f1-51dc-4c43-89ef-f4e559fbcbd1</guid><dc:creator>JStierly</dc:creator><comments>https://communities.bentley.com/products/microstation/w/askinga/626/compressing-files#comments</comments><description>Revision 1 posted to [Archived] AskInga Wiki by JStierly on 6/17/2008 5:36:48 PM&lt;br /&gt;
&lt;p&gt;
&lt;a href="/Communities/Other_Communities/AskInga/default.aspx"&gt;&lt;img src="/askIngaPics/askingalogo.gif" border="0" alt="AskInga logo" title="AskInga" width="230" height="76" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Original Tip Date:&lt;/strong&gt; &lt;em&gt;Jun. 20, 2002&lt;/em&gt;
&lt;/p&gt;
&lt;table border="0" cellspacing="0" cellpadding="0" width="95%"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td align="left" valign="top"&gt;&lt;strong&gt;Compressing files&lt;br /&gt;
			&lt;/strong&gt;&lt;/td&gt;
			&lt;td align="right" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td colspan="2" align="left" valign="top"&gt;Did you know that compressing in V8 actually re-writes the entire file? Well, now you do. &lt;br /&gt;
			&lt;br /&gt;
			Thanks to &lt;em&gt;Keith Bentley&lt;/em&gt; for sharing this on the newsgroup.&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
AskInga Tip #214
&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Askinga, Design Setting, tips&lt;/div&gt;
</description></item></channel></rss>