Where is MgGeometry?

Where is MgGeometry?

Anonymous
Not applicable
1,152 Views
4 Replies
Message 1 of 5

Where is MgGeometry?

Anonymous
Not applicable

In VS2010 I loaded Autodesk.Map.Platform.Core.dll (I have Civil 3d 2011) and I can't find MgGeometry class or MgAgfReaderWriter class?

 

Object Browser nothing

 

Thanks

0 Likes
Accepted solutions (1)
1,153 Views
4 Replies
Replies (4)
Message 2 of 5

Sinc
Advisor
Advisor

Yeah, the Help has kind of dropped the ball on this one...  There have been two changes to the API since the Help was correct.

 

For 2011, take a look in OSGeo.MapGuide.Foundation, OSGeo.MapGuide.Geometry, OSGeo.MapGuide.PlatformBase.

Sinc
0 Likes
Message 3 of 5

Anonymous
Not applicable

I don't know if I'm missing something but in my Reference tab i have this "dll" loaded:

 

Autodesk.Map.Platform.Core

OSGeo.FDO

OSGeo.FDO.Common

OSGeo.FDO.Geometry

OSGeo.MapGuide.Foundation

OSGeo.MapGuide.PlatformBase

 

and if I search MgGeometry in Object Browser, only thing I got is: OSGeo.MapGude.MgGeometryProperty and OSGeo.MapgGuide. MgGeometryTypeInfo class

 

Am I crazy??

0 Likes
Message 4 of 5

Anonymous
Not applicable

Is IGeometry and MgGeometry the same thing?

0 Likes
Message 5 of 5

Anonymous
Not applicable
Accepted solution

The assembly you're looking for is OSGeo.MapGuide.Geometry.dll

 

This assembly split was made so your code can reference the same OSGeo.* assemblies and run on both Map3D and MapGuide (assuming you are targeting the subset of classes used in both products)

 

- Jackie

0 Likes