TheSwamp
Code Red => .NET => Topic started by: gswang on March 02, 2019, 06:05:00 AM
-
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());
-
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.