Hi Scott,
Thanks for your help. It did work
Sherine
"Scott Friedrich" wrote in message
news:3F8309871D19B5DEE9B4201422FCED0D@in.WebX.maYIadrTaRb...
> Sherine,
>
> The Map Digitize feature within AutoCAD Map may work for you. You can
> create a toolbar with scripts that will set the feature type to be
digitized
> (linear or point/block), and you can also set it up to automatically
attach
> Object Data. Once it is set up and the user digitizes an object they will
> automatically be prompted to fill in the Object Data Record.
>
> But, if you want to accomplish through VBA it is possible. To get started
> load the MapSample.dvb found in the Example subfolder of Map. This
contains
> VBA code samples for attaching Object Data to objects.
>
> Hope this helps,
>
> Scott
>
>
> "Sherine Fayez" wrote in message
> news:EF696E574EEE3C50C23194683587E321@in.WebX.maYIadrTaRb...
> > Hi,
> > I know we can attach an object to an object data manually but now I need
> to
> > attach a single object to the object data but I need to do this
> > programatically, (i.e. using either the VBA or the Lisp) so that using
> this
> > script whenever an object is drawn it is automatically attached to the
> > object data table.
> >
> > Any help???
> >
> > Thanks
> >
> > Sherine Fayez
> >
> >
>
>