<?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: Custom system variables in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/custom-system-variables/m-p/323051#M34701</link>
    <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;i would do this:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;your systemv.... is like a command. so if the user &lt;BR /&gt;
enters the for exsample "myvar"&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;your arx ask for the input. maybe "1" or &lt;BR /&gt;
"0"&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;after input of the user, your arx writes the input &lt;BR /&gt;
to the registry - that's all i think.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;chris&lt;/FONT&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 06 Aug 2003 13:08:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-08-06T13:08:27Z</dc:date>
    <item>
      <title>Custom system variables</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-system-variables/m-p/323050#M34700</link>
      <description>What hoops do I need to jump through to define a custom user variable that is similar to the USERR/I/Sx variables that I will use to store information about how custom entity styles should react. I have not found any documentation on system variables, but I have found the references to them in dbmain.h. Can I simply add a customized dbmain.h and the required code for my variable, or am I relegated to defining a function that does not define the data as persistent between drawing sessions?&lt;BR /&gt;
&lt;BR /&gt;
TIA</description>
      <pubDate>Wed, 06 Aug 2003 12:26:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-system-variables/m-p/323050#M34700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-06T12:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom system variables</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-system-variables/m-p/323051#M34701</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;i would do this:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;your systemv.... is like a command. so if the user &lt;BR /&gt;
enters the for exsample "myvar"&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;your arx ask for the input. maybe "1" or &lt;BR /&gt;
"0"&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;after input of the user, your arx writes the input &lt;BR /&gt;
to the registry - that's all i think.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;chris&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Aug 2003 13:08:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-system-variables/m-p/323051#M34701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-06T13:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom system variables</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/custom-system-variables/m-p/323052#M34702</link>
      <description>You can't define your own custom system variables.&lt;BR /&gt;
&lt;BR /&gt;
AutoCAD and most user applications use dictionaries&lt;BR /&gt;
and xrecords to persist application data in a drawing&lt;BR /&gt;
file.&lt;BR /&gt;
&lt;BR /&gt;
You can also provide a command-level user interface&lt;BR /&gt;
that allows the user to access that data as well.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"KEB" &lt;DRAFTSMAN&gt; wrote in message news:f17ecb4.-1@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; What hoops do I need to jump through to define a custom user variable that is similar to the USERR/I/Sx variables that&lt;BR /&gt;
I will use to store information about how custom entity styles should react. I have not found any documentation on&lt;BR /&gt;
system variables, but I have found the references to them in dbmain.h. Can I simply add a customized dbmain.h and the&lt;BR /&gt;
required code for my variable, or am I relegated to defining a function that does not define the data as persistent&lt;BR /&gt;
between drawing sessions?&lt;BR /&gt;
&amp;gt; TIA&lt;BR /&gt;
&amp;gt;&lt;/DRAFTSMAN&gt;</description>
      <pubDate>Wed, 06 Aug 2003 13:09:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/custom-system-variables/m-p/323052#M34702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-08-06T13:09:54Z</dc:date>
    </item>
  </channel>
</rss>

