Message 1 of 12
AcApDocManager::sendStringToExecute and reactor documentCreated

Not applicable
08-27-2006
07:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Guys,
It seems the function
AcApDocManager::sendStringToExecute won't work properly within the
AcApDocManagerReactor::documentCreated
It always returns eNoDocument in that case. I tried documentActivated and
documentBecameCurrent, same disappointment.
I need to send an AutoLisp line as soon as the document gets created and I
thought it is the best place to do so.
Is there a way to achieve this (other than old "acad.lsp")?
Your help is very much appreciated.
Thanks heaps.
Charlie.
It seems the function
AcApDocManager::sendStringToExecute won't work properly within the
AcApDocManagerReactor::documentCreated
It always returns eNoDocument in that case. I tried documentActivated and
documentBecameCurrent, same disappointment.
I need to send an AutoLisp line as soon as the document gets created and I
thought it is the best place to do so.
Is there a way to achieve this (other than old "acad.lsp")?
Your help is very much appreciated.
Thanks heaps.
Charlie.