<?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: ObjectID and general help! in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2819216#M63162</link>
    <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Go to where you installed ObjectARX SDK or here &lt;A target="_blank" rel="nofollow" href="http://usa.autodesk.com/adsk/servlet/index?siteID=123112&amp;amp;id=1911627"&gt;http://usa.autodesk.com/adsk/servlet/index?siteID=123112&amp;amp;id=1911627&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;In there is a docs folder.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I&amp;nbsp;use arxdoc.chm which contains the arxmgd.chm(.NET), but the arxdoc.chm has alot more info in it. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I tend to use the index tab mostly.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2010 23:14:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-11-05T23:14:33Z</dc:date>
    <item>
      <title>ObjectID and general help!</title>
      <link>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2818222#M63159</link>
      <description>&lt;P&gt;I have the following snippet.&lt;/P&gt;&lt;P&gt;GetTheObj returns the selected object's ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Dim&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;myVportID &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; DatabaseServices.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;ObjectId&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;GetTheObj(&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;n&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;myVportID,&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"VIEWPORT"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Dim &lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;S1 &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;String&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;S1 =&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"%&amp;lt;\AcObjProp Object(%&amp;lt;\_ObjId"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &amp;amp; myVportID.ToString &amp;amp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;&lt;FONT face="Consolas" color="#a31515" size="2"&gt;"&amp;gt;%).CustomScale \f ""%lu2%qf2816""&amp;gt;% "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;the problem is that myVportID.ToString return my ID # in brackets i.e. (9183278172)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;And on another note where can I find help on all the different methods and properties&amp;nbsp;etc on the Adesk stuff (yes very technical term)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;I looked in the Object Browser in my VS 2010 and there is&amp;nbsp;&lt;STRIKE&gt;not much&lt;/STRIKE&gt; nothing there.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;I am sure it is just me. I am migrating from VBA.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2010 01:43:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2818222#M63159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-05T01:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: ObjectID and general help!</title>
      <link>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2818282#M63160</link>
      <description>&lt;P&gt;Here are two different ways to do it, there are more&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;FONT size="1"&gt;&lt;SPAN style="color: blue;"&gt;Dim&lt;/SPAN&gt;&amp;nbsp;myVportIdToString&amp;nbsp;&lt;SPAN style="color: blue;"&gt;As&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;String&lt;/SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;SPAN style="color: #a31515;"&gt;"(9183278172)"&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;Dim&lt;/SPAN&gt;&amp;nbsp;useSubStringMethod&amp;nbsp;&lt;SPAN style="color: blue;"&gt;As&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;String&lt;/SPAN&gt;&amp;nbsp;=&amp;nbsp;myVportIdToString.Substring(1,&amp;nbsp;myVportIdToString.Length&amp;nbsp;-&amp;nbsp;2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;Dim&lt;/SPAN&gt;&amp;nbsp;useRemoveMethod&amp;nbsp;&lt;SPAN style="color: blue;"&gt;As&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;String&lt;/SPAN&gt;&amp;nbsp;=&amp;nbsp;myVportIdToString.Remove(myVportIdToString.Length&amp;nbsp;-&amp;nbsp;1).Remove(0,&amp;nbsp;1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: green;"&gt;''''useSubStringMethod&amp;nbsp;&amp;amp;&amp;nbsp;useRemoveMethod&amp;nbsp;=&amp;nbsp;9183278172&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Nov 2010 05:48:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2818282#M63160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-05T05:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: ObjectID and general help!</title>
      <link>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2818732#M63161</link>
      <description>&lt;P&gt;Thanks Jeffrey&lt;/P&gt;&lt;P&gt;That works&lt;/P&gt;&lt;P&gt;I just thought that I was missing something in the method&lt;/P&gt;&lt;P&gt;Odd why it would return a string closed in brackets.&lt;/P&gt;&lt;P&gt;My LISP days came rushing in, thought I may have to (setq A (car myVportIdToString.Substring))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all the same thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea in regards to help on all the different methods, or do they just not exists.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2010 15:29:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2818732#M63161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-05T15:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: ObjectID and general help!</title>
      <link>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2819216#M63162</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Go to where you installed ObjectARX SDK or here &lt;A target="_blank" rel="nofollow" href="http://usa.autodesk.com/adsk/servlet/index?siteID=123112&amp;amp;id=1911627"&gt;http://usa.autodesk.com/adsk/servlet/index?siteID=123112&amp;amp;id=1911627&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;In there is a docs folder.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I&amp;nbsp;use arxdoc.chm which contains the arxmgd.chm(.NET), but the arxdoc.chm has alot more info in it. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I tend to use the index tab mostly.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2010 23:14:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2819216#M63162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-05T23:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: ObjectID and general help!</title>
      <link>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2819244#M63163</link>
      <description>&lt;P&gt;thanks &lt;SPAN&gt;&lt;SPAN&gt;Jeffrey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;this is great stuff&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;on a side note, apprently &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;myVportID&lt;/FONT&gt;&lt;/FONT&gt;.OldIdPtr.ToString() &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;returns the object id string without the brackets.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2010 00:44:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2819244#M63163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-06T00:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: ObjectID and general help!</title>
      <link>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2819246#M63164</link>
      <description>&lt;P&gt;That seems to be a better way&lt;/P&gt;&lt;P&gt;Thanks for the info&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2010 00:49:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/objectid-and-general-help/m-p/2819246#M63164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-06T00:49:22Z</dc:date>
    </item>
  </channel>
</rss>

