<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5550669983704689514</id><updated>2024-09-16T17:35:58.587-07:00</updated><title type='text'>CAD Consulting llc</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-7268714322179675787</id><published>2013-08-28T08:57:00.002-07:00</published><updated>2013-08-28T08:57:37.580-07:00</updated><title type='text'>New Blog Location...</title><content type='html'>There will be no more new posts on this blog after this one.&amp;nbsp; We would like you to follow us to our new blog which is &lt;a href=&quot;http://www.talkaboutcad.blogspot.com/&quot;&gt;www.talkaboutcad.blogspot.com&lt;/a&gt;...&amp;nbsp; We desire to share tips, tricks, new macros, or just general cadding information a couple times a week, so please visit our new blog frequently to see what is new!&lt;br /&gt;
&lt;br /&gt;
Thank you!</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/7268714322179675787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/08/new-blog-location.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/7268714322179675787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/7268714322179675787'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/08/new-blog-location.html' title='New Blog Location...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-1422186102228384885</id><published>2013-08-02T07:25:00.000-07:00</published><updated>2013-08-02T11:32:15.232-07:00</updated><title type='text'>Inventor Dynamic Simulation...</title><content type='html'>&lt;span style=&quot;-webkit-text-stroke-width: 0px; color: white; display: inline !important; float: none; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;So last night I decided to mess around with Dynamic Simulation in Autodesk Inventor, and the video below is what I ended up with. &amp;nbsp;I watched a video of someone simulating the motion of a trebuchet, so I decided that i was going to build a very basic catapult and see if I could get the simulation to work on it. &amp;nbsp;So, below is my very basic catapult with the simulated arm motion and ball being thrown.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; color: black; display: inline !important; float: none; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dyWvhHNFpvggH5wk9DHqE5cP4z4EZKKxutKFo5IuSZHI9UkXzmslwM9tk8544EJ15oF4KLKfE-JSx5z5mX7vA&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; color: black; display: inline !important; float: none; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;**fixed text visibility on the given background.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/1422186102228384885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/08/inventor-dynamic-simulation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1422186102228384885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1422186102228384885'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/08/inventor-dynamic-simulation.html' title='Inventor Dynamic Simulation...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-2798404342715469576</id><published>2013-08-01T12:19:00.003-07:00</published><updated>2013-08-01T12:27:38.920-07:00</updated><title type='text'>Check out our Company Site!</title><content type='html'>Please visit our company site.&amp;nbsp; On there you will find out who we are and what we do.&amp;nbsp; &lt;br /&gt;
May be you have a project or some standard development task that you need to get complete, but don&#39;t have the time to.&amp;nbsp; Fill out the contact us form and let us know what your project is and maybe we could help you out.&lt;br /&gt;
Also, if anyone has any technical questions dealing with AutoCAD, Inventor or SolidWorks we can help.&amp;nbsp; Send us an email and then we can create a post on this blog covering the issue.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://cadconsultingllc.weebly.com/&quot; target=&quot;_blank&quot;&gt;cadconsultingllc.weebly.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Email address: &lt;a href=&quot;mailto:cadconsultinginc@gmail.com&quot; target=&quot;_blank&quot;&gt;cadconsultinginc@gmail.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thank you!</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/2798404342715469576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/08/check-out-our-company-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/2798404342715469576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/2798404342715469576'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/08/check-out-our-company-site.html' title='Check out our Company Site!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-1271713140841436833</id><published>2013-07-16T12:24:00.001-07:00</published><updated>2013-07-30T21:15:28.416-07:00</updated><title type='text'>SaveAs Rule in Inventor ilogic</title><content type='html'>&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; letter-spacing: normal; margin: 0px; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;color: white;&quot;&gt;I use Inventor ilogic whenever possible, but one thing that has caused me problems is the fact that I couldn&#39;t save out a modified ilogic assembly without screwing up other drawings that were attached to that assembly...that is until now...&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; letter-spacing: normal; margin: 0px; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;color: white;&quot;&gt;With the help from another blog; I was able to create a rule in ilogic that would perform a saveas off the assembly and then in turn would also run the rule under each part to create a brand new assembly and brand new parts within the assembly so that if you were to modify the main assembly this would not be affected by those changes.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; letter-spacing: normal; margin: 0px; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; letter-spacing: normal; margin: 0px; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;
&lt;span style=&quot;color: white;&quot;&gt;Below is the code required for the saveas of an assembly:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; letter-spacing: normal; margin: 0px; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;define the active document&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oDoc&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;ThisDoc&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;Document&lt;/span&gt;
&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;create a file dialog box&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Dim&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;inventor&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;FileDialog&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; Nothing
&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;InventorVb&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;Application&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;CreateFileDialog&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt;

&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;check file type and set dialog filter&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;If&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;oDoc&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;DocumentType&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;kPartDocumentObject&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Then&lt;/span&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;Filter&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Autodesk Inventor Part Files (*.ipt)|*.ipt&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Else&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;If&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;oDoc&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;DocumentType&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;kAssemblyDocumentObject&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Then&lt;/span&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;Filter&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Autodesk Inventor Assembly Files (*.iam)|*.iam&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Else&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;If&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;oDoc&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;DocumentType&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;kDrawingDocumentObject&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Then&lt;/span&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;Filter&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Autodesk Inventor Drawing Files (*.idw)|*.idw&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;If&lt;/span&gt;

&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;set the directory to open the dialog at&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;InitialDirectory&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;ThisDoc&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;WorkspacePath&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;()&lt;/span&gt;
&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;set the file name string to use in the input box&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;FileName&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;iProperties&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;Value&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Project&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;, &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Project&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;_&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;iProperties&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;Value&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Summary&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;, &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Title&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt;

&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;work with an error created by the user backing out of the save&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;CancelError&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; True
&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;On&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Error&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Resume&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Next&lt;/span&gt;
&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;specify the file dialog as a save dialog (rather than a open dialog)&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;ShowSave&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;()&lt;/span&gt;

&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;catch an empty string in the imput&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;If&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Err&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;Number&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Then&lt;/span&gt;
&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;MessageBox&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;Show&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;No File Saved.&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;, &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;iLogic: Dialog Canceled&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;ElseIf&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;FileName&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;&quot;&quot;&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;Then&lt;/span&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;MyFile&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;FileName&lt;/span&gt;
&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;save the file&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oDoc&lt;/span&gt;.&lt;span style=&quot;color: maroon;&quot;&gt;SaveAs&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;MyFile&lt;/span&gt;, True&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;True = Save As Copy &amp;amp; False = Save As&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;If&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: white; font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;Now in my example; I have created a custom naming convention of the assembly that is controlled by the Project value, and the Title value within the iproperties. (shown below)&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: maroon;&quot;&gt;oFileDlg&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;FileName&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;iProperties&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;Value&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Project&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;, &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Project&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;_&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;&amp;amp;&lt;/span&gt; &lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;iProperties&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;Value&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Summary&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;, &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Title&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: white; font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;Now, to cause the parents under the assembly to saveas with predetermined values run the part rule within the assembly. (shown below)&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;iLogicVb&lt;/span&gt;.&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;RunRule&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;2x4tube_1:1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;, &lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;saveas&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; text-indent: 0px; text-transform: none; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: white; font-family: Arial, Helvetica, sans-serif; font-weight: bold;&quot;&gt;When you run the rule it will automatically open a SaveAs dialog box for the assembly and once you hit save it will start running the SaveAs dialog for all the parts in the assembly that you call for the &quot;RunRule&quot;.&lt;/span&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/1271713140841436833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/07/saveas-rule-in-inventor-ilogic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1271713140841436833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1271713140841436833'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/07/saveas-rule-in-inventor-ilogic.html' title='SaveAs Rule in Inventor ilogic'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-1054593216432278571</id><published>2013-03-12T13:53:00.000-07:00</published><updated>2013-03-12T13:53:12.228-07:00</updated><title type='text'>Changing text style font with a Macro...</title><content type='html'>I know that one thing some people have problems with is when you xref or insert a title block into a drawing file; the text style changes back to the original font type.&amp;nbsp; This was happening with the title block that our company is standardizing.&amp;nbsp; So, I came up with a quick fix for our design group to take the standard text style and change the font type to the proper font so that the text would look the way it was meant to.&lt;br /&gt;
&lt;br /&gt;
Here is the macro:&lt;br /&gt;
-STYLE;STANDARD;Arial Unicode MS;.125;;;;;&lt;br /&gt;
&lt;br /&gt;
So, first in this code is obviously the command; which in this case is our text style command.&amp;nbsp; Then you will list the text style that you are wanting to change; next will be the font style that you are wanting to change it to, and then finally the height of the text.&amp;nbsp; Last there are a bunch of semi-colons attached to the end of the code to enter through other questions that comes with changing the text style, but none of them applied in this case.&lt;br /&gt;
&lt;br /&gt;
Below is an example of this being used in one of my titleblock macros for inserting a title block and creating new layers for discipline specific drawings:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt;^C^C-STYLE;STANDARD;Arial Unicode MS;.125;;;;;ATTDIA;0;layout;set;layout1;&lt;br /&gt;^C^C-insert;D-SIZE_BOTTOM(22X34)(REV_D);0,0;XYZ;1;1;1;0;;;;;;^C^C-INSERT;*REV-TEXT.DWG;0,0;1;0;^c^cpsetupin;&quot;D_SIZE-PID.DWG&quot; &quot;*&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt;^c^c-plot;n;layout1;11x17;;n;y;n;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt;-LAYER;NEW;D_EQ;LTYPE;CONTINUOUS;D_EQ;LWEIGHT;.020;D_EQ;COLOR;11;D_EQ;;&lt;br /&gt;-LAYER;NEW;D_PR;LTYPE;CONTINUOUS;D_PR;LWEIGHT;.030;D_PR;COLOR;14;D_PR;;&lt;br /&gt;-LAYER;NEW;D_UT;LTYPE;CONTINUOUS;D_UT;LWEIGHT;.015;D_UT;COLOR;9;D_UT;;&lt;br /&gt;-LAYER;NEW;D_FIT;LTYPE;CONTINUOUS;D_FIT;LWEIGHT;.015;D_FIT;COLOR;7;D_FIT;;&lt;br /&gt;-LAYER;NEW;D_INST;LTYPE;CONTINUOUS;D_INST;LWEIGHT;.010;D_INST;COLOR;4;D_INST;;&lt;br /&gt;-LAYER;NEW;D_FUT;LTYPE;PHANTOM;D_FUT;LWEIGHT;.010;D_FUT;COLOR;6;D_FUT;;&lt;br /&gt;-LAYER;NEW;D_EXIST;LTYPE;DASHED;D_EXIST;LWEIGHT;.010;D_EXIST;COLOR;5;D_EXIST;;&lt;br /&gt;-LAYER;NEW;D_TXT;LTYPE;CONTINUOUS;D_TXT;LWEIGHT;.015;D_TXT;COLOR;7;D_TXT;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: x-small;&quot;&gt;-LAYER;NEW;VIEWPORT;COLOR;211;VIEWPORT;PLOT;NO;VIEWPORT;;&lt;br /&gt;^C^C_EATTEDIT;7.153207,1.737254,0.000000;^C^C-LA;SET;VIEWPORT;;^c^c-vports;1,21.4999;27.5,2;^C^C-LA;SET;D_PR;;^C^C_.INSERT;LOGO-CALLOUT;18.25,1.375,0;XYZ;1;1;1;0;-DIMSTYLE;R;EPIC;^C&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/1054593216432278571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/03/changing-text-style-font-with-macro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1054593216432278571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1054593216432278571'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2013/03/changing-text-style-font-with-macro.html' title='Changing text style font with a Macro...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-5063295799264500107</id><published>2012-12-31T12:32:00.002-08:00</published><updated>2012-12-31T12:32:24.518-08:00</updated><title type='text'>Excel and AutoCAD LT diesel macro...</title><content type='html'>Last week I had a question posed to me about linking an excel document to Autocad and then having a diesel macro that establishes a user variable and then returns that value to the excel document which in turn returns another variable to Autocad for labeling functionality.&amp;nbsp; For instance if you were assigning names to office spaces and you had them all in an excel document.&amp;nbsp; You could create a vlookup function in a cell, and have the cell that autocad will return a value to as the one that the vlookup is looking at to return your name.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
The diesel macro establishes a user variable is the indexing number and another one as the incrementing number.&amp;nbsp; Each time you use the command it will update one table which in turn updates the excel document and returns you the name that is associated with that number.&lt;br /&gt;
&lt;br /&gt;
Is there anyone that has needed this function or any one who would like to have this function?&amp;nbsp; If so, keep reading this post.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Alrighty…the instructions to
automating (fingers crossed) the names being inserted by table and then
exploded.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;First up…creating a new table style:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;In the command line type: tables&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Then hit enter.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;The following dialog box should come up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYzM_7jBWXwg0Vaf6_zLnwlIBHO3GUS2LyLvU0kvCiW12pdUulW_OOwJiM7N_LTMW6fFPUWwOCf9-yslsgZxMlJJ4F6Hg5mev5lZr5eVP8tWSCwM9YV7Z4qoM7Vbi6TQA1EsRCMUhHCbaE/s1600/pic1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYzM_7jBWXwg0Vaf6_zLnwlIBHO3GUS2LyLvU0kvCiW12pdUulW_OOwJiM7N_LTMW6fFPUWwOCf9-yslsgZxMlJJ4F6Hg5mev5lZr5eVP8tWSCwM9YV7Z4qoM7Vbi6TQA1EsRCMUhHCbaE/s400/pic1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;v:shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;
 &lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;
 &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;
 &lt;o:lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;
&lt;/o:lock&gt;&lt;/v:path&gt;&lt;/v:stroke&gt;&lt;/span&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Once you click the “New…” button enter whatever name you want to name
it.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;In the next dialog box follow as shown in pic below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiR_Waj6VwMhtBoOP3n-oRj2Dbk5Aw1eSGPBCowlltpgjSNn5AEiddWKUZ3tKYHd7pOEVrmoiOR93mAoa5udcyMTa2WB2Gzsbv98tfy4hxHxM5BlU1_R7FOFcxmXQkmtHAB9K1JA2LdR38/s1600/pic2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiR_Waj6VwMhtBoOP3n-oRj2Dbk5Aw1eSGPBCowlltpgjSNn5AEiddWKUZ3tKYHd7pOEVrmoiOR93mAoa5udcyMTa2WB2Gzsbv98tfy4hxHxM5BlU1_R7FOFcxmXQkmtHAB9K1JA2LdR38/s320/pic2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;In the borders tab change the border to be “No Border”&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Then hit okay.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Once done you will go back to the main dialog for the table styles.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Make sure that the current style set is the one that you just created.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Now comes is the fun part…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;First…lets create a table that is (1) column x (1) row. And then insert
that into your drawing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Now pick on that table and highlight cell “A1”…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Then on the ribbon panel you will see a button that says field…click
that button.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG7IPdeTykDj_HEEZctI7pp7DGNEeDVYUy_cwFgu7-MNg9pPIEmiaivnLZGJsK9V4Vpswo2rR4DxuKfXfwG9uCTvhPTcDqnyOi3PzuB2JUrbXYhgLN8IDkmfRrIl2ZloYTCejYWfrw95vN/s1600/pic5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG7IPdeTykDj_HEEZctI7pp7DGNEeDVYUy_cwFgu7-MNg9pPIEmiaivnLZGJsK9V4Vpswo2rR4DxuKfXfwG9uCTvhPTcDqnyOi3PzuB2JUrbXYhgLN8IDkmfRrIl2ZloYTCejYWfrw95vN/s320/pic5.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Then in the field dialog change your “Field category:” to show “Other”.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;In the “Field names:” column pick “DieselExpression”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;And then in the box to the right enter the diesel expression that is
shown.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;See pic below on next page for clarification…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Once the expression is entered then click the okay button to get out of
the dialog box.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;And then escape out of
your table.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;If done right then the value
in the cell should look like what is in the above picture…gray with white text.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXIFsCU2i26pD7eM-21rekdqavSbaKIwO6HF802Ej46K8sOZ2FvxuBcZUs_FVKmNUUFyHZWJharA4cu1dpJ6lQe1Vi4FkJanPsf3MvFgWcB8cFkSM6v33RvrLjU574p570aY39xrZtLeG1/s1600/pic6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;282&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXIFsCU2i26pD7eM-21rekdqavSbaKIwO6HF802Ej46K8sOZ2FvxuBcZUs_FVKmNUUFyHZWJharA4cu1dpJ6lQe1Vi4FkJanPsf3MvFgWcB8cFkSM6v33RvrLjU574p570aY39xrZtLeG1/s320/pic6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Next is some of the tricky stuff.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Pick the table that you just created &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;And click on the link cell button as shown in picture below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq0C4okWod4wKcRq1GcrAuz6NglC9Xq5MQO5bDvGMIKbsqcKUXLA869lT8VjwKJWoiXYmUbrq0aND00h4pPgjIclPeZYCGfT_NmgSlOOoZzBWoSlHoyikmOainWSXmGhQEI5ZfvcyfKI05/s1600/pic7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq0C4okWod4wKcRq1GcrAuz6NglC9Xq5MQO5bDvGMIKbsqcKUXLA869lT8VjwKJWoiXYmUbrq0aND00h4pPgjIclPeZYCGfT_NmgSlOOoZzBWoSlHoyikmOainWSXmGhQEI5ZfvcyfKI05/s320/pic7.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Then follow the steps that are shown below in pictures.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE_7m8mqm3papdwrue1aVbJZr6Z58xobD4tmGyCuCWPoz_jXUp8fTZWjwlvPqx75em4Pfjk06sCr33QnOWC76QagPVcJ926ZyRc4wpXWmOL6xKtOdpw_nW8OLbkBdAkdhJC7_o7Tdbg_O-/s1600/pic8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE_7m8mqm3papdwrue1aVbJZr6Z58xobD4tmGyCuCWPoz_jXUp8fTZWjwlvPqx75em4Pfjk06sCr33QnOWC76QagPVcJ926ZyRc4wpXWmOL6xKtOdpw_nW8OLbkBdAkdhJC7_o7Tdbg_O-/s320/pic8.png&quot; width=&quot;281&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkzIShnOg8a2LlAdfdj1Q8tgjfU7U1oc3Qy0fG4Ev3mPe2U-MRvDaaRCv7cv81RaGggs54vbCq5T9UbtbwA7grcu5KULcXYRxRWJk91JTtcv9nUn4cp7hjkPb0ZC8u_hWEvK9BTLvFgFjt/s1600/pic9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkzIShnOg8a2LlAdfdj1Q8tgjfU7U1oc3Qy0fG4Ev3mPe2U-MRvDaaRCv7cv81RaGggs54vbCq5T9UbtbwA7grcu5KULcXYRxRWJk91JTtcv9nUn4cp7hjkPb0ZC8u_hWEvK9BTLvFgFjt/s320/pic9.png&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXoTUBsnbnCUKCNwBLDDDcP9J_v35CZyc5rvE85S8TVByNIefSlMY1k9Kso9n3mfCAMKso38AqAPCM25la7zk3J5q7gN49q-igiZPMmivC2aAViewJtBvGWTgfziQg1b8MCuSlInCvTPw0/s1600/pic10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXoTUBsnbnCUKCNwBLDDDcP9J_v35CZyc5rvE85S8TVByNIefSlMY1k9Kso9n3mfCAMKso38AqAPCM25la7zk3J5q7gN49q-igiZPMmivC2aAViewJtBvGWTgfziQg1b8MCuSlInCvTPw0/s320/pic10.png&quot; width=&quot;288&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Here is where you will select the excel file with the names that you
are going to be generating in your cad file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi74O1LrfsFNRv0LUGJO6QkNXf75YYxMaaaCk0Nk2Iy6s24mupe87kBjq9ru91Maugp8-5JkLKfwPGD2P5mLTSwQ1XDUW58Vu07LDCwKQk63uJ80LJ0alEn-NF-vgZmzKUNkXbdvAeI-6Ih/s1600/pic12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi74O1LrfsFNRv0LUGJO6QkNXf75YYxMaaaCk0Nk2Iy6s24mupe87kBjq9ru91Maugp8-5JkLKfwPGD2P5mLTSwQ1XDUW58Vu07LDCwKQk63uJ80LJ0alEn-NF-vgZmzKUNkXbdvAeI-6Ih/s320/pic12.png&quot; width=&quot;204&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Be sure to select the “link to range” button and then put a random cell
in there that you can remember for later when you have to get into your excel
doc and create a vlookup value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;p.s. you have to do at least a 2 cell range or it won’t take it.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Also, make the sheet a different one from
where the names are as well.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Now…we need to get into the excel file, and I am kind of hoping that
you have the names numbered 1-300 or something because it will make it a lot
easier, but if you have a different case of associating a number to names then leave a comment about what you are needing and I will see what I can do to help remedy the issue.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;In the excel doc…on the sheet with the names; off to the right of those
columns pick an empty cell and create a vlookup…the “Sheet?!A!” is referring to
whatever sheet and cell you linked the table to that you have already created.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;=vlookup(Sheet?!A1,A1:b300,2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Make sure you save the excel doc and then close it…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Next…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;We are going to go through the creating the datalink to the same excel
doc but this time the linked range is going to be the one that is going to show
the name in it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;When creating this datalink…I would recommend naming it “names2” just
because that name is already built into the macro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Now once you have that done you are basically ready to create the
button with the macro…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Below is the macro for the button…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;*^C^Cupdatefield;all;;tabledit;\;datalinkupdate;w;all;;-table;l;names2;\explode;$m=$(getvar,lastpoint);setvar;userr1;$m=$(+,$(getvar,userr1),$(getvar,userr2))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0in 0in 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;It is amazing how short it is, and yet there is so much work prior to
being able to use it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;When you run the macro the first thing it will do is prompt you to pick
a table…and you will pick the initial table that you built that has the
updating variable number.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Once you pick
it then the next thing you do is place the name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Once you place it you will notice that it has borders…and that is
because it is inserted as a block and then explode in the macro.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;The border lines won’t print out on your
drawing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Again, we are using userr1, and userr2; so userr2 always stays as a
value of 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Okay…I think that is it…at least I hope that is it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Calibri;&quot;&gt;Let me know if there is anything else that you need clarified and I
will do my best to help clarify things.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;


</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/5063295799264500107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/12/excel-and-autocad-lt-diesel-macro.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/5063295799264500107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/5063295799264500107'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/12/excel-and-autocad-lt-diesel-macro.html' title='Excel and AutoCAD LT diesel macro...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYzM_7jBWXwg0Vaf6_zLnwlIBHO3GUS2LyLvU0kvCiW12pdUulW_OOwJiM7N_LTMW6fFPUWwOCf9-yslsgZxMlJJ4F6Hg5mev5lZr5eVP8tWSCwM9YV7Z4qoM7Vbi6TQA1EsRCMUhHCbaE/s72-c/pic1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-4877678687573365584</id><published>2012-12-20T07:33:00.002-08:00</published><updated>2012-12-20T07:33:59.864-08:00</updated><title type='text'>Instrumentation symbols with automated numbers...(diesel macro)</title><content type='html'>Working in the Process and Mechanical field you come across a lot of things that need to be automated so that it makes things a little easier on you as a designer.&amp;nbsp; So, one of the latest Diesel macros that I wrote is for automated ISA Instrumentation symbols.&amp;nbsp; The good thing is that this code can be used to create user commands for all instrumentation symbols and it will flow seamlessly with each symbol placed.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Okay, now to the code...&lt;br /&gt;
&lt;br /&gt;
*^c^c$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setvar;USERR1;&lt;br /&gt;
$M=$(+,$(getvar,USERR1),$(getvar,USERR2));-insert;&lt;br /&gt;
DISCRETE-PRIMARY;\1;1;\$(GETVAR,USERR1);LIT;;;&lt;br /&gt;
&lt;br /&gt;
The first portion of the code prior to the insert command is doing the math to increment the variables in the symbol.&amp;nbsp; In this example you can see that we are using USERR1 &amp;amp; USERR2; where USERR1 is the initial number that you want to use, and then USERR2 is the variable that increases the value of USERR1.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
The coding for the insert command may vary, but for mine after I call the symbol name I have a &lt;strong&gt;\1;1;\&lt;/strong&gt;.&amp;nbsp; This is the order of that bit of code...insertion point, scale x-coordinate, scale y-coordinate, rotation.&lt;br /&gt;
&lt;br /&gt;
Once you go through that then the first attribute that is being filled in is the number; so, we tell it to get the USERR1 variable, and then the next one you can leave it as a user input by substituting &quot;LIT&quot; with &quot;\&quot;.&amp;nbsp; Then depending on how many other attributes you have attached to the symbol you will need a semicolon for each attribute after the &quot;LIT&quot; for it to be able to repeat the command properly.</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/4877678687573365584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/12/instrumentation-symbols-with-automated.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4877678687573365584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4877678687573365584'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/12/instrumentation-symbols-with-automated.html' title='Instrumentation symbols with automated numbers...(diesel macro)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-3543539555476458419</id><published>2012-12-05T09:13:00.002-08:00</published><updated>2012-12-11T05:58:29.140-08:00</updated><title type='text'>Printing DataGridView&#39;s in VB...</title><content type='html'>&lt;span style=&quot;background-color: white; color: black;&quot;&gt;Lately I have been writing a lot of selection and list programs, and one that I have written was for engineers to list out valves, control valves, and equipment for projects to be able to send them out for quoting and design purposes.&amp;nbsp; One issue that I ran into was being able to get the DataGridView to print each line that is entered into the grid.&amp;nbsp; But, I was able to find a bit of code and with a few modifications of my own...I was able to get it to print all lines entered into the grid, and also allow the programmer to change location of the grid on the printdocument file.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black;&quot;&gt;So, below is the code for the datagridview:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Consolas; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;Dim mRow As Integer = 0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;Dim newpage As Boolean = True&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Private Sub PrintDocument1_PrintPage(sender As System.Object, e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;Dim tmpSize As New SizeF()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim tmpFont As Font&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;For i As Integer = 0 To DataGridView1.Columns.Count()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;tmpFont = DataGridView1.ColumnHeadersDefaultCellStyle.Font&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If tmpFont Is Nothing Then&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;tmpFont = DataGridView1.DefaultCellStyle.Font&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;For j As Integer = 0 To DataGridView1.Rows.Count - 1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;tmpFont = DataGridView1.Rows(j).DefaultCellStyle.Font&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If tmpFont Is Nothing Then&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;tmpFont = DataGridView1.DefaultCellStyle.Font&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim cellsPerRow As New List(Of Integer)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim rowHeight As Integer = DataGridView1.ColumnHeadersHeight + DataGridView1.Rows(0).Height&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim cellWidths(DataGridView1.Columns.Count - 1) As Integer&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim rowWidths As New List(Of Integer)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim cellCounter As Integer = 0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;

&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;With DataGridView1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim fmt As StringFormat = New StringFormat(StringFormatFlags.LineLimit)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;fmt.LineAlignment = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;StringAlignment.Center&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;fmt.Trimming = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;StringTrimming.EllipsisCharacter&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim y As Single = e.MarginBounds.Top + 120&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Do While mRow &amp;lt; .RowCount&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim row As DataGridViewRow = .Rows(mRow)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim x As Single = e.MarginBounds.Left&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim h As Single = 0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;For Each cell As DataGridViewCell In row.Cells&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Dim rc As RectangleF = New RectangleF(x, y, cell.Size.Width, cell.Size.Height)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;e.Graphics.DrawRectangle(&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Pens.Black, rc.Left, rc.Top, rc.Width, rc.Height)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If (newpage) Then&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;e.Graphics.DrawString(DataGridView1.Columns(cell.ColumnIndex).HeaderText, .Font,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;Brushes.Black, rc, fmt)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Else&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;e.Graphics.DrawString(DataGridView1.Rows(cell.RowIndex - 1).Cells(cell.ColumnIndex).FormattedValue.ToString(), .Font, &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Brushes.Black, rc, fmt)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;x += rc.Width&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;h = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Math.Max(h, rc.Height)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;newpage = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;False&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;y += h&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;mRow += 1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If y + h &amp;gt; e.MarginBounds.Bottom Then&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;e.HasMorePages = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;True&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;mRow -= 1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;newpage = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;True&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Exit Sub&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Loop&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;mRow = 0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;End With&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: black;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Arial; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black;&quot;&gt;So, the bit of code that is highlighted in yellow is where you can control the vertical location of the grid on the printdocument.&amp;nbsp; Also if you want to change the location of the grid horizontally then; three lines below &quot;dim y&quot; there is the code line for the &quot;dim x as single&quot; you can change the value of that to change the horizontal location of the grid.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black;&quot;&gt;Happy Coding!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/3543539555476458419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/12/printing-datagridviews-in-vb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/3543539555476458419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/3543539555476458419'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/12/printing-datagridviews-in-vb.html' title='Printing DataGridView&#39;s in VB...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-5599451372514857930</id><published>2012-11-28T19:31:00.001-08:00</published><updated>2012-11-28T19:31:39.431-08:00</updated><title type='text'>Dim extension lines set to center linetype...</title><content type='html'>So, I asked one of the guys that I work with about macros that he would want in AutoCAD to make things easier.  And one of the things that he said would be nice is if you could write a macro that would change the extension line of the placed dimension to center linetype. &lt;br /&gt;
I had never heard of this being used, but I took the task on.  What I found is that there are two ways to do this.&lt;br /&gt;
The first way is:&lt;br /&gt;
*^c^c-dimstyle;r;&lt;name of dimstyle&gt;;_dimlinear;&lt;br /&gt;
Now the dimstyle that is used has the extension lines set to center linetype.&lt;br /&gt;
&lt;br /&gt;
Now the other way to do this is:&lt;br /&gt;
*^c^cdimltex1;center;dimltec2;center;_dimlinear;-dimstyle;r;standard;&lt;br /&gt;
&lt;br /&gt;
This just overrides the standard style to make the extension lines center linetype and then at the end we restore the original standard dimstyle.&lt;br /&gt;
So, if this is something that you do then. Hopefully this is something that helps you.</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/5599451372514857930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/dim-extension-lines-set-to-center.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/5599451372514857930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/5599451372514857930'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/dim-extension-lines-set-to-center.html' title='Dim extension lines set to center linetype...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-7468585047054296145</id><published>2012-11-27T21:06:00.002-08:00</published><updated>2012-11-27T21:14:10.837-08:00</updated><title type='text'>Letter automation...explained a little...</title><content type='html'>&lt;span style=&quot;background-color: black; color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; line-height: 17px;&quot;&gt;*^C^C_text;\;$m=$(if, $(&amp;lt;=,$(getvar,userr1),7),$(nth,$(getvar,userr1), A, B, C, D, E, F, G, H),$(if,$(&amp;gt;=,$(getvar,userr1),8),$(nth,$(getvar,userr3), I, J, K, L, M, N, O, P)),)$(if,$(&amp;gt;=,$(getvar,userr1),15),$(nth,$(getvar,userr4), Q, R, S, T, U, V, W, X),)$(if,$(&amp;gt;=,$(getvar,userr1),23),$(nth,$(getvar,userr5), Y, Z, AA, AB, AC, AD, AE, AF),);setvar;userr1;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setvar;userr3;&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; line-height: 17px;&quot;&gt;$M=$(+,$(getvar,USERR3),$(getvar,USERR2));&lt;br /&gt;userr4;$M=$(+,$(getvar,USERR4),$(getvar,USERR2));&lt;br /&gt;userr5;$M=$(+,$(getvar,USERR5),$(getvar,USERR2));&lt;br /&gt;SETVAR;USERR3;\SETVAR;USERR4;\SETVAR;USERR5;\&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 11pt; line-height: 17px;&quot;&gt;So, above is the code that I had posted earlier for a somewhat automated lettering macro.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: black; color: white; font-size: 15px; line-height: 17px;&quot;&gt;Now, I am going to explain how it works. &amp;nbsp;First, we know that you start with the text command and go through all the prompts for it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: black; color: white; font-size: 15px; line-height: 17px;&quot;&gt;Then we work our way into the diesel portion of the macro...so, when developing this I found out that when using the &quot;nth&quot; function by itself you were limited to 7 arguments within the function.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: black; color: white; font-size: 15px; line-height: 17px;&quot;&gt;Hence, why I embedded the &quot;nth&quot; function within multiple if statements. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;Let&#39;s dissect these if statements a little:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;$m=$(if, &lt;b&gt;$(&amp;lt;=,$(getvar,userr1),7&lt;/b&gt;),$(nth,$(getvar,userr1), A, B, C, D, E, F, G, H),&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;$(if,$(&amp;gt;=,$(getvar,userr1),8),$(nth,$(getvar,userr3), I, J, K, L, M, N, O, P)),)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;so, in this first &quot;if statement&quot; I am telling it to evaluate the value of userr1.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;$m=$(if,&amp;nbsp;$(&amp;lt;=,$(getvar,userr1),7),&lt;b&gt;$(nth,$(getvar,userr1), A, B, C, D, E, F, G, H)&lt;/b&gt;,&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;$(if,$(&amp;gt;=,$(getvar,userr1),8),$(nth,$(getvar,userr3), I, J, K, L, M, N, O, P)),)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: black; color: white; font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: black; color: white; font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;If a value of 7 or less is returned then it moves on to this nth function where i am again calling for the value of userr1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;$m=$(if,&amp;nbsp;$(&amp;lt;=,$(getvar,userr1),7),$(nth,$(getvar,userr1), A, B, C, D, E, F, G, H),&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;b&gt;$(if,$(&amp;gt;=,$(getvar,userr1),8)&lt;/b&gt;,$(nth,$(getvar,userr3), I, J, K, L, M, N, O, P)),)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;you will find a recurring theme throughout these if statements that we are evaluating the value of userr1...here we are looking to see if the value of userr1 is greater than or equal to 8.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;$m=$(if,&amp;nbsp;$(&amp;lt;=,$(getvar,userr1),7),$(nth,$(getvar,userr1), A, B, C, D, E, F, G, H),&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;$(if,$(&amp;gt;=,$(getvar,userr1),8),&lt;b&gt;$(nth,$(getvar,userr3), I, J, K, L, M, N, O, P)&lt;/b&gt;),)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;If it returns a value of 8 or greater then it will move on to the next nth statement where we call for the value of userr3.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;And this process repeats 2 more times with userr4, and userr5. &amp;nbsp;One thing that you should notice is that the value to be returned from userr1 increase by a value of 8 with each &quot;if statement&quot;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;Now that we are done with the if statements we can move &amp;nbsp;on to the easier portions of the macro...how the values of the userr variables increase with each&amp;nbsp;repetition of the command.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;setvar;userr1;$M=$(+,$(getvar,USERR1),$(getvar,USERR2))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;This code will be repeated four times...you will just have to copy and paste and then replace userr1 with userr3, userr4 or userr5.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;And then the prompting for user input of the userr variables finishes out the macro.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px;&quot;&gt;Hope that this helped to clarify the process of the macro.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/7468585047054296145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/letter-automationexplained-little.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/7468585047054296145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/7468585047054296145'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/letter-automationexplained-little.html' title='Letter automation...explained a little...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-1236231513696184313</id><published>2012-11-27T14:12:00.000-08:00</published><updated>2012-11-27T14:12:02.850-08:00</updated><title type='text'>Somewhat automated lettering...(diesel macro)</title><content type='html'>I built this macro this morning upon a challenge issued to me yesterday.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
To those who would like some way to automate lettering in AutoCAD LT...here is a&amp;nbsp;Diesel Macro for LT that will allow you to atleast automate up to &quot;AF&quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;*^C^C_text;\;$m=$(if,
$(&amp;lt;=,$(getvar,userr1),7),$(nth,$(getvar,userr1), A, B, C, D, E, F, G,
H),$(if,$(&amp;gt;=,$(getvar,userr1),8),$(nth,$(getvar,userr3), I, J, K, L, M, N,
O, P)),)$(if,$(&amp;gt;=,$(getvar,userr1),15),$(nth,$(getvar,userr4), Q, R, S, T,
U, V, W, X),)$(if,$(&amp;gt;=,$(getvar,userr1),23),$(nth,$(getvar,userr5), Y, Z,
AA, AB, AC, AD, AE,
AF),);setvar;userr1;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setvar;userr3;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;$M=$(+,$(getvar,USERR3),$(getvar,USERR2));&lt;br /&gt;
userr4;$M=$(+,$(getvar,USERR4),$(getvar,USERR2));&lt;br /&gt;
userr5;$M=$(+,$(getvar,USERR5),$(getvar,USERR2));&lt;br /&gt;
SETVAR;USERR3;\SETVAR;USERR4;\SETVAR;USERR5;\&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;This macro requires more input on the users part than the number automation, but it works for a small amount of lettering.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;Before you run the command for the first time you need to make sure that your userr1 is set to a value of 0, and that your userr2 is set to a value of 1 (which is for the incrementing).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;When you run the command and you place the first letter; you will notice that it prompts you for the userr3, userr4, and userr5 values...just enter through these for now because you won&#39;t mess with them until a little further on.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;Now, one thing that you need to keep in mind is the letters that are associated with which userr variable:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;div&gt;
userr1 - starts at A and ends with H&lt;/div&gt;
&lt;div&gt;
userr3 - starts at I and ends with P&lt;/div&gt;
&lt;div&gt;
userr4 - starts at Q and ends with X&lt;/div&gt;
&lt;div&gt;
userr5 - starts at Y and ends with AF&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
knowing this will help with understanding when to change variable values as you keep going up the alphabet.&amp;nbsp; So, for example, once you place an &quot;H&quot;; when the prompt for userr3 appears change it to a value of 0.&amp;nbsp; Once this is done you don&#39;t have to edit it anymore; you can just keep hitting enter through the variables until the end of that letter set on the userr variable.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
On another note:&lt;/div&gt;
&lt;div&gt;
If you are a AutoCAD non-Lt user then the text command is a little different for you.&lt;/div&gt;
&lt;div&gt;
Instead of:&lt;/div&gt;
&lt;div&gt;
*^c^c_text;\;&lt;/div&gt;
&lt;div&gt;
You will have this:&lt;/div&gt;
&lt;div&gt;
*^c^c_text;\;;&lt;/div&gt;
&lt;div&gt;
And then if you want to add justification to it (for example...middle center justification)&lt;/div&gt;
&lt;div&gt;
*^c^c_text;j;mc;\;;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
If anyone uses this macro and has issues please comment and let us know what changes you had to make to the macro.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Thank you&amp;nbsp;for reading this post!&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/1236231513696184313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/somewhat-automated-letteringdiesel-macro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1236231513696184313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/1236231513696184313'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/somewhat-automated-letteringdiesel-macro.html' title='Somewhat automated lettering...(diesel macro)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-7615857766800153915</id><published>2012-11-26T13:58:00.002-08:00</published><updated>2012-11-26T13:58:20.405-08:00</updated><title type='text'>3 line date stamp...</title><content type='html'>Here is a quick and easy way to insert a textblock with username, date, and time.&lt;br /&gt;
&lt;br /&gt;
^C^C_text;\;BY: $m=$(GETVAR,LOGINNAME);;;Date: $m=$(edtime,$(getvar,date),MO&quot;/&quot;dd&quot;/&quot;yy);;;Time: $m=$(edtime,$(getvar,date),HH:MMam/pm);&lt;br /&gt;
&lt;br /&gt;
Yet again, this is another code for the AutoCAD LT users out there, but also works on Full version AutoCAD.&amp;nbsp; The only difference for the non-LT users is that the beginning of the code is going to be as follows:&lt;br /&gt;
&lt;br /&gt;
^c^c_text;j;mc;\;0;BY: $m=$(GETVAR,LOGINNAME);;;Date: $m=$(edtime,$(getvar,date),MO&quot;/&quot;dd&quot;/&quot;yy);;;Time: $m=$(edtime,$(getvar,date),HH:MMam/pm);&lt;br /&gt;
&lt;br /&gt;
And then your finished product will be:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO4tF8eYJQMpNaBZB3FlDgLD9ZfeEzgomFOsmVQUHIOHWRhPqLyg7JH9uwKSIEVoV_k_S46JqAdYuJ3dK-PPao99jLfuWeJbZA3Rd-wfjXEIv_9XKu_bp18CJM3xrTZDO3uNsGYNWZH6AS/s1600/time_stamp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;141&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO4tF8eYJQMpNaBZB3FlDgLD9ZfeEzgomFOsmVQUHIOHWRhPqLyg7JH9uwKSIEVoV_k_S46JqAdYuJ3dK-PPao99jLfuWeJbZA3Rd-wfjXEIv_9XKu_bp18CJM3xrTZDO3uNsGYNWZH6AS/s320/time_stamp.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
p.s. you won&#39;t have the line under the date...that is just my crosshair that got&amp;nbsp;in the way...&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/7615857766800153915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/3-line-date-stamp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/7615857766800153915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/7615857766800153915'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/3-line-date-stamp.html' title='3 line date stamp...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO4tF8eYJQMpNaBZB3FlDgLD9ZfeEzgomFOsmVQUHIOHWRhPqLyg7JH9uwKSIEVoV_k_S46JqAdYuJ3dK-PPao99jLfuWeJbZA3Rd-wfjXEIv_9XKu_bp18CJM3xrTZDO3uNsGYNWZH6AS/s72-c/time_stamp.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-4957814769843104692</id><published>2012-11-26T13:40:00.001-08:00</published><updated>2012-11-26T13:40:32.717-08:00</updated><title type='text'>Autocad macro...calling coordinate points on blocks</title><content type='html'>One thing that always comes up when creating P&amp;amp;ID&#39;s is;&amp;nbsp;&quot;how can you make it simplier to insert blocks and not have to take the time to do all the trimming of the lines once the block is in?&quot;&lt;br /&gt;
I was actually able to create a couple of ways that allowed AutoCAD LT users and full version AutoCAD users to be able to do this.&amp;nbsp; I have posted the LT version with the diesel macro, but today I am going to go over the lisp routine route.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDux7NwGiUdMwMd8nrQLPm5uqvMCCrDfAfwlx5U9DnaBWW_O0kQ0Rjlg7Qcl57iFGgZuMlFE9VpjQkckWlil5Go8cEK48K6_JMmx-DYG-3msPLgjAKWs5DsgIqI_NzPtAXCtwU-CBfqWDw/s1600/check_blog.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDux7NwGiUdMwMd8nrQLPm5uqvMCCrDfAfwlx5U9DnaBWW_O0kQ0Rjlg7Qcl57iFGgZuMlFE9VpjQkckWlil5Go8cEK48K6_JMmx-DYG-3msPLgjAKWs5DsgIqI_NzPtAXCtwU-CBfqWDw/s320/check_blog.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Below you will see today&#39;s code that we are going to go over:&lt;br /&gt;
&lt;br /&gt;
*^c^cattdia;0;^c^c_.insert;CHECK;\;1;\;;^C(setq edata (entget (setq en (entlast))));^c^cbreak;\f;(setq edata (entget (entnext (cdr (assoc -1 edata)))))(setq ip1 (cdr (assoc 10 edata)));(setq edata (entget (entnext (cdr (assoc -1 edata)))))(setq ip1 (cdr (assoc 10 edata)));^c^cattdia;1;^c&lt;br /&gt;
&lt;br /&gt;
Okay...let&#39;s dive into this.&lt;br /&gt;
It isn&#39;t as overwhelming as it looks...it is actually quite simple.&lt;br /&gt;
&lt;br /&gt;
So, first we are calling the &lt;strong&gt;attdia&lt;/strong&gt; command and setting it to &lt;strong&gt;0&lt;/strong&gt;.&amp;nbsp; We are doing this so that the 2 attributes that are attached to the block won&#39;t show up with a dialog prompt box.&lt;br /&gt;
&lt;br /&gt;
Next we start the &lt;strong&gt;insert&lt;/strong&gt; command and in this example we are inserting a check valve.&lt;br /&gt;
&lt;br /&gt;
CHECK;&lt;em&gt;&lt;strong&gt;&lt;u&gt;\&lt;/u&gt;&lt;/strong&gt;;&lt;/em&gt;1;\;; - the forward slash is to prompt for user input and this is for the insertion point.&lt;br /&gt;
CHECK;\;&lt;strong&gt;&lt;u&gt;1&lt;/u&gt;&lt;/strong&gt;;\;; - here we are telling it what scale the block is going to be inserted at.&lt;br /&gt;
CHECK;\;1;&lt;strong&gt;&lt;u&gt;\&lt;/u&gt;&lt;/strong&gt;;; - This is to set the rotation of the block...another user input prompt.&lt;br /&gt;
CHECK;\;1;\&lt;strong&gt;&lt;u&gt;;;&lt;/u&gt;&lt;/strong&gt; - and these last two semicolons are to enter through the 2 attributes that are attached to &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the block.&lt;br /&gt;
&lt;br /&gt;
Next, we will be going into the routine that recalls the block and calls for the point locations.&lt;br /&gt;
&lt;strong&gt;^C(setq edata (entget (setq en (entlast))))&lt;/strong&gt; - here we are telling AutoCAD to look up the last block that was inserted.&lt;br /&gt;
Now we call on the break command with the fence option.&lt;br /&gt;
&lt;strong&gt;^c^cbreak;\f; &lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Now comes the fun part of calling for the attribute points.&lt;br /&gt;
(setq edata (entget (entnext (cdr (assoc -1 edata)))))(setq ip1 (cdr (assoc 10 edata)))&lt;strong&gt;&lt;u&gt;;&lt;/u&gt;&lt;/strong&gt;(setq edata (entget (entnext (cdr (assoc -1 edata)))))(setq ip1 (cdr (assoc 10 edata)));^c^cattdia;1;&lt;br /&gt;
&lt;br /&gt;
For both points the code is the same, so once you type it once you will be able to copy and paste for the second point, and you can see that by the semicolon that has been made bold and underlined to help you see it.&lt;br /&gt;
&lt;br /&gt;
But here is the code:&lt;br /&gt;
&lt;strong&gt;(setq edata (entget (entnext (cdr (assoc -1 edata)))))(setq ip1 (cdr (assoc 10 edata)))&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
the first (setq) grouping is calling for the &lt;strong&gt;bp1&lt;/strong&gt; attribute in the check valve block, and then the second (setq) grouping is what returns the coordinate values of the attribute, and then establishes the first point.&lt;br /&gt;
&lt;br /&gt;
Now all you got to do is add a semicolon and then copy and paste the code for the second point and then end it with a semicolon and you are done.&lt;br /&gt;
&lt;br /&gt;
Happy Trimming...&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/4957814769843104692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/autocad-macrocalling-coordinate-points.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4957814769843104692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4957814769843104692'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/autocad-macrocalling-coordinate-points.html' title='Autocad macro...calling coordinate points on blocks'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDux7NwGiUdMwMd8nrQLPm5uqvMCCrDfAfwlx5U9DnaBWW_O0kQ0Rjlg7Qcl57iFGgZuMlFE9VpjQkckWlil5Go8cEK48K6_JMmx-DYG-3msPLgjAKWs5DsgIqI_NzPtAXCtwU-CBfqWDw/s72-c/check_blog.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-6133101254238838320</id><published>2012-11-22T14:10:00.001-08:00</published><updated>2012-11-22T14:10:24.879-08:00</updated><title type='text'>Setting environment variables...</title><content type='html'>When setting environment variables there are different ways of setting them depending on whether you are using full version AutoCAD or AutoCAD LT.  To set an environment variable in AutoCAD you use the command...USERSx.  X represents numbers 1-5.  With AutoCAD LT you have to use...setenv.  There are different environment variables when using this command.  A couple of them are StrPrefix, and StrSuffix.  You can use these with the diesel macros from the last couple posts for automated numbering.</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/6133101254238838320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/setting-environment-variables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/6133101254238838320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/6133101254238838320'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/setting-environment-variables.html' title='Setting environment variables...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-6894533128966090477</id><published>2012-11-21T22:39:00.002-08:00</published><updated>2012-11-21T22:39:18.895-08:00</updated><title type='text'>Diesel Sequential Numbering...Adding prefix to numbering</title><content type='html'>So, this is a continuation to the last post of the diesel automated numbering.&lt;br /&gt;
In this one, I am going to show you how to make it to where you can enter in an environment variable to create a prefix that will show at the beginning of your numbering.&lt;br /&gt;
Below is the Macro coding for what we are going to work with:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*^c^c_text;\;$M=$(getenv,StrPrefix)$M=$(+,$(&lt;wbr&gt;&lt;/wbr&gt;getvar,USERR1),$(getvar,&lt;wbr&gt;&lt;/wbr&gt;USERR2));setvar;USERR1;&lt;br /&gt;
$M=$(+,&lt;wbr&gt;&lt;/wbr&gt;$(getvar,USERR1),$(getvar,&lt;wbr&gt;&lt;/wbr&gt;USERR2));&lt;br /&gt;
&lt;br /&gt;
Now, what is being added to the macro is the following;&amp;nbsp;$M=$(getenv,StrPrefix)&lt;br /&gt;
this coding is pulling the value that a user sets for the StrPrefix.&lt;br /&gt;
&lt;br /&gt;
To establish this environment value follow the steps below:&lt;br /&gt;
1. on the command line; type in &amp;nbsp;_setenv (then hit enter)&lt;br /&gt;
2. type in StrPrefix (then hit enter)&lt;br /&gt;
3. enter in the text variable that you are wanting to use for your prefix (then hit enter)&lt;br /&gt;
&lt;br /&gt;
Now, with your user variables already set you can run the new command and you will have the established prefix showing up in your text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/6894533128966090477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/diesel-sequential-numberingadding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/6894533128966090477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/6894533128966090477'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/diesel-sequential-numberingadding.html' title='Diesel Sequential Numbering...Adding prefix to numbering'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-3173406150152771765</id><published>2012-11-21T10:41:00.000-08:00</published><updated>2012-11-21T16:18:26.345-08:00</updated><title type='text'>Diesel Macro Auto Increment Numbers...</title><content type='html'>I received a question the other day from some one wanting to know how to automate sequential numbering in AutoCAD LT.  So, i thought that this would be a good topic to put out there because I am sure that others have wanted to know if this was possible as well.&lt;br /&gt;
Anyways...to the topic.&lt;br /&gt;
&lt;br /&gt;
First, the Macro:&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; color: #cc0000; display: inline !important; float: none; font-size-adjust: none; font-stretch: normal; font: 13px/19.5px arial; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
*^c^c_text;\;0;$M=$(+,$(&lt;wbr&gt;&lt;/wbr&gt;getvar,USERR1),$(getvar,&lt;wbr&gt;&lt;/wbr&gt;USERR2));setvar;USERR1;&lt;br /&gt;
$M=$(+,&lt;wbr&gt;&lt;/wbr&gt;$(getvar,USERR1),$(getvar,&lt;wbr&gt;&lt;/wbr&gt;USERR2));&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;One thing that you have to remember is&lt;/span&gt; &lt;span style=&quot;font-family: inherit;&quot;&gt;that before you run the command you must the USERR1, and USERR2.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: white;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background-color: black; color: white; font-family: Times New Roman;&quot;&gt;USERR1 value is going to be your initial value (i.e...99 to start with 100)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background-color: black; color: white; font-family: Times New Roman;&quot;&gt;Then your USERR2 value is the increment in which you are wanting to increase with each placement of text.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background-color: black; color: white; font-family: Times New Roman;&quot;&gt;To set these values type userr1 into your command line and hit enter and then enter in the initial value&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background-color: black; color: white; font-family: Times New Roman;&quot;&gt;see pics below:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; color: #cc0000; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Times New Roman;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheNdsPhLCD1hWzvx5yxOhZKKoEjSJEXmdK7tmspMdj6bTKQ7dQ_Qoql1HZ3cVRNA9G_tZUu9HYDZs_Rgy7Nu0d71GwmDSqzvQIpKs3Yh5J9DAoKcoOnxG1O-A8pdnRECpwbr2LMgQUlBWo/s1600/seq_step1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;86&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheNdsPhLCD1hWzvx5yxOhZKKoEjSJEXmdK7tmspMdj6bTKQ7dQ_Qoql1HZ3cVRNA9G_tZUu9HYDZs_Rgy7Nu0d71GwmDSqzvQIpKs3Yh5J9DAoKcoOnxG1O-A8pdnRECpwbr2LMgQUlBWo/s400/seq_step1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; color: #cc0000; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiArH2LHSW0HLxtb9uM9mTweEUm50E5MF6yd1d94FFw1qj5pUuVLQcVeaDSAXN_1oLIyv5OKOHJB5RdmXuEPusIy842GjtXtJ31tW-Ch02EST50jcwdf7dM8K8cdcZxgiZ4bFj4UuQjg_FP/s1600/seq_step2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;92&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiArH2LHSW0HLxtb9uM9mTweEUm50E5MF6yd1d94FFw1qj5pUuVLQcVeaDSAXN_1oLIyv5OKOHJB5RdmXuEPusIy842GjtXtJ31tW-Ch02EST50jcwdf7dM8K8cdcZxgiZ4bFj4UuQjg_FP/s400/seq_step2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; color: #cc0000; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Times New Roman;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; color: #cc0000; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Times New Roman;&quot;&gt;Once value is set for USERR1,  press enter, and then repeat for USERR2.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now that your starting and incremental value have been set you can run the command and start picking away.&lt;br /&gt;
&lt;br /&gt;
*EDIT*&lt;br /&gt;
The above macro justified the text to bottom left; the below macro is modified to justify to middle center.&lt;br /&gt;
&lt;br /&gt;
*^c^c_text;J;MC;\;0;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setvar;USERR1;&lt;br /&gt;
$M=$(+,$(getvar,USERR1),$(getvar,USERR2));&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #e0e0e0; color: #cc0000; display: inline !important; float: none; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.5px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/3173406150152771765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/diesel-macro-auto-increment-numbers.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/3173406150152771765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/3173406150152771765'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/diesel-macro-auto-increment-numbers.html' title='Diesel Macro Auto Increment Numbers...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheNdsPhLCD1hWzvx5yxOhZKKoEjSJEXmdK7tmspMdj6bTKQ7dQ_Qoql1HZ3cVRNA9G_tZUu9HYDZs_Rgy7Nu0d71GwmDSqzvQIpKs3Yh5J9DAoKcoOnxG1O-A8pdnRECpwbr2LMgQUlBWo/s72-c/seq_step1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-2189393101413950695</id><published>2012-11-19T13:34:00.001-08:00</published><updated>2012-12-05T08:49:47.015-08:00</updated><title type='text'>building estimation forms (Inventor iLogic)...</title><content type='html'>Creating an Estimation form with Inventor iLogic and Excel...&lt;br /&gt;
&lt;br /&gt;
To be able to create an estimation form and link it to information within your Inventor model is a huge time saver in my line of work.&amp;nbsp; One thing that I have been working on is developing a form that will help our Project Managers estimate the cost of a project (at least structural steel wise) a little bit&amp;nbsp;better, and quicker so that they can get initial bids out to customers quicker.&lt;br /&gt;
&lt;br /&gt;
Below is a pic of the form that I have been creating:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwlpls36zbgYe0dpXPIvtV9qPBRnorpBTVzn9NnnP9hnh6htYOuzyt5jW2OUKUHTyRfL2Y1lh0z77iZFsXvba0OThVGjrnMzyL9bsDLlTNc6EUe2p3wnyqfCj2Dy7AihIiUHT98I3BsRaW/s1600/export.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwlpls36zbgYe0dpXPIvtV9qPBRnorpBTVzn9NnnP9hnh6htYOuzyt5jW2OUKUHTyRfL2Y1lh0z77iZFsXvba0OThVGjrnMzyL9bsDLlTNc6EUe2p3wnyqfCj2Dy7AihIiUHT98I3BsRaW/s320/export.jpg&quot; width=&quot;248&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
and basically all the information but the added totals of everything is exported from an Inventor model.&amp;nbsp; Below is another pic showing the iLogic forms that are built to supply this information that also control the construction of my model.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1Gvp8qegOI8gZ4Ec83iwSeHsUibqynEWi0N2kAeTdEN_NMyVf1w-0XgSdsqKi60yh4bWPQHVAMwp4JrdIlZDmyX_RCYAonYpd2kC-94hGJxuVk5qxPOaIPujaVGSt9KBBM8yDN1vFPWTW/s1600/forms.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1Gvp8qegOI8gZ4Ec83iwSeHsUibqynEWi0N2kAeTdEN_NMyVf1w-0XgSdsqKi60yh4bWPQHVAMwp4JrdIlZDmyX_RCYAonYpd2kC-94hGJxuVk5qxPOaIPujaVGSt9KBBM8yDN1vFPWTW/s320/forms.png&quot; width=&quot;222&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Here is an example of how some of this is done...&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;title&gt;SyntaxEditor Code Snippet&#39;&lt;/title&gt;&lt;!--StartFragment--&gt;

&lt;title&gt;SyntaxEditor Code Snippet&lt;/title&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;title&gt;SyntaxEditor Code Snippet&lt;/title&gt;&lt;!--StartFragment--&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;drafting hours and cost&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;GoExcel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;CellValue&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;export.xls&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;A37&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;drafting_hours&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;GoExcel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;CellValue&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;export.xls&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;C37&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;drafting_rate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;engineering cost and hours&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;GoExcel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;CellValue&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;export.xls&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;A41&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;engineering_hours&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;GoExcel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;CellValue&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;export.xls&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;C41&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;engineering_rate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;
&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;grating description and cost&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;GoExcel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;CellValue&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;export.xls&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;A49&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;grating_descrip&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;GoExcel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;CellValue&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;export.xls&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;E49&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;d126&lt;/span&gt;&lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;qty of 3ft wide panels&lt;/span&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;GoExcel&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-weight: bold;&quot;&gt;CellValue&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;export.xls&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;Sheet1&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;F49&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;grating_cost&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt; &lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
﻿&lt;/div&gt;
I have found that when you are&amp;nbsp;attempting to export Bill of Material data out&amp;nbsp;with a template that the template must be in a 97-2003 file format for it&amp;nbsp;to work.</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/2189393101413950695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/building-estimation-forms-inventor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/2189393101413950695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/2189393101413950695'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/building-estimation-forms-inventor.html' title='building estimation forms (Inventor iLogic)...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwlpls36zbgYe0dpXPIvtV9qPBRnorpBTVzn9NnnP9hnh6htYOuzyt5jW2OUKUHTyRfL2Y1lh0z77iZFsXvba0OThVGjrnMzyL9bsDLlTNc6EUe2p3wnyqfCj2Dy7AihIiUHT98I3BsRaW/s72-c/export.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-8720415030949373424</id><published>2012-11-14T14:24:00.001-08:00</published><updated>2012-11-14T14:24:59.864-08:00</updated><title type='text'>Using Inventor iLogic to help estimating...</title><content type='html'>One thing that I have come to realize about Inventor and the iLogic programming is that there are many things that it can be used for.&amp;nbsp; One thing that I am working on developing with a company is an estimating program within inventor.&amp;nbsp; This program has a standard tube frame built in an assembly and you can select from many different tube sizes whether it be square or rectangular and then in an iLogic form that was created you can enter in the cost for the tubing sizes and it will automatically calculate, and then there are other fields to add in shop hours, drafting hours, and engineering hours, and it will give you a total for those specific items and it totals the amount of steel that is in the assembly and adds that to the total of the other fields to give you an estimated cost.&lt;br /&gt;
As seen below in this pic...you can see the layout of how to define the frame structure, and then below that form is another one that defines the cost and weight.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1xgltxfDYffIIhLiqjDKo9bU6lm4jMUvaMe9qLwaz5spJGgh6Lo_uSWZlFtkN6e-NJahr1qN-HxoWrzXzMnnqENC_76_MoZwcmlbF2NwMHODGO8GKjmDhJ02Z4QTAxo2wtQT0jq2hMKi5/s1600/blog_pic.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1xgltxfDYffIIhLiqjDKo9bU6lm4jMUvaMe9qLwaz5spJGgh6Lo_uSWZlFtkN6e-NJahr1qN-HxoWrzXzMnnqENC_76_MoZwcmlbF2NwMHODGO8GKjmDhJ02Z4QTAxo2wtQT0jq2hMKi5/s320/blog_pic.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Plus, once you have the basic information input and then the model rebuilds then you have your base structure that you can export.</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/8720415030949373424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/using-inventor-ilogic-to-help-estimating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/8720415030949373424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/8720415030949373424'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/using-inventor-ilogic-to-help-estimating.html' title='Using Inventor iLogic to help estimating...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1xgltxfDYffIIhLiqjDKo9bU6lm4jMUvaMe9qLwaz5spJGgh6Lo_uSWZlFtkN6e-NJahr1qN-HxoWrzXzMnnqENC_76_MoZwcmlbF2NwMHODGO8GKjmDhJ02Z4QTAxo2wtQT0jq2hMKi5/s72-c/blog_pic.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-4473145566051379502</id><published>2012-11-01T13:19:00.000-07:00</published><updated>2012-11-01T13:19:04.529-07:00</updated><title type='text'>Controlling Beam sizes with iLogic...</title><content type='html'>Today I want to give an example of iLogic and one of the many ways that it can make designing easier.&lt;br /&gt;
First, is controlling Beam or frame sizes with the click of a button.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Here we have a I-beam frame&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3ro9Sln8bNYAC6g0LIxOvSpOLeAC3K5U-1DPhr5098dN9sOmQoBZOTmGECTJbgFtbfzQjbqWNZAaGv_E-8sNWk7mEmiisjFRVxgAIRC5orXMh24OzuKy1iK_aecWe-my4_oj7QkvkqJn9/s1600/ilogic-frames.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3ro9Sln8bNYAC6g0LIxOvSpOLeAC3K5U-1DPhr5098dN9sOmQoBZOTmGECTJbgFtbfzQjbqWNZAaGv_E-8sNWk7mEmiisjFRVxgAIRC5orXMh24OzuKy1iK_aecWe-my4_oj7QkvkqJn9/s320/ilogic-frames.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In iLogic you can write code that will manipulate the beams to allow you to select different sizes as shown below:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM5UdT-C3QJX0SY20GBGBtsEKazmDyLzpEQB_k_jMAPnbFKOh5hqjn2Iv9Z7f7FXDoepmB6XgXgnH90SCrfx9cVDtC-uQwJYpX5756XeVi9S_-1RGWRhE4wSvamuHHIDO7eelsJR5brJ-i/s1600/ilogic-rule.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;268&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM5UdT-C3QJX0SY20GBGBtsEKazmDyLzpEQB_k_jMAPnbFKOh5hqjn2Iv9Z7f7FXDoepmB6XgXgnH90SCrfx9cVDtC-uQwJYpX5756XeVi9S_-1RGWRhE4wSvamuHHIDO7eelsJR5brJ-i/s320/ilogic-rule.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
Once programmed then you can go into your parameters and pulldown the list for your beam sizes.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC2M31utJovKpEeQxza7JAlyJUIrgi4ZKl0Ufzraa4HRTl1l-HzRazvsyk36N1lvpYTt1PJ2RYa3fHhIMaRo5loS3DR0KoXYODir_MUkTjzqusnN7Jerzk0q2WH_IVl8k7X8Qy5XLakVNS/s1600/parameters.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC2M31utJovKpEeQxza7JAlyJUIrgi4ZKl0Ufzraa4HRTl1l-HzRazvsyk36N1lvpYTt1PJ2RYa3fHhIMaRo5loS3DR0KoXYODir_MUkTjzqusnN7Jerzk0q2WH_IVl8k7X8Qy5XLakVNS/s320/parameters.png&quot; width=&quot;292&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
and then once you select one it will automatically update your assembly.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMSMEBm5rxrlUnfdeq7jQi3g66S9G0Yld4T6MOPrYfaAtEUWHvQylshsKu0pNJO7zzy23c06N4__2-n0XUU9J7pfadGIqG0ijtNE78jw7Nt0SJX0dHTnvXXny6oX6ue_OjF-sRPzbbsdfs/s1600/ilogic-frames2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;275&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMSMEBm5rxrlUnfdeq7jQi3g66S9G0Yld4T6MOPrYfaAtEUWHvQylshsKu0pNJO7zzy23c06N4__2-n0XUU9J7pfadGIqG0ijtNE78jw7Nt0SJX0dHTnvXXny6oX6ue_OjF-sRPzbbsdfs/s320/ilogic-frames2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
This is a very basic use for iLogic...one of the things that i am working on for this assembly is coding to be able to define which wall a ladder assembly will be placed and then having supporting beam members that are able to move around in the assembly depending on which wall is selected for the ladder.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
So, as stated before...there are so many possiblities when it comes to using Inventor iLogic in your design process.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
﻿&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/4473145566051379502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/controlling-beam-sizes-with-ilogic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4473145566051379502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4473145566051379502'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/controlling-beam-sizes-with-ilogic.html' title='Controlling Beam sizes with iLogic...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3ro9Sln8bNYAC6g0LIxOvSpOLeAC3K5U-1DPhr5098dN9sOmQoBZOTmGECTJbgFtbfzQjbqWNZAaGv_E-8sNWk7mEmiisjFRVxgAIRC5orXMh24OzuKy1iK_aecWe-my4_oj7QkvkqJn9/s72-c/ilogic-frames.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-9191419326173517342</id><published>2012-11-01T13:02:00.003-07:00</published><updated>2012-11-01T13:02:40.879-07:00</updated><title type='text'>Inventor iLogic...is Awesome!</title><content type='html'>So, one of the programs that I enjoy using a lot is Inventor, and within Inventor is iLogic.&amp;nbsp;&amp;nbsp;If you want a way to reduce design time, get drawings out to the shop quicker and just make use of the program easier; then iLogic is the solution.&amp;nbsp;&amp;nbsp;For example, I am creating an iLogic program that will&amp;nbsp;ease the structural design of&amp;nbsp;modular skids for a company; it will reduce the actual structural design time&amp;nbsp;by just inputing.&lt;br /&gt;
Below is a video showing an example of an iLogic program, that had a custom form imported into the program.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/j2ASEar1J9A?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
In the next post, I will give an example of some of the programming and how it works.&amp;nbsp; If there are any questions out there about iLogic or&amp;nbsp;even Inventor;&amp;nbsp;I would be happy to answer any of them out there.﻿&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/9191419326173517342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/inventor-ilogicis-awesome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/9191419326173517342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/9191419326173517342'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/11/inventor-ilogicis-awesome.html' title='Inventor iLogic...is Awesome!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-8143948903904443706</id><published>2012-10-30T09:30:00.002-07:00</published><updated>2012-10-30T10:18:01.412-07:00</updated><title type='text'>Binding xref&#39;s in CADWorx Plant...</title><content type='html'>Lately I ran across an issue with trying to bind xref&#39;s within CADWorx 2013, and I would always get an error dealing with proxy objects.&amp;nbsp; Come to find out it was the parts that I had created in CADWorx Equipment that was causing the errors when trying to bind the xref&#39;s.&lt;br /&gt;
So, in order to fix this you must make CADWorx equipment run in the same session as CADworx plant in order for it to recognize the equipment files.&lt;br /&gt;
&lt;br /&gt;
To get CADWorx Equipment to run in CADWorx Plant here are the steps that need to be done:&lt;br /&gt;
&lt;br /&gt;
1. In Plant &lt;strong&gt;TOOLS&amp;gt;OPTIONS (&lt;/strong&gt;or for those of you that use the keyboard for commands&amp;nbsp;&quot;OP&quot;)&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp;On the Files tab; expand&amp;nbsp;&quot;Support File Search Path&quot; item.&lt;br /&gt;
&lt;br /&gt;
3. Click &lt;strong&gt;Add&lt;/strong&gt;, and browse to the CADWorx Equipment support directory.&amp;nbsp; Shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii2ywMttvIN9f1nsA324BL_AShDaGzN_f2Z3ZsAL7aEzMDCBKF4VqlJ_wRsi4xmuubyOVGU6MpGECHbpKJJmKFA8SIod-cIdH02WfeqWq-rYih6HO_9jjiU0Gpf34ErvM9lLepgX2yB85p/s1600/CADWorx_Equipment_Support_Entry.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii2ywMttvIN9f1nsA324BL_AShDaGzN_f2Z3ZsAL7aEzMDCBKF4VqlJ_wRsi4xmuubyOVGU6MpGECHbpKJJmKFA8SIod-cIdH02WfeqWq-rYih6HO_9jjiU0Gpf34ErvM9lLepgX2yB85p/s400/CADWorx_Equipment_Support_Entry.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;4. Close CADWorx Plant Session.&lt;br /&gt;
&lt;br /&gt;
5. Start Windows Explorer and browse to CADWorx Plant support directory.&amp;nbsp; Shown below:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_s1VTNy6CxTSgIRLMDImfCw1fiMvKP0xQYo9ctpAJrrViFmYB2JpOXKQO0FQNLiqsvbW96yWfCtZeDDXM4t-824nfLqHr6KKEy6H7Ynk2tuPcucZzuHbxYKThsokzZAwb4ZCS6NdHowpf/s1600/file+location.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_s1VTNy6CxTSgIRLMDImfCw1fiMvKP0xQYo9ctpAJrrViFmYB2JpOXKQO0FQNLiqsvbW96yWfCtZeDDXM4t-824nfLqHr6KKEy6H7Ynk2tuPcucZzuHbxYKThsokzZAwb4ZCS6NdHowpf/s400/file+location.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;6.&amp;nbsp;Locate the file Acad.arx, and open it using a text editor&lt;br /&gt;
&lt;br /&gt;
7. Below CADWorxPlant2013.arx type in CADWorxEquipment2013.arx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcZXvbWIPQ46OAQlOzV271xCYHeZLiwD0axeuYU1sWF5tcmMSN3-lerdN8PS7ZbYO_bJFb2-Pa6KMnsR1PVQf54R364ZGyv6op2zkhfnHyxXHeCfG15JdxvabRt7p-4YXyt2RawJbiRAAy/s1600/CADWorx_Equipment_ACAD.RX_Entry.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcZXvbWIPQ46OAQlOzV271xCYHeZLiwD0axeuYU1sWF5tcmMSN3-lerdN8PS7ZbYO_bJFb2-Pa6KMnsR1PVQf54R364ZGyv6op2zkhfnHyxXHeCfG15JdxvabRt7p-4YXyt2RawJbiRAAy/s1600/CADWorx_Equipment_ACAD.RX_Entry.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Note: If CADWorxEquipment2013.arx is above the CADWorxPlant2013.arx, then the tool tips for Plant will not function properly.&lt;br /&gt;
&lt;br /&gt;
8. Save and close the text editor&lt;br /&gt;
&lt;br /&gt;
9. Reopen CADWorx Plant .&amp;nbsp; Equipment should start simultaneously with plant; if not then in the command line type &lt;strong&gt;LOADMENUEQUIP&lt;/strong&gt;.&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;
﻿&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/8143948903904443706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/binding-xrefs-in-cadworx-plant.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/8143948903904443706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/8143948903904443706'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/binding-xrefs-in-cadworx-plant.html' title='Binding xref&#39;s in CADWorx Plant...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii2ywMttvIN9f1nsA324BL_AShDaGzN_f2Z3ZsAL7aEzMDCBKF4VqlJ_wRsi4xmuubyOVGU6MpGECHbpKJJmKFA8SIod-cIdH02WfeqWq-rYih6HO_9jjiU0Gpf34ErvM9lLepgX2yB85p/s72-c/CADWorx_Equipment_Support_Entry.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-4715511542497041117</id><published>2012-10-29T13:36:00.001-07:00</published><updated>2012-10-29T13:36:02.124-07:00</updated><title type='text'>Simplifying a Designers job with programs...</title><content type='html'>Engineering firms can make things complicated for Designers but having information stored all over the place where you can&#39;t find it or can&#39;t get to it.&amp;nbsp; Maybe even company standards that aren&#39;t even followed because they haven&#39;t been blessed by an engineering manager or something to that extent.&amp;nbsp; Creating a desktop program that would help centralize all the information needed by engineer or designer.&amp;nbsp; For example...the company that I am working with currently...we are working to develop standardized pipe specifications for the company to operate by.&amp;nbsp; Now, for each project that comes up a Project Engineer must select a pipe spec that suits the needs of the job without having to create a completely new spec; which would defeat the whole purpose of having standardized specs.&amp;nbsp; So, one solution that was presented was to create a selection program for the P.M.&#39;s to use; where they can go into the program and select from a couple of pulldowns that would narrow down the spec list to only the specs that applied to the selected criterium.&amp;nbsp; Below is an example of the mentioned program.&amp;nbsp; It is a still in the works, but will definitely be an asset to the p.m.&#39;s and designers.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8fmISawluu81GiONVPeipH-Jli_2rObPELVZkjscYPAig7tNn_mI0aszEce7Rc2uFqv5gF_0iK4T8OqiZuk6XorbqNf-65rtFaS9rRWXO8EG6M3m5sUld58zVNNod4Rbqj7AUt0qC6RUO/s1600/pipe_spec-dialog.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8fmISawluu81GiONVPeipH-Jli_2rObPELVZkjscYPAig7tNn_mI0aszEce7Rc2uFqv5gF_0iK4T8OqiZuk6XorbqNf-65rtFaS9rRWXO8EG6M3m5sUld58zVNNod4Rbqj7AUt0qC6RUO/s400/pipe_spec-dialog.jpg&quot; width=&quot;365&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/4715511542497041117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/simplifying-designers-job-with-programs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4715511542497041117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/4715511542497041117'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/simplifying-designers-job-with-programs.html' title='Simplifying a Designers job with programs...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8fmISawluu81GiONVPeipH-Jli_2rObPELVZkjscYPAig7tNn_mI0aszEce7Rc2uFqv5gF_0iK4T8OqiZuk6XorbqNf-65rtFaS9rRWXO8EG6M3m5sUld58zVNNod4Rbqj7AUt0qC6RUO/s72-c/pipe_spec-dialog.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-2612418418096721209</id><published>2012-10-16T06:23:00.001-07:00</published><updated>2012-10-16T06:23:00.979-07:00</updated><title type='text'>Importing page setup from one dwg to another....</title><content type='html'>One of the things that I took on at the company that I am currently working with is build a bunch of macros that would make&amp;nbsp;the design process easier.&amp;nbsp; So, the first one that I created was a macro that would insert the companies titleblock in a drawing, import a page setup that was defined in a different drawing, create all the layers required for a given discipline, create a new viewport, and then at the end would go through the edit attribute for the title block.&amp;nbsp; &lt;br /&gt;
Today, I want to take a look at how you can import a page setup from one file to another, and how to set a given page setup as your plot parameters.&lt;br /&gt;
So, below is an example of what the code would look like...&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
^c^c-psetupin;&quot;D_SIZE-PID.DWG&quot; &quot;*&quot;;^c^c-plot;n;layout1;11x17;;n;y;n;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
First, I want to point out just incase you don&#39;t know...at the beginning of each command you will see &quot;^c^c&quot; this is just telling the program to cancel out of any commands that it may be in at that point.&lt;br /&gt;
Next, we have the command &quot;-psetupin&quot;; and then the semicolon is issueing an&amp;nbsp;enter command in the macro.&lt;br /&gt;
Then you will pass the macro the name of the drawing that you are wanting to get the page setup from and in my example I am calling out &quot;D_size-pid.dwg&quot; and you have to make sure that it is in the quotations.&amp;nbsp; Also, as long as the file location of the drawing is setup in your search paths then you don&#39;t have to worry about adding the whole location of the file just the nam will suffice.&amp;nbsp; The asterisk after the file name just tells it to select all the setups that are associated with that file.&lt;br /&gt;
Then, we move on to setting a specific pagesetup to our layout.&amp;nbsp; With this we begin with &quot;-plot&quot; which will do all the plot settings through your command line.&amp;nbsp; After starting the command the first question is asking if you want to do a &quot;Detailed plot configuration&quot;...we want to put &quot;no&quot;.&amp;nbsp; &lt;br /&gt;
Then you will tell it which layout you want to apply the pagesetup to; mine is &quot;layout1&quot;, and then type in the page setup that you are wanting to apply &quot;11x17&quot;.&amp;nbsp; After the page setup name there are 2 semicolons; the first represents the issueing&amp;nbsp;of an enter command, and the second of&amp;nbsp;these represent&amp;nbsp;a question that follows after the setup name...this&amp;nbsp;is for&amp;nbsp;the output device (printer name), and as long as that is set properly in your setup then you should just have to issue an enter command.&amp;nbsp; &lt;br /&gt;
Then&amp;nbsp;it asks if you want to plot to file and for that we want to say &quot;no&quot; as well and it should default to that, but just incase we will put an &quot;n&quot;; and then it asks if we want to save changes to page setup, and for this you will enter a &quot;yes&quot;.&amp;nbsp; &lt;br /&gt;
The last question is if you want to go ahead and plot and for mine a said &quot;no&quot;.&lt;br /&gt;
Now, after all that you should end up with something like this...&lt;br /&gt;
-plot;n;layout1;11x17;;n;y;n;&lt;br /&gt;
&lt;br /&gt;
Good luck and hope this helps!</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/2612418418096721209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/importing-page-setup-from-one-dwg-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/2612418418096721209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/2612418418096721209'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/importing-page-setup-from-one-dwg-to.html' title='Importing page setup from one dwg to another....'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-625180456266015352</id><published>2012-10-15T13:56:00.002-07:00</published><updated>2012-10-15T13:56:33.482-07:00</updated><title type='text'>Thought of the Day...</title><content type='html'>If you are writing a lisp routine and you are trying to figure out if a command can be used in a lisp routine; try this...in the command line start by typing in a dash and then the command.&amp;nbsp; For example...if you are wanting to create a new layer.&amp;nbsp; In the command line type &quot;-layer&quot;, then all the options show in the command line; Then just follow the prompts.&lt;br /&gt;
And at the end of it; if you are setting linetype, lineweight, color and the such...this is an example of what you will see...&lt;br /&gt;
-LAYER;NEW;D_EQ;LTYPE;CONTINUOUS;D_EQ;LWEIGHT;.020;D_EQ;COLOR;11;D_EQ;;&lt;br /&gt;
&lt;br /&gt;
If you have &quot;Dynamic Input&quot; turned on then it is easy to see what commands you can use the &quot;-&quot; in front of.</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/625180456266015352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/thought-of-day.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/625180456266015352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/625180456266015352'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/thought-of-day.html' title='Thought of the Day...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5550669983704689514.post-8379295557964679070</id><published>2012-10-12T09:08:00.000-07:00</published><updated>2012-10-12T09:08:47.734-07:00</updated><title type='text'>Inventor Animations</title><content type='html'>Autodesk Inventor is an incredible tool...one thing that I think is incredible is the ability to create rendered animations of an assembly.&amp;nbsp; I have actually created a lot of them in my field...below is an example of one that i created not too long ago for a customer.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dxVzlGWIjC5VoILf7ScmhQyxLTek12sU73P7t-yUdJzpVNU1ql1FvB5DyTsK7xvLtP71BTCifafQc5WMzlH8g&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
If you ever get a chance to learn or just play around with the studio environment within Inventor I would definitely suggest doing it.&amp;nbsp; It is an awesome tool to show how something truely works.﻿&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cadconsultingllc.blogspot.com/feeds/8379295557964679070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/inventor-animations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/8379295557964679070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5550669983704689514/posts/default/8379295557964679070'/><link rel='alternate' type='text/html' href='http://cadconsultingllc.blogspot.com/2012/10/inventor-animations.html' title='Inventor Animations'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05672226678809802378</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>