POST
|
Hello MichaelLev Good day, how were able to convert the codes example of Edit features in 3D with the Editor widget into "Edit 3D" custom widget code within Web AppBuilder (Developer Edition) 2.17. I am trying to do same, but struggling. Kindly help asap. Thanks.
... View more
02-20-2023
08:10 AM
|
0
|
0
|
584
|
POST
|
Dear Community, I have used the widget generator to create my widget, which I will like to add the functionality to edit 3D . I am trying to implement a 3D Editor widget within a scene viewer on our ArcGIS portal, hence an in-panel widget for creating and editing,3D buildings, point features. I have tried several things so far, have read and watched several tutorials and also found the following developer widget: https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-3d/ I do understand the basics and know how to create a new widget within webappbuilder. However, I can't figure out how to "translate" the code from the above mentioned 3D widget (https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=widgets-editor...) into an in-panel widget within webappbuilder. I can't seem to find any relevant information on how to do this. I will like to know what the widget.js, widget.html,config.json etc..would look like, I have been on this for a while now, I have only been able to get the widget to show on my webapp without any editing functionalities. I would appreciate if anyone could provide me with information or a helpful resource on this specific topic; I have read everything about webappbuilder and developer tools, but have never come accross something that combines these two approaches. The developer codes are standalone applications, whereas my 3D editor needs to be within one of our scene viewers, and should refer to the maps and layers within this application. Many thanks in advance.
... View more
02-18-2023
10:39 AM
|
0
|
0
|
536
|
POST
|
It is actually permanent because I exported it to file gdb. I think I am running within arcmap but I would love if I can run it within Pro 2.3, because that is where I built the model but because I cant export to script in Pro 2.3, I had to downgrade it to be able to open and export in arcmap.
... View more
02-10-2020
12:56 PM
|
0
|
9
|
1046
|
POST
|
Hello, are you saying this could be a problem , and might not work in Script but only in model. locationbirdinfo.birdinformation_ART_Bezeichnung but It is important for me to use the joined table. Or are there any other ways to represent joined tables in python script.
... View more
02-10-2020
12:39 PM
|
0
|
11
|
1046
|
POST
|
Yes it is a joined table..it worked will in the model but fail in the Script. I will look at it all over again, remove the space also reset the output and let you know if it worked.
... View more
02-10-2020
03:22 AM
|
0
|
0
|
1046
|
POST
|
Am sorry that does not work. Should I trace the problem of syntax back to my model tool and change the name of the parameters like put underscore in Start Month in my model tools parameter or what other thing could be wrong.
... View more
02-09-2020
11:18 PM
|
0
|
14
|
1473
|
POST
|
Thanks....done that but it got worse, my throwing more errors:
... View more
02-09-2020
04:01 PM
|
0
|
0
|
1473
|
POST
|
sorry, I was quick to copy and send the code, but David Pike made the indentation right..
... View more
02-09-2020
03:13 PM
|
0
|
0
|
1473
|
POST
|
Thanks for the quick response. It worked but syntax error in line 65 0f my code which i don't see what is wrong with it.
... View more
02-09-2020
03:11 PM
|
0
|
0
|
1473
|
POST
|
I built a model tool which is running perfectly. Because I need to add some more functionalities like filtering, which I can only do with the script, I export the model to script and set the filter which is working fine also. However, when I run the script, it failed and send me a message which i will attach. I guess maybe it is from my tools which is make query table or the SQL statements in the tool which consist inline substitution or something else might be wrong. I will post the script error message, the script and the model. Please kindly help ASAP. # -*- coding: utf-8 -*- # --------------------------------------------------------------------------- # single.py # Created on: 2020-02-08 22:31:43.00000 # (generated by ArcGIS/ModelBuilder) # Usage: single <Sitename> <Category> <Specie> <Start_Month> <End_Month> <Start_Year> <End_Year> <QueryTable> <QueryTable_Statistics> # Description: # --------------------------------------------------------------------------- # Import arcpy module import arcpy arcpy.env.workspace = "C:\waterfowl\waterfowl\waterfowl.gdb" arcpy.env.overwriteOutput = True # Script arguments Sitename = arcpy.GetParameterAsText(0) if Sitename == '#' or not Sitename: Sitename = "Abgrabung Malsch/Durmersheim" # provide a default value if unspecified Category = arcpy.GetParameterAsText(1) if Category == '#' or not Category: Category = "Taucher" # provide a default value if unspecified Specie = arcpy.GetParameterAsText(2) if Specie == '#' or not Specie: Specie = "Haubentaucher" # provide a default value if unspecified Start_Month = arcpy.GetParameterAsText(3) if Start_Month == '#' or not Start_Month: Start_Month = "1" # provide a default value if unspecified End_Month = arcpy.GetParameterAsText(4) if End_Month == '#' or not End_Month: End_Month = "3" # provide a default value if unspecified Start_Year = arcpy.GetParameterAsText(5) if Start_Year == '#' or not Start_Year: Start_Year = "1966" # provide a default value if unspecified End_Year = arcpy.GetParameterAsText(6) if End_Year == '#' or not End_Year: End_Year = "2007" # provide a default value if unspecified QueryTable = arcpy.GetParameterAsText(7) if QueryTable == '#' or not QueryTable: QueryTable = "QueryTable" # provide a default value if unspecified QueryTable_Statistics = arcpy.GetParameterAsText(8) if QueryTable_Statistics == '#' or not QueryTable_Statistics: QueryTable_Statistics = "C:\\waterfowl\\Scratch\\scratch.gdb\\QueryTable_Statistics1" # provide a default value if unspecified # Local variables: locationbirdinfo = "locationbirdinfo" False = "true" False__2_ = "true" # Process: Make Query Table arcpy.MakeQueryTable_management ("locationbirdinfo", QueryTable, "USE_KEY_FIELDS", "", "", "locationbirdinfo.locationinfo_wvz_zaehlgebiete_oag_karlsruhe_Sitename = '%Sitename%' And locationbirdinfo.birdinformation_KAT_Bezeichnung = '%Category%' And locationbirdinfo.birdinformation_ART_Bezeichnung = '%Specie%' And locationbirdinfo.birdinformation_Month_ >= %Start Month% And locationbirdinfo.birdinformation_Month_ <= %End Month% And locationbirdinfo.birdinformation_DAT_Datum >= %Start Year% And locationbirdinfo.birdinformation_DAT_Datum <= %End Year%") # Process: Summary Statistics arcpy.Statistics_analysis(QueryTable, QueryTable_Statistics, "locationinfo_wvz_zaehlgebiete_oag_karlsruhe_Sitename MAX;birdinformation_KAT_Bezeichnung MAX;birdinformation_ART_Bezeichnung MAX;birdinformation_Month_ MIN;birdinformation_Month_ MAX;birdinformation_DAT_Datum MIN;birdinformation_DAT_Datum MAX;birdinformation_DAT_Anzahl SUM", "")
... View more
02-09-2020
09:49 AM
|
0
|
43
|
5392
|
POST
|
Thanks for your response..I thought of using numbers but, I don't want users to see numbers but months name. However for setting that range its not what I want to do , i will like the user to select flexibly the range like select from: January to: March.
... View more
02-04-2020
01:18 PM
|
0
|
2
|
686
|
POST
|
I am building a model in ArcGIS pro. I am trying to set range for months value list (January, February, March, April, September, October, November, December) whereby a user can select from , for instance, from January - March, or September - December. I have done it and it is working but the down side of it is, it selects alphabetically i.e if I select from April it will select all values of month from A-S, but if I select from January to April, it returns null because numerically J does not come before A.. how can i solve this to make it select January to April or September to December to return a value. Like how can I set the value to select flexibly not minding the alphabetical order. Thanks
... View more
02-04-2020
12:31 AM
|
0
|
4
|
736
|
POST
|
I think it is working but it selects alphabetically i.e if I select from April it will select all values of month from A-S, but if I select from January to April, it returns null because J does not come before A.. how can i solve this to make it select January to April or September to December to return a value.@Curtis Price .
... View more
02-03-2020
03:23 AM
|
0
|
0
|
1331
|
Title | Kudos | Posted |
---|---|---|
1 | 02-02-2020 11:46 PM | |
1 | 09-13-2018 03:15 AM |
Online Status |
Offline
|
Date Last Visited |
02-21-2023
10:15 PM
|