Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Changing version is very slow

$
0
0
Hello,

I am changing the version in the ArcMap by code and updating the feature classes of all layers/ standalone tables. This way they point to the data on the new version.

I have referred the code at this URL :
http://edndoc.esri.com/arcobjects/8....ersionUtil.htm

Now everything is fine however the performance is very bad. It is taking a lot of time,10-12 seconds when I do this for the first time. After that, it takes very less time may be 3-4 seconds.

I am using ArcGIS 10.2.1.

So any help on this issue is highly appreciated. If anybody points me in the right directions for finding the cause behind this, it will be very helpful.

It seems that the problematic code is the function, ChangeFeatureLayers() in that code. This method consumes the largest time of the total time.

Thanks,
S.

Viewing all articles
Browse latest Browse all 1374

Trending Articles