PDA

View Full Version : ^C^C_ai_molc


jgratton
2005-10-13, 11:54 PM
This is the "Make picked object's layer current" on the Layer toolbar. It returns "Unknown command" It works with all our profiles except the one that has old lisp/menu based program here. This acad command has never worked with it. I searched for clues through *.lsp What could possibly make this command stop working?

kennet.sjoberg
2005-10-14, 12:12 AM
The function ai_molc is loaded from the acad.mnl ( an old file that I really hate )
You have to load acad.mnl from the Support directory before you can run ai_molc

: ) Happy Computing !

kennet

ps.
I hate acad.mnl because it sometimes left the errorhandler *merrmsg* as default.
ds.

Opie
2005-10-14, 12:17 AM
With kennet pointing that out, did you copy over the acad.mnl when you modified your cui filename?

jgratton
2005-10-14, 12:24 AM
With kennet pointing that out, did you copy over the acad.mnl when you modified your cui filename?

HUH? I guess I didn't. :-( What's the easiest way to cram it all in now? Can I convert it into it's own,new and separate cui then drag it into my customised cui?

Opie
2005-10-14, 01:18 AM
The mnl file is a seperate file. You can make a copy of it with a new filename with a mnl extension.

Mike.Perry
2005-10-14, 01:57 AM
HUH? I guess I didn't. :-( What's the easiest way to cram it all in now? Can I convert it into it's own,new and separate cui then drag it into my customised cui?Hi

Take a look at the following couple of posts (the actual threads might also be of interest)...

RE: ^C^C_AI_"Command"

RE: Selected objects layer set current

Have a good one, Mike

jgratton
2005-10-14, 02:04 AM
The mnl file is a seperate file. You can make a copy of it with a new filename with a mnl extension.

That's it! Thanks! I just opened an old acad.mnl I had kicking around, saved_as to the same name as the customised cui file, only with the .mnl extension. Then I stuck it in the same folder as the customised.cui and it loaded automatically.

Easy when you know how!