Ok...Here's what I'm trying to do:
I have about 2000 dwgs and I want to create a database (probably an HTML
page) listing the dwg#, title, paper size, author etc. The drawings use
various title blocks that dont use text attributes, and there may be
additional text info i need to extract from the dwgs. I have written a lisp
routine that prompts me to click on the title, author etc. (using entsel),
then stores the texts in a list and writes them to HD ready for processing
and HTML conversion. However...at present I have to manually open each dwg
and then run the routine, so I wanted a script that would open the dwgs for
me and run the routine so that all I have to do is click the text items I
need.
Rudy Tovar wrote in message
news:01bf1a72$78ef3600$1b09a8c0@mail.whainc.com...
> Let me ask you something Jon.
>
> What's the application going to be used for?
>
>
>
> Jon Crouch wrote in article
> <7uiion$1tt2@adesknews2.autodesk.com>...
> > But I don't know what the text will say..
> >
> > Rudy Tovar wrote in message
> > news:01bf1a6b$c763e9e0$1b09a8c0@mail.whainc.com...
> > > If this is text then have the script search for the text and replace
or
> > > modify the given value you wish to change. You will not have to use
the
> > > entsel or entselp function if you use 'SSGET' "X".
> > >
> > >
> > >
> > > Jon Crouch wrote in article
> > > <7uihkp$t7b25@adesknews2.autodesk.com>...
> > > >
> > > > Rudy Tovar wrote in message
> > > > news:01bf1a62$0f74e720$1b09a8c0@mail.whainc.com...
> > > > > Hello Jon, I'm Rudy.
> > > > >
> > > > > Why not use 'nentselp' .
> > > > >
> > > > > Have your script search for the entity you wish to acquire, then
> > > extract
> > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > > > I have no idea how to do this...the entity will be one of numerous
> text
> > > > items on the dwg and could be at any location.
> > > >
> > > > > the point of insertion or point of reference, then assign it to
the
> > > > > nentselp. There by allowing it to rebuild the script and
> continuing.
> > > > >
> > > > > --
> > > > > Rudy@whainc.com
> > > > > Programmer/Developer/MIS Assist.
> > > > >
> > > > >
> > > > > Jon Crouch wrote in article
> > > > > <7uibj7$t5v19@adesknews2.autodesk.com>...
> > > > > > I have a lisp routine that uses entsel to ask the user for a
> > > selection.
> > > > > When
> > > > > > I run the routine in a script, the script does not wait for the
> > > > selection
> > > > > > and the entsel recieves the next script command as its input,
> > causing
> > > an
> > > > > > error.
> > > > > > Is there any way to have the script pause until the lisp routine
> is
> > > > > > completed?
> > > > > > Thanks again,
> > > > > > Jon Crouch.
> > > > > >
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> >
> >
> >