AutoCAD Map 3D Developer

AutoCAD Map 3D Developer

Reply
Distinguished Contributor
djonio
Posts: 105
Registered: ‎12-29-2005
Message 1 of 3 (233 Views)

MPolygon retreival broken in version 2012?

233 Views, 2 Replies
04-27-2011 07:11 AM

Windoze 7 x64, Map 3d 2012 x64, Visual Studio 2010

Howdy,

I have just begun updating our applications from Version 2010 to 2012 and immediately have run into an issue with MPolygons.( sound familiar?).  

1)      Add the MPolyon via AppendEntity and AddNewlyCreatedDBObject

2)      Using the ObjectId … do a GetObject

3)      GetObject returns that _ImpEntity_ thingee. It cannot be cast to anything useful.

I have not seen nor heard of a workaround. Anyone?

r,

dennis

Distinguished Contributor
djonio
Posts: 105
Registered: ‎12-29-2005
Message 2 of 3 (207 Views)

Re: MPolygon retreival broken in version 2012?

05-05-2011 08:01 AM in reply to: djonio

See: Change Request Number 1398703.

r,

dennis

ADN Support Specialist
Partha.Sarkar
Posts: 543
Registered: ‎06-09-2009
Message 3 of 3 (188 Views)

Re: MPolygon retreival broken in version 2012?

05-09-2011 11:42 PM in reply to: djonio

Hi,

 

We have noticed that already and informed our engineering team for an appropriate fix.

A workaround using the RXClass which resolves this issue in 2012 is posted in the following thread :

 

http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/MPolygon-not-work-in-Civil-2012/td-p/30...

 

Hope this helps.

 

Thanks,

 

Partha Sarkar

Autodesk Developer Network



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.