Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Member
cadster
Posts: 6
Registered: ‎08-22-2000
Message 1 of 3 (69 Views)

ERROR -> Menu Syntax Error Line: ###

69 Views, 2 Replies
08-22-2000 08:48 AM
I have a custom menu for it that has been massaged forward from release 10 through all releases of AutoCAD to 2000. One of the problems I have run into in the last couple of versions of AutoCAD is what appears to be a limit of the length or size of a consecutive set of commands. It appears to be about 33 to 34 lines of code. Is there a limit to the length or amount of characters a section of a custom menu can deal with? And if so, is there a way around it? This message appears when you load the menu that has this problem: ERROR -> Menu Syntax Error Line: ###. Any Ideas other than shortening?
*DASeibert
Message 2 of 3 (69 Views)

Re: ERROR -> Menu Syntax Error Line: ###

08-22-2000 09:23 AM in reply to: cadster
Since you don't want to hear about shortening your menu
routines, I'm not gonna say it.

 

However, anything that takes more than (2) two lines in a menu
file  just begs to be in it's own program file.

 

I kinda understand why you would do such a thing (keeping all
your customizations in one place and all) but it really is not a good
idea.

 

A lot of what you are probably doing could be done in that
*.mnl file that goes with your menu and then you could just call it from your
menu.  This would also keep things nice and neat for you.

 

Your trying to do more (IMO) than what the menu is intended to
do.

 

Have fun,

 

Dave


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
have a custom menu for it that has been massaged forward from release 10
through all releases of AutoCAD to 2000. One of the problems I have run into
in the last couple of versions of AutoCAD is what appears to be a limit of the
length or size of a consecutive set of commands. It appears to be about 33 to
34 lines of code. Is there a limit to the length or amount of characters a
section of a custom menu can deal with? And if so, is there a way around it?
This message appears when you load the menu that has this problem: ERROR ->
Menu Syntax Error Line: ###. Any Ideas other than
shortening?
Active Member
cadster
Posts: 6
Registered: ‎08-22-2000
Message 3 of 3 (69 Views)

Re:

08-22-2000 11:53 AM in reply to: cadster
You are absolutly right, I guess i should just put it in my mnl file. Thank you for your reply.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.