POST
|
Thanks folks. I will go with the supported version. I just needed to know what to install and as Aurecon pointed out the SDK will not even install without the 2008 version already installed.
... View more
08-26-2010
04:45 AM
|
0
|
0
|
527
|
POST
|
This poses a problem for me since i would like to re-create my 9.3 VBA customizations. I cannot create a custom UI control that can be saved in the normal template. WHY? Source: The customizations listed below are only ever saved at the document level; you cannot elect to save these customizations in your template. * UI Controls added to any toolbar or menu * Macros added as buttons to any toolbar or menu
... View more
08-24-2010
12:25 PM
|
0
|
9
|
4115
|
POST
|
Thanks Neil, Being very new to VB .Net i get the following problems: 1. Interface 'ESRI.ArcGIS.SystemUI.ITool' is not implemented by this class. 2. 'ClassId' is not a member of 'System.Windows.Forms.ContextMenu'
... View more
08-24-2010
10:41 AM
|
0
|
0
|
369
|
POST
|
Hello all, This should be simple... I am converting VBA customization to VB .NET in VS 2008 Express Edition. In VBA i have a custom selection tool. Aside from just selecting, when a Mouse_Down receives Button = 2 parameter (right click) a popup a context menu with some items that call various other procedures. I need some help with making this work in .Net... I used the .NET sample to get the feel for this and i am sure i can re-create the select tool but i am having problems with the context menu. Private Sub UIToolControl1_MouseDown(ByVal button As Long, ByVal shift As Long, ByVal x As Long, ByVal y As Long) Dim pLayer As ILayer Dim pContextMenu As ICommandBar Dim pAppPosition As IWindowPosition Dim pPoint As POINTAPI If pMxDoc.SelectedLayer Is Nothing Then MsgBox "Select a layer in the TOC!": GoTo ep End If Select Case button Case 1 Set pLayer = pMxDoc.SelectedLayer If pLayer Is Nothing Then MsgBox "You must select 1 feature layer in the TOC!": GoTo ep End If If Not TypeOf pLayer Is IGeoFeatureLayer Then MsgBox "You must select 1 feature layer in the TOC!": GoTo ep End If Set m_pPoint = pActiveView.ScreenDisplay.DisplayTransformation.ToMapPoint(x, y) m_bIsMouseDown = True Case 2 'on right click = popup Set pContextMenu = CommandBars.Create("Go2Grid", esriCmdBarTypeShortcutMenu) Set pAppPosition = Application ' Add 3 built in commands to the new context menu using the built in ArcID module. ' pContextMenu.CreateMacroItem "Sketch Tool", 27, "Normal.ThisDocument.SetSketchTool" pContextMenu.CreateMacroItem "New Feature Class", 8, "Normal.Module1.CreateNewFeatureClass" pContextMenu.CreateMacroItem "Delete Layer", 13, "Normal.Module1.DeleteFeatureClass" pContextMenu.CreateMacroItem "Copy To...", 20, "Normal.ThisDocument.CopyFeatures" pContextMenu.CreateMacroItem "Draws Around...", 26, "Normal.ThisDocument.DrawsAroundFeatures" pContextMenu.CreateMacroItem "Clear Tool", 10, "Normal.ThisDocument.ClearCurrentTool" pContextMenu.CreateMacroItem "Delete Features", 13, "Normal.Module1.DeleteFeatures" ' Popup the menu. pPoint.x = x pPoint.y = y ClientToScreen pActiveView.ScreenDisplay.hwnd, pPoint pContextMenu.Popup pPoint.x, pPoint.y Case Else GoTo ep End Select End Sub
... View more
08-24-2010
08:18 AM
|
0
|
2
|
563
|
POST
|
Hi I see what the problem is now. There's a couple of things you could try, though I've not got a copy of VS Express on my machine to test these on. First is to start Arc and then in VS go to Tools->Attach to process. Select the ArcDesktop process and click Attach. This should then allow you to debug the dll. The other thing to try is to manually edit the vbproj file (or it might be the vbproj.user file if you've got one). You need to add the lines in the bold below: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <StartAction>Program</StartAction> <StartProgram>C:\Program Files\ArcGIS\Bin\Arcmap.exe</StartProgram> </PropertyGroup> You'll probably need to do this in a few places in the file. Then hopefully VS Express will be able to pick this up and start Arc when you start debugging. You can also add the following line if you want to add arguments <StartArguments>C:\MyFolder\MyFile.mxd</StartArguments> Hope these work for you. There might well other (better) ways to do this though. Regards Thanks Doc, editing the vbproj file works. Insted of adding i replaced the existing lines. I tried putting in the Start Arguments to use a specific mxd but it seems to be igored and a new "Untitled.mxd" document starts with the debugger. Still, this is great. Thanks!
... View more
08-24-2010
07:29 AM
|
0
|
0
|
734
|
POST
|
clayton62: I did end up using breaklines to represent the surface at the cross-section locations. I had to use hard breaks b/c the softs still weren't triangulating correctly. One thing I am struggling with now is how to combine to TINs in some way. I have streams that tile across several grid sections (each containing a separate TIN). I need some way to read a cross-section across those separate TINs and can't do it if a XS spans over two different TINs. At least I'm not sure how. 🙂 Thank you for your help. -emiller What i do is to design a perimeter around the area i want to update. This needs to be a 3D line feature as i will use it later in the process. Then remove all TIN nodes within the perimeter and add your new points. Lastly add the perimeter 3D break line.
... View more
08-23-2010
09:44 AM
|
0
|
0
|
345
|
POST
|
You can use the "Create Profile Graph" tool but it is very basic stuff... http://webhelp.esri.com/arcgiSDEsktop/9.2/index.cfm?TopicName=Creating_profile_graphs There is a $500 dollar tool by A-Prime (ESRI Business partner). It's pretty good and they do offer a free trial. http://www.aprimesoftware.com/
... View more
08-23-2010
09:13 AM
|
0
|
0
|
523
|
POST
|
Thanks, Tools->Attach to process - also not an option. I will try to manually edit the vbproj file and will report back....
... View more
08-23-2010
07:56 AM
|
0
|
0
|
734
|
POST
|
Thanks for taking your time to answer my question.... I am using VB, but C# or VB, what you describe is not an option in the express edition. (see attached) ESRI states the DDL's cannot be debugged with the express edition: "If you are using the Visual C# Express Edition or Visual Basic Express Edition, you cannot debug DLLs because these versions do not have the option to start an external application for debugging." Source: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000001w2000000
... View more
08-23-2010
07:34 AM
|
0
|
0
|
734
|
POST
|
What dlls are you trying to debug? You can certainly debug your own code with Express so it's far from usless. I need to step through my code to see where exactly i am getting my error. For me this is a fundamental functionality. (a non issue with VBA but i am re-writting my tools in VS Express since VBA will not be included in the next release of ArcGIS) From what i found out, i cannot run an external application (ArcMap) to debug DLLs. I would be greatfull for a solution other then VS Pro.
... View more
08-23-2010
06:34 AM
|
0
|
0
|
734
|
POST
|
So seeing that VBA will eventually not be an option i decided to go with ESRI's recommendation to convert my code to VB.NET using the VS 2008 Express edition. That's great and all but in the Express edition you cannot debug DLLs That makes the Express edition pretty well useless... Does it mean that i will need to purchase Visual Studio?
... View more
08-20-2010
07:51 PM
|
0
|
9
|
1425
|
POST
|
I am in the process to migrating to ArcGIS 10. I have a lot of VBA customization that i would like to convert to the new "add-ins" structure. Can i use VS 2010 Express or do I need to stick with 2008. In the article below, VS 2010 Express is not listed as one of the supported IDEs. http://resources.arcgis.com/content/arcgissdks/10.0/system-requirements Please Advise,
... View more
08-19-2010
07:18 AM
|
0
|
15
|
4952
|
POST
|
i am very much in this issue... can you post the two files?
... View more
08-19-2010
05:13 AM
|
0
|
0
|
1269
|
POST
|
Were you able to figure this out? I have been getting similar results. Extrude between almost never works for me. When it works it's usually with very simple TIN surfaces. I don't think i have ever made it work with TIN surfaces generated from a raster or other like conversions.
... View more
08-16-2010
12:39 PM
|
0
|
0
|
386
|
POST
|
I ran TIN difference using the same input data and each time i received a different result. (see attached, red outline shows 1run, blue/green polygons show the 2nd run) I have been running into these inconsistencies every now and then but learned to spot them because of the jagged generalized-like nature of the incorrect result. Does anyone has an explanation for this?
... View more
08-11-2010
06:53 AM
|
0
|
0
|
1211
|
Title | Kudos | Posted |
---|---|---|
2 | 03-15-2024 10:37 AM | |
1 | 05-21-2014 08:25 AM | |
1 | 10-04-2010 05:25 AM | |
2 | 02-04-2022 08:06 AM | |
6 | 12-06-2021 09:11 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|