.NET

.NET

Reply
Valued Contributor
base2
Posts: 80
Registered: ‎04-20-2005
Message 1 of 2 (702 Views)

add popup menu to autocad (cuisamp sample)

702 Views, 1 Replies
02-05-2010 10:30 AM
Hi
I try to use cuisamp sample from the .net samples.

I change the reference with correct reference in the autocad 2009 folder.

When I use netload to load cuisamp.dll autocad show this message in command line:
Error: Default AutoCAD Workspaces not found!

The cuisamp.dll is loaded, and if I run "addmenu" command not new menù is added on the main autocad menu.

Why?

thank you very much.
New Member
filippobottega
Posts: 1
Registered: ‎04-09-2010
Message 2 of 2 (702 Views)

Re: add popup menu to autocad (cuisamp sample)

04-09-2010 03:33 AM in reply to: base2
In "public class CUIStartup : IExtensionApplication" you have to change:

const String ACADDEFAULT = "AutoCAD Default";
const String ACADCLASSIC = "AutoCAD Classic";

with workplace's names of your Autocad installation. Probably you are using a language other than English.

Best regards,
Filippo Bottega.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.