<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://macros.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=Print_Geo_Data_To_File</id>
	<title>Print Geo Data To File - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://macros.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=Print_Geo_Data_To_File"/>
	<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;action=history"/>
	<updated>2026-12-05T06:44:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2933&amp;oldid=prev</id>
		<title>ConnerO at 15:38, 29 July 2010</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2933&amp;oldid=prev"/>
		<updated>2010-07-29T15:38:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:38, 29 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l96&quot;&gt;Line 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 96:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:get_selected_geo_ref i, iref&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:get_selected_geo_ref i, iref&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  get the feature type for this feature&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  get the feature type for this feature&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  -------------------------------------&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  -------------------------------------&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:get_feat_type iref, itype&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:get_feat_type iref, itype&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ConnerO</name></author>
	</entry>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2932&amp;oldid=prev</id>
		<title>ConnerO at 15:37, 29 July 2010</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2932&amp;oldid=prev"/>
		<updated>2010-07-29T15:37:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:37, 29 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l80&quot;&gt;Line 80:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 80:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|fmt$ = &quot;+&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[User:ConnerO|ConnerO]]&lt;/del&gt;0.0~~&quot;   || !&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; output spaces in place of leading/trailing zeros&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|fmt$ = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;&quot;+0.0~~&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt; &lt;/ins&gt;  || !&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; output spaces in place of leading/trailing zeros&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;fmt$ = &amp;quot;+###0.0##&amp;quot;   || !&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; do not output leading/trailing zeros&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;fmt$ = &amp;quot;+###0.0##&amp;quot;   || !&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; do not output leading/trailing zeros&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l90&quot;&gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;for i=1 to inum&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;for i=1 to inum&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  get the feature reference number for&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  get the feature reference number for&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  the &#039;i&#039;th selected feature&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  the &#039;i&#039;th selected feature&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  ------------------------------------&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;!&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;  ------------------------------------&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:get_selected_geo_ref i, iref&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:get_selected_geo_ref i, iref&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ConnerO</name></author>
	</entry>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2931&amp;oldid=prev</id>
		<title>ConnerO at 15:35, 29 July 2010</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2931&amp;oldid=prev"/>
		<updated>2010-07-29T15:35:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:35, 29 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|! print data from selected geometry to a file&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|!&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &lt;/ins&gt;print data from selected geometry to a file&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ConnerO</name></author>
	</entry>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2930&amp;oldid=prev</id>
		<title>ConnerO at 15:34, 29 July 2010</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2930&amp;oldid=prev"/>
		<updated>2010-07-29T15:34:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;amp;diff=2930&amp;amp;oldid=2876&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>ConnerO</name></author>
	</entry>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2876&amp;oldid=prev</id>
		<title>ConnerO: New page: ! print data from selected geometry to a file&lt;br&gt; &lt;br&gt; a1$ = &quot;This macro look at the selected geometry and&quot;&lt;br&gt; a2$ = &quot;print the data for that geometry to a text file,&quot;&lt;br&gt; a3$ = &quot;with the...</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Print_Geo_Data_To_File&amp;diff=2876&amp;oldid=prev"/>
		<updated>2010-07-28T22:42:33Z</updated>

		<summary type="html">&lt;p&gt;New page: ! print data from selected geometry to a file&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; a1$ = &amp;quot;This macro look at the selected geometry and&amp;quot;&amp;lt;br&amp;gt; a2$ = &amp;quot;print the data for that geometry to a text file,&amp;quot;&amp;lt;br&amp;gt; a3$ = &amp;quot;with the...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;! print data from selected geometry to a file&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
a1$ = &amp;quot;This macro look at the selected geometry and&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
a2$ = &amp;quot;print the data for that geometry to a text file,&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
a3$ = &amp;quot;with the filename selected by the user.&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
message &amp;quot;%a1$\n%a2$\n%a3$&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
check part_open, &amp;quot;You must have a part open to run this macro&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
check part_mill, &amp;quot;This macro is not designed for turned parts&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
get_num_feat_selected inum&amp;lt;br&amp;gt;&lt;br /&gt;
if inum&amp;lt;1 then stop &amp;quot;No geometry selected&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
!  create a file open dialog&amp;lt;br&amp;gt;&lt;br /&gt;
!  -------------------------&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
file_dialog_new &amp;quot;Select output filename&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
file_dialog_extension &amp;quot;Text files (*.txt)&amp;quot;, &amp;quot;txt&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
file_dialog_extension &amp;quot;All files (*.*)&amp;quot;, &amp;quot;*&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
file_dialog_show save, f$&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
!  open the file on unit 1 for writing&amp;lt;br&amp;gt;&lt;br /&gt;
!  -----------------------------------&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
file1_open=0&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
file_open 1, f$, write&amp;lt;br&amp;gt;&lt;br /&gt;
if FileError&amp;lt;&amp;gt;0 then goto file_error&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
file1_open=1&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
!  loop through all selected features and&amp;lt;br&amp;gt;&lt;br /&gt;
!  update the min/max xy data according&amp;lt;br&amp;gt;&lt;br /&gt;
!  to each features xy data&amp;lt;br&amp;gt;&lt;br /&gt;
!  --------------------------------------&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
!  try setting fmt$ to any of the next 3&amp;lt;br&amp;gt;&lt;br /&gt;
!  to get different formatted numbers&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
fmt$ = &amp;quot;+[[User:ConnerO|ConnerO]]0.0~~&amp;quot;    ! output spaces in place of leading/trailing zeros&amp;lt;br&amp;gt;&lt;br /&gt;
!fmt$ = &amp;quot;+###0.0##&amp;quot;   ! do not output leading/trailing zeros&amp;lt;br&amp;gt;&lt;br /&gt;
!fmt$ = &amp;quot;+0000.000&amp;quot;   ! output leading/trailing zeros&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
for i=1 to inum&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
!  get the feature reference number for&amp;lt;br&amp;gt;&lt;br /&gt;
!  the &amp;#039;i&amp;#039;th selected feature&amp;lt;br&amp;gt;&lt;br /&gt;
!  ------------------------------------&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:get_selected_geo_ref i, iref&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
!  get the feature type for this feature&amp;lt;br&amp;gt;&lt;br /&gt;
!  -------------------------------------&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:get_feat_type iref, itype&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:if itype=1 then goto label_point&lt;br /&gt;
:if itype=2 then goto label_line&lt;br /&gt;
:if itype=3 then goto label_circle&lt;br /&gt;
:if itype=4 then goto label_arc&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:continue&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;label_point&amp;lt;br&amp;gt;&lt;br /&gt;
:get_feat_start iref, 1, xs, ys, zs&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:xs$ = format$(xs, fmt$)&lt;br /&gt;
:ys$ = format$(ys, fmt$)&lt;br /&gt;
:zs$ = format$(zs, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:a$ = &amp;quot;Point   X =%xs$  Y =%ys$  Z =%zs$&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:goto label_print&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;label_line&amp;lt;br&amp;gt;&lt;br /&gt;
:get_feat_start iref, 1, xs, ys, zs&lt;br /&gt;
:get_feat_end   iref, 1, xe, ye, ze&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:xs$ = format$(xs, fmt$)&lt;br /&gt;
:ys$ = format$(ys, fmt$)&lt;br /&gt;
:zs$ = format$(zs, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:xe$ = format$(xe, fmt$)&lt;br /&gt;
:ye$ = format$(ye, fmt$)&lt;br /&gt;
:ze$ = format$(ze, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:a$ = &amp;quot;Line    Xs=%xs$  Ys=%ys$  Zs=%zs$&amp;quot;&lt;br /&gt;
:a$ = a$ + &amp;quot;  Xe=%xe$  Ye=%ye$  Ze=%ze$&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:goto label_print&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;label_circle&amp;lt;br&amp;gt;&lt;br /&gt;
:get_circle_data iref, 1, rad, xc, yc, zc&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:xc$ = format$(xs, fmt$)&lt;br /&gt;
:yc$ = format$(ys, fmt$)&lt;br /&gt;
:zc$ = format$(zs, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:rr$ = format$(rad, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:a$ = &amp;quot;Circle  Xc=%xs$  Yc=%ys$  Zc=%zs$  R =%rr$&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:goto label_print&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;label_arc&amp;lt;br&amp;gt;&lt;br /&gt;
:get_feat_start iref, 1, xs, ys, zs&lt;br /&gt;
:get_feat_end   iref, 1, xe, ye, ze&lt;br /&gt;
:get_arc_data iref, 1, rad, dir, xc, yc, zc&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:xc$ = format$(xc, fmt$)&lt;br /&gt;
:yc$ = format$(yc, fmt$)&lt;br /&gt;
:zc$ = format$(zc, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:xs$ = format$(xs, fmt$)&lt;br /&gt;
:ys$ = format$(ys, fmt$)&lt;br /&gt;
:zs$ = format$(zs, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:xe$ = format$(xe, fmt$)&lt;br /&gt;
:ye$ = format$(ye, fmt$)&lt;br /&gt;
:ze$ = format$(ze, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:rr$ = format$(rad, fmt$)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:a$=&amp;quot;Arc CCW&amp;quot;&lt;br /&gt;
:if dir=1  then a$ = &amp;quot;Arc CW &amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:a$ = a$ + &amp;quot; Xc=%xc$  Yc=%yc$  Zc=%zc$  R =%rr$&amp;quot;&lt;br /&gt;
:a$ = a$ + &amp;quot;\n        Xs=%xs$  Ys=%ys$  Zs=%zs$&amp;quot;&lt;br /&gt;
:a$ = a$ + &amp;quot;  Xe=%xe$  Ye=%ye$  Ze=%ze$&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:Goto label_print&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;label_print&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:file_write_text 1, a$&lt;br /&gt;
:if FileError&amp;lt;&amp;gt;0 then goto file_error&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
next i&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
file_close 1&amp;lt;br&amp;gt;&lt;br /&gt;
if FileError&amp;lt;&amp;gt;0 then goto file_error&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
yesno &amp;quot;View the output ?&amp;quot;, iyesno&amp;lt;br&amp;gt;&lt;br /&gt;
if iyesno = 0 then stop &amp;quot;Finished&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
run_exe &amp;quot;\Windows\System32\Notepad.exe&amp;quot;, f$&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
stop &amp;quot;Finished&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;file_error&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
ierr=FileError&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
if file_open=1 then file_close 1&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
stop &amp;quot;File error, code = %FileError&amp;quot;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>ConnerO</name></author>
	</entry>
</feed>