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

Access in C# to MAPOPTIONS and MAPIOPTIONS

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
O_Eckmann
516 Views, 2 Replies

Access in C# to MAPOPTIONS and MAPIOPTIONS

Hi,

 

I'd like to access to some options in MAPOPTIONS dialog :

 - desactivate "Show Workspace on startup"

and in MAPIOPTIONS

 - desactivate "select image by Maj+click"

O_Eckmann_0-1708353357885.png

 

For MAPOPTIONS, I've found help in Lisp developper with functions : ade_prefgetval and  ade_prefsetval

Is there equivalent command in C# API?

 

For MAPIOPTIONS, I haven't found any function? Is it possible to access these options?

 

Thanks

 

Olivier

Olivier Eckmann

EESignature

2 REPLIES 2
Message 2 of 3
norman.yuan
in reply to: O_Eckmann

Most (if not all) of the settings shown in "MapOptions" dialog box are exposed as Autodesk.Gis.Map.SystemOptions class (in the assembly ManagedMapApi.dll).

 

Not sure whether settings in "Raster Extension Options" (command MAPIOPTIONS) have corresponding managed API counterpart, though.

 

Norman Yuan

Drive CAD With Code

EESignature

Message 3 of 3
O_Eckmann
in reply to: norman.yuan

Hi @norman.yuan ,

 

Thanks for your reply. I've found all I want for MapOptions.

 

For MAPIOPTIONS, I'm still looking.

 

Olivier

Olivier Eckmann

EESignature

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

Post to forums  

Technology Administrators


AutoCAD Beta