<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : Diesel Field Expression - If Statement</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : Diesel Field Expression - If Statement]]></description>
  <pubDate>Mon, 01 Jun 2026 01:24:10 +0000</pubDate>
  <lastBuildDate>Fri, 24 Jun 2016 15:34:53 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=11859</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[Diesel Field Expression - If Statement : Anyone? ]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32084&amp;title=diesel-field-expression-if-statement#32084</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=657554">martingtc</a><br /><strong>Subject:</strong> 11859<br /><strong>Posted:</strong> 24.Jun.2016 at 15:34<br /><br />Anyone?]]>
   </description>
   <pubDate>Fri, 24 Jun 2016 15:34:53 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32084&amp;title=diesel-field-expression-if-statement#32084</guid>
  </item> 
  <item>
   <title><![CDATA[Diesel Field Expression - If Statement : Anyone please? It&amp;#039;s for work...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32045&amp;title=diesel-field-expression-if-statement#32045</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=657554">martingtc</a><br /><strong>Subject:</strong> 11859<br /><strong>Posted:</strong> 21.Jun.2016 at 09:25<br /><br />Anyone please? It's for work and I'm really struggling :(]]>
   </description>
   <pubDate>Tue, 21 Jun 2016 09:25:02 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32045&amp;title=diesel-field-expression-if-statement#32045</guid>
  </item> 
  <item>
   <title><![CDATA[Diesel Field Expression - If Statement : Can you explain the IF side of...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32043&amp;title=diesel-field-expression-if-statement#32043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=657554">martingtc</a><br /><strong>Subject:</strong> 11859<br /><strong>Posted:</strong> 20.Jun.2016 at 12:25<br /><br />Can you explain the IF side of it please?<div><br></div><div>Example;</div><div><br></div><div>Drawing no. 101 - my paperspace (at the moment) shows 101 - perfect</div><div><br></div><div>filename 12345-Rev01</div><div>I want my paperspace to show 101, but also the -Rev01 from the filename. I can get this to work, but only if there is a Rev.</div><div><br></div><div>If the file is 12345, the paperspace titleblock shows 101----</div><div><br></div><div>:( I'd like to hide the dashes if there are no characters to show and I'm so new, I don't know how to control an IF statement just yet</div><div><br></div><div>Thanks,</div><div><br></div><div>&#091;edit, the 101 drawing no. is pulled from a tab, the Rev01 needs to be pulled from the filename - so in theory 2 different diesel expressions next to each other?&#093;</div><span style="font-size:10px"><br /><br />Edited by martingtc - 20.Jun.2016 at 12:37</span>]]>
   </description>
   <pubDate>Mon, 20 Jun 2016 12:25:23 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32043&amp;title=diesel-field-expression-if-statement#32043</guid>
  </item> 
  <item>
   <title><![CDATA[Diesel Field Expression - If Statement :  This DIESEL expression will...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32041&amp;title=diesel-field-expression-if-statement#32041</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=3">Vladimir Michl</a><br /><strong>Subject:</strong> 11859<br /><strong>Posted:</strong> 20.Jun.2016 at 10:01<br /><br />This DIESEL expression will take the drawing name from the sixth character:<div>&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode">$(substr,$(getvar,dwgname),6)</pre></td></tr></table></div><div>&nbsp;</div><div>You can combine it with $(if - based on string length or the "Rev" substring.</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 20 Jun 2016 10:01:21 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32041&amp;title=diesel-field-expression-if-statement#32041</guid>
  </item> 
  <item>
   <title><![CDATA[Diesel Field Expression - If Statement : Can anyone help?? ]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32040&amp;title=diesel-field-expression-if-statement#32040</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=657554">martingtc</a><br /><strong>Subject:</strong> 11859<br /><strong>Posted:</strong> 20.Jun.2016 at 09:51<br /><br />Can anyone help??]]>
   </description>
   <pubDate>Mon, 20 Jun 2016 09:51:35 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32040&amp;title=diesel-field-expression-if-statement#32040</guid>
  </item> 
  <item>
   <title><![CDATA[Diesel Field Expression - If Statement : Hi, I&amp;#039;m new to the world...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32029&amp;title=diesel-field-expression-if-statement#32029</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=657554">martingtc</a><br /><strong>Subject:</strong> 11859<br /><strong>Posted:</strong> 17.Jun.2016 at 10:30<br /><br />Hi, I'm new to the world of fields and diesel (using 2008 LT so I dont have a right click menu)<div><br></div><div>I've managed to set up some auto fills based on partial filenames etc. One I'm stuck on is a drawing ref</div><div><br></div><div><br></div><div>Basically we call our drawing files a 5 digit reference. I have done this one.</div><div>Our sheet numbers are 3 digits, again, this is sorted.</div><div><br></div><div>When we revise the drawing, it will become XXXXX-Rev01. I'm trying to add the -Rev01 part to the sheet number which I can do, but if the drawing is not yet revised (so still XXXXX) it shows up as ----</div><div><br></div><div>I'd like to remove these and show blank, unless there is a -Rev01, then show that if that's the case.</div><div><br></div><div><br></div><div>Can anyone help??</div><div><br></div><div>Thanks in advance</div>]]>
   </description>
   <pubDate>Fri, 17 Jun 2016 10:30:25 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=11859&amp;PID=32029&amp;title=diesel-field-expression-if-statement#32029</guid>
  </item> 
 </channel>
</rss>