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

0 Members and 1 Guest are viewing this topic.

gswang

  • Newt
  • Posts: 117
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_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2120
  • 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
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.