<?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: adding an object into the object data programmically in AutoCAD Map 3D Developer Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/adding-an-object-into-the-object-data-programmically/m-p/623457#M5840</link>
    <description>Sherine,&lt;BR /&gt;
&lt;BR /&gt;
The Map Digitize feature within AutoCAD Map may work for you.  You can&lt;BR /&gt;
create a toolbar with scripts that will set the feature type to be digitized&lt;BR /&gt;
(linear or point/block), and you can also set it up to automatically attach&lt;BR /&gt;
Object Data.  Once it is set up and the user digitizes an object they will&lt;BR /&gt;
automatically be prompted to fill in the Object Data Record.&lt;BR /&gt;
&lt;BR /&gt;
But, if you want to accomplish through VBA it is possible.  To get started&lt;BR /&gt;
load the MapSample.dvb found in the Example subfolder of Map.  This contains&lt;BR /&gt;
VBA code samples for attaching Object Data to objects.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
&lt;BR /&gt;
Scott&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Sherine Fayez" &lt;SH.FAYEZ&gt; wrote in message&lt;BR /&gt;
news:EF696E574EEE3C50C23194683587E321@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hi,&lt;BR /&gt;
&amp;gt; I know we can attach an object to an object data manually but now I need&lt;BR /&gt;
to&lt;BR /&gt;
&amp;gt; attach a single object to the object data but I need to do this&lt;BR /&gt;
&amp;gt; programatically, (i.e. using either the VBA or the Lisp) so that using&lt;BR /&gt;
this&lt;BR /&gt;
&amp;gt; script whenever an object is drawn it is automatically attached to the&lt;BR /&gt;
&amp;gt; object data table.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Any help???&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Sherine Fayez&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/SH.FAYEZ&gt;</description>
    <pubDate>Thu, 08 Nov 2001 05:48:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2001-11-08T05:48:22Z</dc:date>
    <item>
      <title>adding an object into the object data programmically</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/adding-an-object-into-the-object-data-programmically/m-p/623456#M5839</link>
      <description>Hi,&lt;BR /&gt;
I know we can attach an object to an object data manually but now I need to&lt;BR /&gt;
attach a single object to the object data but I need to do this&lt;BR /&gt;
programatically, (i.e. using either the VBA or the Lisp) so that using this&lt;BR /&gt;
script whenever an object is drawn it is automatically attached to the&lt;BR /&gt;
object data table.&lt;BR /&gt;
&lt;BR /&gt;
Any help???&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Sherine Fayez</description>
      <pubDate>Thu, 08 Nov 2001 05:28:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/adding-an-object-into-the-object-data-programmically/m-p/623456#M5839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-08T05:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: adding an object into the object data programmically</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/adding-an-object-into-the-object-data-programmically/m-p/623457#M5840</link>
      <description>Sherine,&lt;BR /&gt;
&lt;BR /&gt;
The Map Digitize feature within AutoCAD Map may work for you.  You can&lt;BR /&gt;
create a toolbar with scripts that will set the feature type to be digitized&lt;BR /&gt;
(linear or point/block), and you can also set it up to automatically attach&lt;BR /&gt;
Object Data.  Once it is set up and the user digitizes an object they will&lt;BR /&gt;
automatically be prompted to fill in the Object Data Record.&lt;BR /&gt;
&lt;BR /&gt;
But, if you want to accomplish through VBA it is possible.  To get started&lt;BR /&gt;
load the MapSample.dvb found in the Example subfolder of Map.  This contains&lt;BR /&gt;
VBA code samples for attaching Object Data to objects.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
&lt;BR /&gt;
Scott&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Sherine Fayez" &lt;SH.FAYEZ&gt; wrote in message&lt;BR /&gt;
news:EF696E574EEE3C50C23194683587E321@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Hi,&lt;BR /&gt;
&amp;gt; I know we can attach an object to an object data manually but now I need&lt;BR /&gt;
to&lt;BR /&gt;
&amp;gt; attach a single object to the object data but I need to do this&lt;BR /&gt;
&amp;gt; programatically, (i.e. using either the VBA or the Lisp) so that using&lt;BR /&gt;
this&lt;BR /&gt;
&amp;gt; script whenever an object is drawn it is automatically attached to the&lt;BR /&gt;
&amp;gt; object data table.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Any help???&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Sherine Fayez&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/SH.FAYEZ&gt;</description>
      <pubDate>Thu, 08 Nov 2001 05:48:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/adding-an-object-into-the-object-data-programmically/m-p/623457#M5840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-08T05:48:22Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/adding-an-object-into-the-object-data-programmically/m-p/623458#M5841</link>
      <description>Hi Scott,&lt;BR /&gt;
Thanks for your help. It did work&lt;BR /&gt;
&lt;BR /&gt;
Sherine&lt;BR /&gt;
&lt;BR /&gt;
"Scott Friedrich" &lt;SCOTT.FRIEDRICH&gt; wrote in message&lt;BR /&gt;
news:3F8309871D19B5DEE9B4201422FCED0D@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Sherine,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; The Map Digitize feature within AutoCAD Map may work for you.  You can&lt;BR /&gt;
&amp;gt; create a toolbar with scripts that will set the feature type to be&lt;BR /&gt;
digitized&lt;BR /&gt;
&amp;gt; (linear or point/block), and you can also set it up to automatically&lt;BR /&gt;
attach&lt;BR /&gt;
&amp;gt; Object Data.  Once it is set up and the user digitizes an object they will&lt;BR /&gt;
&amp;gt; automatically be prompted to fill in the Object Data Record.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; But, if you want to accomplish through VBA it is possible.  To get started&lt;BR /&gt;
&amp;gt; load the MapSample.dvb found in the Example subfolder of Map.  This&lt;BR /&gt;
contains&lt;BR /&gt;
&amp;gt; VBA code samples for attaching Object Data to objects.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Hope this helps,&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Scott&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Sherine Fayez" &lt;SH.FAYEZ&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:EF696E574EEE3C50C23194683587E321@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; Hi,&lt;BR /&gt;
&amp;gt; &amp;gt; I know we can attach an object to an object data manually but now I need&lt;BR /&gt;
&amp;gt; to&lt;BR /&gt;
&amp;gt; &amp;gt; attach a single object to the object data but I need to do this&lt;BR /&gt;
&amp;gt; &amp;gt; programatically, (i.e. using either the VBA or the Lisp) so that using&lt;BR /&gt;
&amp;gt; this&lt;BR /&gt;
&amp;gt; &amp;gt; script whenever an object is drawn it is automatically attached to the&lt;BR /&gt;
&amp;gt; &amp;gt; object data table.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Any help???&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Sherine Fayez&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/SH.FAYEZ&gt;&lt;/SCOTT.FRIEDRICH&gt;</description>
      <pubDate>Sun, 11 Nov 2001 04:44:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/adding-an-object-into-the-object-data-programmically/m-p/623458#M5841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2001-11-11T04:44:30Z</dc:date>
    </item>
  </channel>
</rss>

