.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

add popup menu to autocad (cuisamp sample)

1 REPLY 1
Reply
Message 1 of 2
base2
1070 Views, 1 Reply

add popup menu to autocad (cuisamp sample)

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.
1 REPLY 1
Message 2 of 2
filippobottega
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.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost