Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Assignment to protected symbol: C:AI_MOLC Enter break loop? ANYONE SEEN?

19 REPLIES 19
Reply
Message 1 of 20
68widetrack
10546 Views, 19 Replies

Assignment to protected symbol: C:AI_MOLC Enter break loop? ANYONE SEEN?

This pops up in c3d as a ? dialogue box, this is a new one to me. options are Yes or No,
.

19 REPLIES 19
Message 2 of 20
Anonymous
in reply to: 68widetrack


Is this an LDD menu put into Civil 3D?

 

Bill

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
This
pops up in c3d as a ? dialogue box, this is a new one to me. options are Yes
or No,
Message 3 of 20
68widetrack
in reply to: 68widetrack

Are you refering to a Land DeskTop menu? There are simple EIP blocks in this dwg as from the surveyor's, but I have been using this surveyor's dwg's for a year and this is the first time I have seen this.
.

Message 4 of 20
Anonymous
in reply to: 68widetrack


This is a BUG that Autodesk should have fixed a
LOOOOONNNNNGGGGG time ago. It comes from the fact that the old layers portion of
Express Tools have been incorporated into the base Autocad, but the Menus are
still loading the Lisp version of the Make Object Layer Current command. It only
shows it's ugly face when you have opend the VLIDE and the option to "SETQ to
protected symbol" is set to anything other than Transparent.

 

To fix this, look in the MNL file(s) in your Support folder
that are loaded with your Menus. It looks like in 2009 this is only in the
Civil.mnl file.....scroll down to near the end of the file and either remove or
comment out the section for "Make Object Layer Current" (or rename the c:ai_molc
to something not likely to be used). Save it and restart Acad/C3D.

 

HTH,

Jeff


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
This
pops up in c3d as a ? dialogue box, this is a new one to me. options are Yes
or No,
Message 5 of 20
68widetrack
in reply to: 68widetrack

Jeff, I am unsure what to remove or how to comment out? I'm not sure where the "Make Object Layer Current" section ends, or how to "comment out". Can you show me in the attached notepad file? Thanks David
.

Message 6 of 20
Anonymous
in reply to: 68widetrack


Hi David,

I have determined it is far easier to just rename this
function. Change this line:

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Jeff,
I am unsure what to remove or how to comment out? I'm not sure where the "Make
Object Layer Current" section ends, or how to "comment out". Can you show me
in the attached notepad file? Thanks David
Message 7 of 20
Anonymous
in reply to: 68widetrack


Hit the wrong button I guess.....anyway, change this
line:

 

(defun c:ai_molc (/ old_error end_undo old_cmdecho set1 ent
undo_control)
 

to this:

 

(defun c:ai_molcXXXX (/ old_error end_undo old_cmdecho set1
ent undo_control)

 

and it should solve the problem...until the next service
pack/reinstall/upgrade


 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Jeff,
I am unsure what to remove or how to comment out? I'm not sure where the "Make
Object Layer Current" section ends, or how to "comment out". Can you show me
in the attached notepad file? Thanks David
Message 8 of 20
68widetrack
in reply to: 68widetrack

Thanks! Jeff

David
.

Message 9 of 20
Jay_B
in reply to: Anonymous


@Anonymous wrote:
This is a BUG that Autodesk should have fixed a
LOOOOONNNNNGGGGG time ago. It comes from the fact that the old layers portion of
Express Tools have been incorporated into the base Autocad, but the Menus are
still loading the Lisp version of the Make Object Layer Current command. It only
shows it's ugly face when you have opend the VLIDE and the option to "SETQ to
protected symbol" is set to anything other than Transparent.


I realize this thread is a few days old but I just had this happen in 2014 after opening VLIDE.

 

It locked up my session which had 3 dwg's open and after an End Task things seem normal for now Smiley Surprised.

 

protected symbol message.PNG

 

 

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 10 of 20
annw2
in reply to: Jay_B

Still getting in 2014.  I switched to the 'generic' autoCAD work station and it comes up when I open a new file.

 

I will try exiting and coming back in.

 

I hit yes and it doesn't seem to bother anything other than the time lost.

Ann Wingert, P.E.
Message 11 of 20
ArloCAD
in reply to: annw2

So let's say, hypothetically, that this hasn't been fixed in the 2016 version, and that editing the civil.mnl file appears to be prohibited. How might one go about addressing this issue?

Message 12 of 20
Jeff_M
in reply to: 68widetrack

Close the vlide...why can't the mnl be edited? And yes, it does still exist in 2016 in case anyone else is wondering. Why it's so hard to correct this by autodesk is beyond my comprehension.
Jeff_M, also a frequent Swamper
EESignature
Message 13 of 20
JMcShane
in reply to: ArloCAD


@ArloCAD wrote:

So let's say, hypothetically, that this hasn't been fixed in the 2016 version, and that editing the civil.mnl file appears to be prohibited. How might one go about addressing this issue?


If you type (findfile "Civil.mnl") at the command line you can locate the file in question.

You should get something like this "C:\\Users\\YourName\\appdata\\roaming\\autodesk\\c3d 2016\\enu\\support\\Civil.mnl"

 

I copied this civil.mnl file on to my desktop and made the appropriate changes as mentiond above.

I renamed the original file to "Civil-OLD.mnl"and then copied the amended file in to replace it.

Message 14 of 20
hamedsorourifar
in reply to: Anonymous

I faced this issue and it caused my surface style to change from slope banding to colored triangles!

I removed the command as Jeff siad, replaced the file, closed and reopen C3D and it worked.

Thanks 

Message 15 of 20
derryck
in reply to: Anonymous

Hi.  I am running Autocad Civil 3D 2016 and am having the same problem.  I have renamed the function as you have described in both the Civil.MDL and c3d.MDL, and the problem still persists?

Message 16 of 20
Jeff_M
in reply to: derryck

Did you close and restart C3D?
Jeff_M, also a frequent Swamper
EESignature
Message 17 of 20
ronjonp
in reply to: Jeff_M

This is still a problem in C3D 2018 .. cmon AutoDesk fix this. 

Message 18 of 20
e.aguilera
in reply to: Anonymous

Found the SETQ options in VLIDE---TOOLS--ENVIRONMENT OPTIONS-- GENERAL.

 

Set it to Transparent and it seems to have worked in eliminating that prompt.

 

SETQ.PNG

 

Autocad2016

Message 19 of 20

Thank you. This seemed to have worked and is a lot simpler than trying to edit the MNL file as suggested by the other answers. 

Message 20 of 20
arlA7WKU
in reply to: 68widetrack

Still an issue with 2022, but was corrected with changing the transparency setting that @e.aguilera suggested.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report