Author Topic: Which DLL should I refer to in order to use the AcMapMapMap class?  (Read 96 times)

0 Members and 1 Guest are viewing this topic.

gswang

  • Newt
  • Posts: 112
The code I found online, as shown below, which DLL should I refer to in order to use the AcMapMapMap class?

// Get the Map Object
AcMapMap currentMap = AcMapMap.GetCurrentMap();
Double viewScale = currentMap.GetViewScale();
ed.WriteMessage("ViewScale Before Change : " + viewScale.ToString());
 
 
// set the ViewScale
viewScale = (viewScale / 100);
currentMap.SetViewScale(viewScale);
ed.WriteMessage("ViewScale After Change : " + viewScale.ToString());

kdub

  • SuperMod
  • Swamp Rat
  • Posts: 1222
  • class keyThumper<T>:ILazy<T>
Re: Which DLL should I refer to in order to use the AcMapMapMap class?
« Reply #1 on: March 02, 2019, 02:39:23 PM »

Does anything in these help ? https://adndevblog.typepad.com/infrastructure/2013/05/autocad-map-3d-api-training-content-part-6.html

The Code solution linked in the article has a list of references ... perhats those will help.

called Kerry in my other life

Sometimes the question is more important than the answer.