<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: does SetValueString only work in imperial? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/does-setvaluestring-only-work-in-imperial/m-p/4686233#M78177</link>
    <description>&lt;P&gt;I just tried this on a project created with a metric template and I can confirm that it works for both imperial and metric input values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SetValueString("100 mm") -&amp;gt; 100 mm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SetValueString("1'") -&amp;gt; 304.8 mm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There must be something else happening here. Are you doing this from an imperial template? Try it on a metric and see what happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also what do you mean by "not OK", is it just not giving the expected value or is it generating an error?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2013 09:21:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-11T09:21:33Z</dc:date>
    <item>
      <title>does SetValueString only work in imperial?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/does-setvaluestring-only-work-in-imperial/m-p/4683557#M78176</link>
      <description>&lt;P&gt;SetValueString(&lt;SPAN&gt;"2\'3\""&lt;/SPAN&gt;); -&amp;gt; OK&lt;/P&gt;&lt;P&gt;SetValueString(&lt;SPAN&gt;"20\""&lt;/SPAN&gt;); -&amp;gt; OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SetValueString(&lt;SPAN&gt;"150mm"&lt;/SPAN&gt;); -&amp;gt; not OK&lt;/P&gt;&lt;P&gt;SetValueString(&lt;SPAN&gt;"150 mm"&lt;/SPAN&gt;); -&amp;gt; not OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did i miss something simple? thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 08:31:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/does-setvaluestring-only-work-in-imperial/m-p/4683557#M78176</guid>
      <dc:creator>Ning_Zhou</dc:creator>
      <dc:date>2013-12-10T08:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: does SetValueString only work in imperial?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/does-setvaluestring-only-work-in-imperial/m-p/4686233#M78177</link>
      <description>&lt;P&gt;I just tried this on a project created with a metric template and I can confirm that it works for both imperial and metric input values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SetValueString("100 mm") -&amp;gt; 100 mm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SetValueString("1'") -&amp;gt; 304.8 mm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There must be something else happening here. Are you doing this from an imperial template? Try it on a metric and see what happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also what do you mean by "not OK", is it just not giving the expected value or is it generating an error?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 09:21:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/does-setvaluestring-only-work-in-imperial/m-p/4686233#M78177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-11T09:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: does SetValueString only work in imperial?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/does-setvaluestring-only-work-in-imperial/m-p/4688127#M78178</link>
      <description>thanks Scott.&lt;BR /&gt;&lt;BR /&gt;now it's working even though i have no idea what's going on? black Friday last week perhaps, i suspect something wrong w/ the model but it mysteriously cured itself! sorry for false alarm.</description>
      <pubDate>Thu, 12 Dec 2013 02:03:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/does-setvaluestring-only-work-in-imperial/m-p/4688127#M78178</guid>
      <dc:creator>Ning_Zhou</dc:creator>
      <dc:date>2013-12-12T02:03:50Z</dc:date>
    </item>
  </channel>
</rss>

