AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where is MgGeometry?

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
932 Views, 4 Replies

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

Where is MgGeometry?

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

4 REPLIES 4
Message 2 of 5
Sinc
in reply to: Anonymous

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

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
Message 3 of 5
Anonymous
in reply to: Sinc

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

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??

Message 4 of 5
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

Is IGeometry and MgGeometry the same thing?

0 Likes

Is IGeometry and MgGeometry the same thing?

Message 5 of 5
Anonymous
in reply to: Anonymous

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

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report