Message 1 of 6

Not applicable
10-27-2015
01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am getting an error trying to set the coordinate system. The error message is... Exception of type 'Autodesk.Gis.Map.MapException' was thrown. It also has an error code of 1233 but that is all the information it gives me. Anyone know what error code 1233 is or has a list of AutoCAD error codes for future reference?
The code is pretty simple and sometimes it does work so it may have something to do with locks or something. I'm very new to AutoCAD development...
Autodesk.Gis.Map.MapApplication mapApp = Autodesk.Gis.Map.HostMapApplicationServices.Application;
Autodesk.Gis.Map.Project.ProjectModel activeProject = mapApp.ActiveProject;
activeProject.Projection = CoordinateSystem;
Thanks
Solved! Go to Solution.