POST
|
Hi, I have two machines. On one of them I can't get ZSnapping to work. another works as documented(most of the time). on that problematic machine zsnapping only occurs if tolerance is enabled and set to a proper value. I retrieve feature(point) from file geodatabase(gdb), take its xy coordinates, do a bare IPoint from them(only a call to PutCoords) and then do a FullPointSnap() on it. The method returns TRUE, but Z coordinate stays NaN. Setting spatial ref system or ZAware=true doesn't help. it doesn't even do ZSnapping in ArcMap UI after I manually start edit session and try to place a line vertex. But works ok once ZTolerance is enabled and set. ArcGIS 10.2.2 automated through .net4
... View more
08-19-2015
07:02 AM
|
0
|
1
|
2707
|
POST
|
Hi, ArcGIS Desktop 10.2.2(Print Dialog Hang patch didn't work) it's about custom ArcMap application(extension), but below you see standard print dialog. The problem is that after opening and closing several documents smth is leaked. GDI objects count grows to ~2 000. Then combo box in the dialog no longer works. It may heal itself after you open another document, or just close this dialog. simptoms: 1. combo is unable to draw icon(or is it some bitmap?) 2. combo closes itself after 0.5s(there is SetTimer call inside PrintOutUI.DLL). Why would they use a timer? 3. in the 2nd picture you see how it all starts - on every click it adds more duplicates. any ideas? is it possible to make some magic call somewhere to fix this, some workaround(except export to PDF)? I tried loading PrintOutUI.dll in advance, prior to opening any documents, but it didn't help(by creating some COM class from the DLL) GC.Collect/WaitForFinalizer() didn't help. manually creating and leaking GDI objects didn't cause this problem(hundreds of pen/bitmap/dc/brush, emfs, but no more thant 10k limit)
... View more
03-20-2015
10:25 AM
|
0
|
0
|
2496
|
POST
|
Hi, ArcGIS 10.2.2, but probably not so much specific to this version. I have quite simple C++ project, with IDL file only, no implementation. TLB is created OK. Then there is post build command(tlbimp) which fails to produce .NET interop DLL. It works somewhat OK with .NET 3.5 toolset, but produces immediate problem when doing same thing with C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\TlbImp.exe. error TI1036: Cannot find 'System.Boolean IsEqual(ESRI.ArcGIS.esriSystem.PropertySet)' in 'ESRI.ArcGIS.esriSystem.IPropertySet' when implementing 'ESRI.ArcGIS.esriSystem.IPropertySet' in 'MyProject.MyPropertySetClass' from 'InteropDLLBeingGenerated.Interop, Version=999.0.0.0, Culture=neutral, PublicKeyToken=blah'. IsEqual has parameter of type PropertySet, while IPropertySet in PIA has interface parameter instead. Seems to be closely related to the same problem people reported on tlbimp, that is interface being substituted for class. Tried to add dummy coclass which implements IPropertySet, but it didn't help. Plus MyPropertySet coclass already exposes IPropertySet in IDL. Any way to fix this? or just wait for ESRI to switch to newer toolset?
... View more
11-20-2014
11:31 PM
|
0
|
0
|
2215
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|