AutoCAD Mechanical General Discussion

AutoCAD Mechanical General Discussion

New Member
1 Posts
0 Kudos
Registered: ‎09-21-2011
Post 1 of 5

Commands not loading, GENLADE error

1487 Views, 4 Replies
09-21-2011 06:44 AM



I have AutoCAD Mechanical 2010 on my work computer provided by the company.  However, there are several commands I have discovered are not working properly.  Among those commands is hatching, rectangles, centerlines and various others. The error I get is the same everytime.


_amrectang ; error: no function definition: GENLADE

amcentline ; error: no function definition: GENLADE

_amconstlines ; error: no function definition: GENLADE


The only thing that changes is the command that is called in the line.  Does anybody have an idea what the problem is and if this may just be an option that I have not found.  I have the "DemandLoad" set to a value of 3, which I found was a problem on some of the older versions of AutoCAD where the commands were just not loaded into the program at startup.


Thank you for any help provided.

Product Support
683 Posts
36 Kudos
Registered: ‎09-30-2007
Post 2 of 5

Re: Commands not loading, GENLADE error

09-21-2011 06:53 PM in reply to: jwroth89

This sounds like the profile is not configured correctly in AutoCAD Mechanical. To see which profiles are loaded, check the list in Options.

1.     Type OPTIONS on the Command Line and press Enter.
2.     Go to the Profiles tab.
3.     You should see something like <<ACADMPP>> and <<VANILLA>> in the available profiles list.
4.     Make sure <<ACADMPP>> is selected, and click “Set Current”.
5.     Click OK to save the settings and close the dialog.
6.     See if your Mechanical specific AM commands work again.


If the problem persists, you can also use the RESET option in profiles tab to reset your profile.


Hope it helps.



If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!


Vinod Balasubramanian
3 Posts
0 Kudos
Registered: ‎07-22-2013
Post 3 of 5

Re: Commands not loading, GENLADE error

06-11-2014 01:29 AM in reply to: VinodBalasubramanian

Dear Sir,


Even after resetting the profiles, the problem still persist.




Vinay Patel

Valued Mentor
353 Posts
31 Kudos
Registered: ‎12-31-2009
Post 4 of 5

Re: Commands not loading, GENLADE error

06-16-2014 01:56 AM in reply to: vinayhp

One thing to check: have you broken the acad.lsp or acaddoc.lsp files?

In Mechanical there are some Autodesk loading commands in those (in addition to acad2010.lsp and acaddoc2010.lsp)



Valued Mentor
458 Posts
27 Kudos
Registered: ‎04-20-2011
Post 5 of 5

Re: Commands not loading, GENLADE error

06-16-2014 06:31 AM in reply to: martti.halminen
Heh, Martti here assumes that you have edited/customized the acad....lsp files.

You can then probably see an error that includes something like "bad argument type" or mentions "string" or "variant" upon starting a new drawing. (in the commandline)

If that is true, do try to bring everything back to default/factory settings (if i recall correctly Only from version 2013 onwards do you actually have a button for that) and try again. :smileyhappy:
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!