Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Puckett, Michael
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-20-1999 07:59 PM in reply to:
*Nagel, Eric
Good call Vladimir.
________________________________
puckettm@cadvision.com
> Not < a Member of the AutoDESK
Discussion Forum Moderator Program
Imagination makes all things possible.
________________________________
Vladimir Nesterovsky wrote in message
news:380e51da.45281500@adesknews.autodesk.com...
Eric -- if your file is sometimes working, and
sometimes doesn't, if it works OK right after
you appload it, ---- it's obvious that you have
some other file defining another MAIN function,
which *does* have an mspace command in it.
You can try and put all your dependent functions
inside the main one, like
(defun c:LS2 (/ main layer)
(defun layer() ..... )
(defun main () ..... )
(setq dcl_id (load_dialog "ls2.dcl"))
(if (new_dialog "ls2" dcl_id)
(progn
(action_tile "accept" "(MAIN) (done_dialog)")
(action_tile "cancel" "(done_dialog)")
(start_dialog)
(unload_dialog dcl_id)
(LAYER)
)
)
(princ)
)
so that these functions are always defined properly
when your command is called.
See if this helps.
On Tue, 19 Oct 1999 14:26:34 -0700, Eric Nagel wrote:
>I forgot to mention that that I am loading this routine thru my
>'acadr14.lsp' file. When I appload the file, it works just fine...I'm
>stumped...
>
>Eric Nagel wrote:
>
>> Greetings All !
>> I am having an odd problem that I cannot seem to figure out. I am
>> hoping someone will be able to help me out with this...Notice that I do
>> not have an "mspace" command anywhere in my code. Any pointers would be
>> thanked...
>> Thanks,
>> Eric
>>
>> Here is the error message that I am getting:
>>
>> Command: ls2 error: incorrect request for command list data
>> (COMMAND ".mspace")
>> (MAIN)
---
Vlad http://vnestr.tripod.com/
________________________________
puckettm@cadvision.com
> Not < a Member of the AutoDESK
Discussion Forum Moderator Program
Imagination makes all things possible.
________________________________
Vladimir Nesterovsky
news:380e51da.45281500@adesknews.autodesk.com...
Eric -- if your file is sometimes working, and
sometimes doesn't, if it works OK right after
you appload it, ---- it's obvious that you have
some other file defining another MAIN function,
which *does* have an mspace command in it.
You can try and put all your dependent functions
inside the main one, like
(defun c:LS2 (/ main layer)
(defun layer() ..... )
(defun main () ..... )
(setq dcl_id (load_dialog "ls2.dcl"))
(if (new_dialog "ls2" dcl_id)
(progn
(action_tile "accept" "(MAIN) (done_dialog)")
(action_tile "cancel" "(done_dialog)")
(start_dialog)
(unload_dialog dcl_id)
(LAYER)
)
)
(princ)
)
so that these functions are always defined properly
when your command is called.
See if this helps.
On Tue, 19 Oct 1999 14:26:34 -0700, Eric Nagel
>I forgot to mention that that I am loading this routine thru my
>'acadr14.lsp' file. When I appload the file, it works just fine...I'm
>stumped...
>
>Eric Nagel wrote:
>
>> Greetings All !
>> I am having an odd problem that I cannot seem to figure out. I am
>> hoping someone will be able to help me out with this...Notice that I do
>> not have an "mspace" command anywhere in my code. Any pointers would be
>> thanked...
>> Thanks,
>> Eric
>>
>> Here is the error message that I am getting:
>>
>> Command: ls2 error: incorrect request for command list data
>> (COMMAND ".mspace")
>> (MAIN)
---
Vlad http://vnestr.tripod.com/
*Herrin, Mark
Re: LISP QUESTION
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-18-2003 01:57 AM in reply to:
*Nagel, Eric
Ok on all of my drawings for this company we use drawing footers to
determine where the drawing is located, My question is, Is it possible to
write a lisp so that when you open a drawing or save a drawing in a new
place that it updates the footer text, If it could be done could someone
help get me pointed in the right direction. Thanks!
determine where the drawing is located, My question is, Is it possible to
write a lisp so that when you open a drawing or save a drawing in a new
place that it updates the footer text, If it could be done could someone
help get me pointed in the right direction. Thanks!
*Turvill, Paul
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-18-2003 01:59 AM in reply to:
*Nagel, Eric
Do you have Express Tools? Sounds like a job for RText.
___
"Mark Herrin" wrote in message
news:87BCE4AF8F84CB233B1F23E5FDAC51C6@in.WebX.maYI adrTaRb...
> Ok on all of my drawings for this company we use drawing footers to
> determine where the drawing is located, My question is, Is it possible to
> write a lisp so that when you open a drawing or save a drawing in a new
> place that it updates the footer text, If it could be done could someone
> help get me pointed in the right direction. Thanks!
>
>
___
"Mark Herrin"
news:87BCE4AF8F84CB233B1F23E5FDAC51C6@in.WebX.maYI
> Ok on all of my drawings for this company we use drawing footers to
> determine where the drawing is located, My question is, Is it possible to
> write a lisp so that when you open a drawing or save a drawing in a new
> place that it updates the footer text, If it could be done could someone
> help get me pointed in the right direction. Thanks!
>
>



