[fdo-users] Autocad Map, FDO layer refresh

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


Hi

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())
{
	layer.ForceRefresh();
}

The API is unsupported but it works...

Philipp

-----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
process!

So if someone has already been confronted with that, and has a solution
or
have some resources to point me to... I know there's a way to force a
layer
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:
http://www.nabble.com/Autocad-Map%2C-FDO-layer-refresh-tf3938789s18162.h
tml#a11171371
Sent from the fdo-users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users



More information about the fdo-users mailing list