IDEA
|
The last entry here is already pretty old but nothing has changed. The problem is still there, ESRI, and waits to be solved!
... View more
03-15-2022
05:56 AM
|
0
|
0
|
619
|
POST
|
Hi Amanda, thanks for this one. This is actually a problem I had immediately after upgrading to ArcGIS 10.8.1 from 10.2 (and VS2012 to VS2019). It was solved by changing the ESRI.ArcGIS.AddIns.11.targets reference in the project properties to ESRI.ArcGIS.AddIns.targets. Now other very similar addins run fine but one remains stubborn... But to make sure, yes, "Register for COM interop" is not ticked and the ESRI.ArcGIS.Deskop.AddIns assembly reference Copy Local property set to false. I really appreciate your help! Any other ideas? Axel
... View more
01-06-2022
11:52 PM
|
0
|
0
|
734
|
POST
|
Amanda, to be more specific: I have various BC30002 errors such as 'type "ESRI.ArcGIS.Desktop.Addins.Multiitem" is not defined'. However, I have referenced ESRI.ArcGIS.Desktop.Addins. The .NET framework is set to 4.5.2 and I see no outdated entries (from the conversion from 10.2) in the vbproj file. Any other ideas what might have gone wrong? Axel
... View more
01-05-2022
12:43 AM
|
0
|
1
|
740
|
POST
|
Amanda, thanks for your answer. Your link was also the first thing I found while looking for a possible cause but it did not help me much. All references have been added properly, the dlls exist in their defined directory and another addin with the same structure runs just fine. So I am a bit at a loss where to search next. Axel
... View more
01-04-2022
11:32 PM
|
0
|
0
|
740
|
POST
|
Hi all, I am upgrading a 10.2 addin to 10.8.1 (VB.NET, VS 2019) and receive several "BC30002: Type '<typename>' is not defined"- errors. They are mostly related to ESRI.ArcGIS.Desktop.AddIns, but also to Carto, Framework, ArcMapUI or Editor. All references are set with a valid path. I compared all settings to an structurally identical addin I had converted earlier that references the same libraries and runs fine but see no code or settings differences. I m quite at a loss so any ideas are appreciated! Axel
... View more
01-03-2022
04:38 AM
|
0
|
5
|
824
|
POST
|
Thanks to all of you, there are a number of interesting points to check now. Thankfully first I will be off to the mountains for a week or so and will tackle that problem when I'm back
... View more
09-19-2021
11:57 PM
|
0
|
0
|
718
|
POST
|
I thought so [sigh...] I am using a two-step approach: first selecting feature classes based on name and then looping through the list with a search cursor: fcList = arcpy.ListFeatureClasses(sSearchStr,"POLYGON") for fcls in fcList: cnt = len([r[0] for r in arcpy.da.SearchCursor(fcls, fieldname, where_clause = query)]) if cnt > 0: [....] Would be great if you have an idea how to speed up this process!
... View more
09-17-2021
01:44 AM
|
0
|
1
|
761
|
POST
|
Hi, is there an equivalent to the "Find tool" in ArcMap using arcpy? The find tool is way faster when searching over multiple layers than any code I can come up with... Any ideas?
... View more
09-16-2021
08:04 AM
|
0
|
6
|
813
|
IDEA
|
This used to be a standard feature in the old ARC/INFO versions ('draw vertices'-option) - gone as a lot of other useful features that used to be standard some 30 years ago!
... View more
04-26-2019
03:12 AM
|
2
|
1
|
1835
|
POST
|
Duncan, thanks for the input but vbNewLine (or vbCrLf for that matter) will not work. I alredy thought to use <br> (the interface is called XmlPropertySet after all) but I am not very versed with xml and did not make it work either. Any other ideas?
... View more
01-13-2019
11:16 PM
|
0
|
0
|
316
|
POST
|
I am editing metadata via a VB.NET Addin. Update information comes from ASCII files and I am and looking for a way to insert new lines. In this simple example the ASCII text provided might look like: "Administrator: Person A" Using the IXmlPropertySet2 interfacemy code looks something like this: Dim sName As String = "mdContact/rpPosName" Dim sValue As Object = "Administrator: \r\n Person A" 'update string with escape sequence added XmlPropertySet2.SetPropertyX(sName, sValue, esriXmlPropertyType.esriXPTText, esriXmlSetPropertyAction.esriXSPAAddOrReplace, False) Setting the property type to esriXPTText suggests that the value parameter (sValue in this example) should be a string. However any escape characters inserted in the string are not interpreted correctly and instead are shown as normal text in the metadata viewer. Being at a loss what the correct escape character might be I tried quite a variety: <\r\n> <br>, 
 <br> \r\n I have seen the somewhat similar thread https://community.esri.com/thread/213315-new-line-in-metadata-summary-description but this does not fit my problem. Any ideas how to insert new lines?
... View more
01-04-2019
01:38 AM
|
1
|
2
|
413
|
POST
|
I have been loading a DEM (.img file). It displays alright but when changing vertical exaggeration nothing happens. Is there anything else to do to make vertical exaggeration work? Thanks, Axel
... View more
12-06-2018
03:04 AM
|
0
|
1
|
476
|
IDEA
|
allmost unbelievable that this functionality does not already exist - absolutely necessary for descriptive statistics.
... View more
12-19-2017
11:07 PM
|
0
|
0
|
773
|
POST
|
I need to recreate the functionality of the link table in the georeferencing toolbar. I have sets of ground control points (usually between 5 to 30 gcps for an image) and need the resulting RMS errors for a given transformation - there is no need to actually rectify the images. I have trouble understanding the DefineFromControlPoints Method. The documentation says. 'Defines the best affine transformation between two sets of points' but the arguments are defined as ByRef fromPoints As IPoint which I understand is one point, not a set of points. This sample (rather old, but one of the few available I found) http://edndoc.esri.com/arcobjects/9.1/ComponentHelp/esriGeometry/DefineFromControlPoints_Example.htm states pAffineTrans2D.DefineFromControlPoints 4, pPtFrom(0), pPtTo(0) which appear to be single points from a point array, so again actually only one ground control point. I am confused... So again my question: can anybody show me how to use a set of points with DefineFromControlPoints ? Any help is appreciated! Cheers Axel ByRef fromPoints As IPoint
... View more
05-12-2016
07:38 AM
|
0
|
0
|
1870
|
POST
|
Hi all, when georeferencing a raster data set the standard link table saves only coordinates. Residuals and errors are shown but are not saved in the link table. Is there a way to export a link table including RMS errors? Thanks in advance Axel
... View more
05-03-2016
05:38 AM
|
0
|
1
|
832
|
Title | Kudos | Posted |
---|---|---|
1 | 08-27-2015 08:07 AM | |
1 | 08-28-2015 03:25 AM | |
1 | 08-28-2015 04:49 AM | |
2 | 04-26-2019 03:12 AM | |
1 | 01-04-2019 01:38 AM |
Online Status |
Offline
|
Date Last Visited |
02-20-2024
07:13 AM
|