[fdo-users] Autocad Map, FDO layer refresh

Philipp Kast philipp.kast at autodesk.com
Mon Jun 18 12:20:55 EDT 2007


There's a managed Map API which exposes a ForceRefresh in Map 2008.

Then you can call:

AcMapMap currentMap = AcMapMap.GetCurrentMap();
foreach (MgLayerBase layer in currentMap.GetLayers())

The API is unsupported but it works...


-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org
[mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of dfarina at geomap
Sent: Monday, June 18, 2007 9:58 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] Autocad Map, FDO layer refresh

Hi folks ;-)

I'm a bit confused: how can i refresh an Autocad Map FDO layer (Oracle
connection). I've searched in the Geospatial and other Autocad
documentations, and i'm not able to find an exposed API for that. Is
there a
way to refresh the map as in Mapguide? The only way i've found is to
remove/rebuild the corresponding layer, but it's not really a clean

So if someone has already been confronted with that, and has a solution
have some resources to point me to... I know there's a way to force a
refresh when a new map update is invoked (MgLayer ForceRefresh). How to
force a map update?

Thank you in advance
View this message in context:
Sent from the fdo-users mailing list archive at Nabble.com.

fdo-users mailing list
fdo-users at lists.osgeo.org

More information about the fdo-users mailing list