- Remember me Not recommended on shared computers
Forgot your password?
- AutoCAD Bugs, Error Messages & Quirks
Assignment to Protected Symbol
By jcb56 August 7, 2015 in AutoCAD Bugs, Error Messages & Quirks
- Reply to this topic
- Start new topic
Recommended Posts
I must have done something that has now caused this dialog to come up. It states this: "Assignment to Protected Symbol: [and then states the lisp program] Enter Break Loop?"
Commandobill
Sounds like you are trying to use a name for a variable that is a protected symbol ie: set
Make sure none of your variable names are blue.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account. Note: Your post will require moderator approval before it will be visible.
× Pasted as rich text. Restore formatting
Only 75 emoji are allowed.
× Your link has been automatically embedded. Display as a link instead
× Your previous content has been restored. Clear editor
× You cannot paste images directly. Upload or insert images from URL.
- Insert image from URL
- Submit Reply
- Existing user? Sign In
- Michael's Corner
- Leaderboard
- All Activity
- Create New...
- Forums Home
- AutoCAD Community
Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
Forums Links
- Getting started
- Contact Support & Downloads
- Autodesk Education Support
- Trial Support
- AutoCAD Product Center
Expert Elite
- Mark Forums Read
- View Forum Leaders
- Discussions and Support
- General Design
- AutoCAD Support
- AutoCAD General
- Error box pops up on every drawing
- If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Thread: Error box pops up on every drawing
Thread tools.
- Show Printable Version
- View Profile
- View Forum Posts
This just started today. The attached error box pops up when you open any drawing. No matter what I choose, Yes or No, doesn't seem to make a difference. I can't find any problems while working in the drawing. It also doesn't happen on others in the office only me, so it seems to be machine specific. Any ideas what it is? I just checked the image and its hard to read. It says Assignment to protected symbol: C:AI_MOLC Enter break loop? Yes NO
- Visit Homepage
Re: Error box pops up on every drawing
Originally Posted by SRBalliet This just started today. The attached error box pops up when you open any drawing. No matter what I choose, Yes or No, doesn't seem to make a difference. I can't find any problems while working in the drawing. It also doesn't happen on others in the office only me, so it seems to be machine specific. Any ideas what it is? looks like a missing LISP routine to me .....
[SIGPIC][/SIGPIC] Return of the Cowbell
I don't remember messing with any lisp routine lately, unless one went corrupt. The command line alsp spits this out on opening a file: AutoCAD menu utilities ; User warning: assignment to protected symbol: C:AI_MOLC <- #<SUBR @122715f0 C:AI_MOLC>
Originally Posted by SRBalliet I don't remember messing with any lisp routine lately, unless one went corrupt. The command line alsp spits this out on opening a file: AutoCAD menu utilities ; User warning: assignment to protected symbol: C:AI_MOLC <- #<SUBR @122715f0 C:AI_MOLC> But then again what do I know about LISP? (the answer is NOTHING)
I am not sure but MOLC = Make Object Layer Current. It used to be an express tool but it is now on layer toolbar. As far as any of the other sorry I cant be more help.
Originally Posted by SRBalliet This just started today. The attached error box pops up when you open any drawing. No matter what I choose, Yes or No, doesn't seem to make a difference. I can't find any problems while working in the drawing. It also doesn't happen on others in the office only me, so it seems to be machine specific. Any ideas what it is? I just checked the image and its hard to read. It says Assignment to protected symbol: C:AI_MOLC Enter break loop? Yes NO The only thing I could find on this was that this command is defined in the acad.mnl file. I would check your support paths and make sure this file is loading. This is specifically from the AD knowledge base: This problem occurs because the AutoCAD® software is unable to load the function definitions in the acad.mnl file. Several AutoCAD core functions are defined in acad.mnl ; if you modify menus or load menus other than the default without regard to this fact, the acad.mnl file may not load. In that case, the functionality is never defined. Use either of the following methods to resolve this problem: Method #1 Manually load the acad.mnl file. On the command line, enter (load "acad.mnl") . Method #2 Make a copy of the acad.mnl file with the same file name as the MNU file. Make a copy of the acad.mnl file. Rename the copy of the acad.mnl to the same file name as the main MNU file you are loading. For example, if you are loading mymenu.mnu , rename the copy of acad.mnl to mymenu.mnl . Restart the software to load the MNL file you created in step 2.
Brenda Richardson Oh, so do I stick that in my Google
Thanks for the responses. This morning it's not doing it. I exited AutoCAD yesterday and it still did it when restarted, but either the CPU start up fixed it this morning or the elves last night.
Originally Posted by SRBalliet This just started today. The attached error box pops up when you open any drawing. I don't know exactly what is CAUSING it, meaning it could be in a variety of files, but the meaning of that message is some lisp file (must be loading at startup if you get it for each drawing) is trying to set a protected variable to some other value. Start removing startup lisp items until you find the culprit.
R.K. McSwain | CAD Panacea |
Originally Posted by SRBalliet Thanks for the responses. This morning it's not doing it. I exited AutoCAD yesterday and it still did it when restarted, but either the CPU start up fixed it this morning or the elves last night. AutoCAD gnomes! I should have known ....
Similar Threads
2012: strange window pops up on sync, error closes revit: an error has occurred while drawing the contents of this window., creating block - error message pops up, open drawing file - an error occurred reading layer standard from drawing, autocad text window pops-up every time i open a drawing file., posting permissions.
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
- BB code is On
- Smilies are On
- [IMG] code is On
- [VIDEO] code is On
- HTML code is Off
Forum Rules
IMAGES
VIDEO