Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

***POPn Line limits....????

10 REPLIES 10
Reply
Message 1 of 11
Anonymous
171 Views, 10 Replies

***POPn Line limits....????

Is there a limit to the number of line of text that can be used under any
given ***POPn menu definition???

For some reason I'm getting a "Menu Parsing Error" when I load a menu I've
just written. I've checked the line number given for the problem. The line
given is in the middle of a section of menus where the syntax is identical
throughout. However the lines above it are okay and the 20 or so line below
it are coming up with errors. All the errored line are identical in syntax
to the ones above which have no problem. I'm confused...??????

Can anyone help.

Thanks a ton!!!!

--
Erik A. Rash
erikr@birdair.com
10 REPLIES 10
Message 2 of 11
Anonymous
in reply to: Anonymous

Erik, I have definitely seen limitations on just how large a single menu
file can get. Seems to me it was around 1600-1700 lines...

--
R. Robert Bell, MCSE
http://www.acadx.com


"Erik A. Rash" wrote in message
news:81C9F0A96D6031C41DDA8758C7D556EF@in.WebX.maYIadrTaRb...
| Is there a limit to the number of line of text that can be used under any
| given ***POPn menu definition???
|
| For some reason I'm getting a "Menu Parsing Error" when I load a menu I've
| just written. I've checked the line number given for the problem. The
line
| given is in the middle of a section of menus where the syntax is identical
| throughout. However the lines above it are okay and the 20 or so line
below
| it are coming up with errors. All the errored line are identical in
syntax
| to the ones above which have no problem. I'm confused...??????
|
| Can anyone help.
|
| Thanks a ton!!!!
|
| --
| Erik A. Rash
| erikr@birdair.com
|
|
Message 3 of 11
Anonymous
in reply to: Anonymous

Erik:

I asked the same thing the other day with the same problem and did not get a
direct answer, but I did find out that it had to do with editing the mnu
file rather than the mns. See my post replies to myself below ("What is a
menu parsing error?") for more information, but the jist of it is that you
should edit only the mns file.

Please post anything you find out yourself. I'll be watching, hopefully,
for more information.

Matt Fridell
saladays@gwtc.net


"Erik A. Rash" wrote in message
news:81C9F0A96D6031C41DDA8758C7D556EF@in.WebX.maYIadrTaRb...
> Is there a limit to the number of line of text that can be used under any
> given ***POPn menu definition???
>
> For some reason I'm getting a "Menu Parsing Error" when I load a menu I've
> just written. I've checked the line number given for the problem. The
line
> given is in the middle of a section of menus where the syntax is identical
> throughout. However the lines above it are okay and the 20 or so line
below
> it are coming up with errors. All the errored line are identical in
syntax
> to the ones above which have no problem. I'm confused...??????
>
> Can anyone help.
>
> Thanks a ton!!!!
>
> --
> Erik A. Rash
> erikr@birdair.com
>
>
Message 4 of 11
Anonymous
in reply to: Anonymous

Matt;

Yeah, I saw your post and waded through all the responses. I'm familiar
with the MNU v.s. the MNS thing and found that many of the responses don't
mean anything. The one comment exported from the AutoCAD book was even more
distrubing. But I digress....

The menu I'm working with was written from scratch and has no relationship
between whether it came from a MNU or MNS file at all. The troubling thing
for me is that lines of code right above the error lines are identical.
Here are the two line cut right from the file,

[ 30]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X30;\;;
[ 26]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X26;\;;

Maybe somebody with REAL intellegence will pick up on this thread this time
and give a REAL answer.

I'll let you know
Thanks again
Erik
Message 5 of 11
Anonymous
in reply to: Anonymous

How many lines does your menu have?

--
R. Robert Bell, MCSE
http://www.acadx.com


"Erik A. Rash" wrote in message
news:44637310F05470BA097B70E92DF94FF8@in.WebX.maYIadrTaRb...
| Matt;
|
| Yeah, I saw your post and waded through all the responses. I'm familiar
| with the MNU v.s. the MNS thing and found that many of the responses don't
| mean anything. The one comment exported from the AutoCAD book was even
more
| distrubing. But I digress....
|
| The menu I'm working with was written from scratch and has no relationship
| between whether it came from a MNU or MNS file at all. The troubling
thing
| for me is that lines of code right above the error lines are identical.
| Here are the two line cut right from the file,
|
| [ 30]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X30;\;;
| [ 26]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X26;\;;
|
| Maybe somebody with REAL intellegence will pick up on this thread this
time
| and give a REAL answer.
|
| I'll let you know
| Thanks again
| Erik
|
|
|
Message 6 of 11
Anonymous
in reply to: Anonymous

"Erik A. Rash" wrote in message
news:44637310F05470BA097B70E92DF94FF8@in.WebX.maYIadrTaRb...
|
| Maybe somebody with REAL intellegence will pick up on this thread this
time
| and give a REAL answer.
|

BTW, don't bite the hand that feeds you...
Message 7 of 11
Anonymous
in reply to: Anonymous

Wow Robert...! I thought there might be a limit, however, my error is at
line 357 thought 378. I think that puts me within that limit you described.
It must be something else....er....emmmmmm, I hope someone can help me

Thanks
Erik
Message 8 of 11
Anonymous
in reply to: Anonymous

Post the relevant section, the full POP menu you are having trouble with...

--
R. Robert Bell, MCSE
http://www.acadx.com


"Erik A. Rash" wrote in message
news:F595B03B0C9214F69CF3C6773C891610@in.WebX.maYIadrTaRb...
| Wow Robert...! I thought there might be a limit, however, my error is at
| line 357 thought 378. I think that puts me within that limit you
described.
| It must be something else....er....emmmmmm, I hope someone can help me
|
| Thanks
| Erik
|
|
|
|
Message 9 of 11
Anonymous
in reply to: Anonymous

> [ 30]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X30;\;;
> [ 26]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X26;\;;

Are you doing this with the steel shapes for all sizes? If you are, save
yourself some headache and write a lisp to generate these shapes on the fly.
I have already been down the "steel shape menu" road and it can get nasty (I
then wrote the rountine). Not to mention the hundreds of blocks you have to
keep organized.

-Jason

Erik A. Rash wrote in message
news:44637310F05470BA097B70E92DF94FF8@in.WebX.maYIadrTaRb...
> Matt;
>
> Yeah, I saw your post and waded through all the responses. I'm familiar
> with the MNU v.s. the MNS thing and found that many of the responses don't
> mean anything. The one comment exported from the AutoCAD book was even
more
> distrubing. But I digress....
>
> The menu I'm working with was written from scratch and has no relationship
> between whether it came from a MNU or MNS file at all. The troubling
thing
> for me is that lines of code right above the error lines are identical.
> Here are the two line cut right from the file,
>
> [ 30]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X30;\;;
> [ 26]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X26;\;;
>
> Maybe somebody with REAL intellegence will pick up on this thread this
time
> and give a REAL answer.
>
> I'll let you know
> Thanks again
> Erik
>
>
>
Message 10 of 11
Anonymous
in reply to: Anonymous

Erik,

If you would consider a third party solution, I have a Lisp program to draw
all the rolled shapes in the steel manual (top, front, or section views) except crane rails. Reply (not to group) if
interested.

Doug


"Jason Piercey" wrote in message news:C342944301607359F3BD370D9A63F8AD@in.WebX.maYIadrTaRb...
> > [ 30]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X30;\;;
> > [ 26]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X26;\;;
>
> Are you doing this with the steel shapes for all sizes? If you are, save
> yourself some headache and write a lisp to generate these shapes on the fly.
> I have already been down the "steel shape menu" road and it can get nasty (I
> then wrote the rountine). Not to mention the hundreds of blocks you have to
> keep organized.
>
> -Jason
>
> Erik A. Rash wrote in message
> news:44637310F05470BA097B70E92DF94FF8@in.WebX.maYIadrTaRb...
> > Matt;
> >
> > Yeah, I saw your post and waded through all the responses. I'm familiar
> > with the MNU v.s. the MNS thing and found that many of the responses don't
> > mean anything. The one comment exported from the AutoCAD book was even
> more
> > distrubing. But I digress....
> >
> > The menu I'm working with was written from scratch and has no relationship
> > between whether it came from a MNU or MNS file at all. The troubling
> thing
> > for me is that lines of code right above the error lines are identical.
> > Here are the two line cut right from the file,
> >
> > [ 30]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X30;\;;
> > [ 26]^C^C^P_-INSERT;//ALPHA/STANDARDS/02/STEEL_SECTIONS/W14X26;\;;
> >
> > Maybe somebody with REAL intellegence will pick up on this thread this
> time
> > and give a REAL answer.
> >
> > I'll let you know
> > Thanks again
> > Erik
> >
> >
> >
>
>
Message 11 of 11
Anonymous
in reply to: Anonymous

Erik, Are you just inserting blocks by the name of W14X30 and W14X26 with the 2 example lines of code you have shown here?If you are why don't you try this?
[30]^c^cInsert;W14X30;\;;
[26]^c^cInsert;W14X26;\;;
As for the path just add it to the support file search path unless you have multiple blocks with the same name in different subdirectories.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost