POST
|
Hi Dan, Yes, I restarted Pro and my computer. No luck
... View more
07-02-2020
01:46 PM
|
0
|
3
|
1918
|
POST
|
I am trying to merge two multipatches in the same layer into one. I have done this about 20 times successfully in the same project and on the same layer. When I get to the last two it gives me a message: "Merge Features Failed." No other information on why am I getting this message. Again, I have done this successfully on the same layer with no problems. Why, all of the sudden, does this occur?
... View more
07-02-2020
01:10 PM
|
0
|
6
|
2061
|
POST
|
Figured it out: var output = $feature["ADDRESS_1"] + " (" + Text($feature["SQUARE_FEET_1"], '#,###') + " RSF)" + TextFormatting.NewLine if (!IsEmpty($feature["ADDRESS_2"])){ output += $feature["ADDRESS_2"] + " (" + Text($feature["SQUARE_FEET_2"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_3"])){ output += $feature["ADDRESS_3"] +- " (" + Text($feature["SQUARE_FEET_3"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_4"])){ output += $feature["ADDRESS_4"] +- " (" + Text($feature["SQUARE_FEET_4"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_5"])){ output += $feature["ADDRESS_5"] +- " (" + Text($feature["SQUARE_FEET_5"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_6"])){ output += $feature["ADDRESS_6"] +- " (" + Text($feature["SQUARE_FEET_6"], '#,###') + " RSF)" + TextFormatting.NewLine } return output
... View more
07-02-2020
12:24 PM
|
0
|
0
|
447
|
POST
|
Yes this worked! Thank you. However, this RSF value is missing from the expression and the pop up
... View more
07-02-2020
12:15 PM
|
0
|
1
|
447
|
POST
|
Sure. See below. That is for the Addresses. Screenshot of data from Pro. var output = $feature["ADDRESS_1"] + " (" + Text($feature["SQUARE_FEET_1"], '#,###') + " RSF)" + TextFormatting.NewLine if (!IsEmpty($feature["ADDRESS_2"])){ output += $feature["ADDRESS_2"] + " (" + Text($feature["SQUARE_FEET_2"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_3"])){ output += $feature["ADDRESS_3"] + " (" + Text($feature["SQUARE_FEET_3"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_4"])){ output += $feature["ADDRESS_4"] + " (" + Text($feature["SQUARE_FEET_4"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_5"])){ output += $feature["ADDRESS_5"] + " (" + Text($feature["SQUARE_FEET_5"], '#,###') + " RSF)" + TextFormatting.NewLine } if (!IsEmpty($feature["ADDRESS_6"])){ output += $feature["ADDRESS_6"] + " (" + Text($feature["SQUARE_FEET_6"], '#,###') + " RSF)" + TextFormatting.NewLine } return output
... View more
07-02-2020
09:01 AM
|
0
|
3
|
1795
|
POST
|
I didn't have a return statement. Sorry, I am very new to this. Just tried with a return statement and am getting same result that I had originally (see screenshot). And yes, the other pieces in the pop up are from separate expressions.
... View more
07-02-2020
08:27 AM
|
0
|
5
|
1795
|
POST
|
Line 2 and 5 above were missing a "$" sign. I put that in there and received no error messages. However, now it returns blanks for all addresses
... View more
07-02-2020
08:10 AM
|
0
|
7
|
1795
|
POST
|
Still no luck. Getting this error now: Execution Error:Runtime Error: Cannot call member property on object of this type.
... View more
07-02-2020
08:02 AM
|
0
|
8
|
1795
|
POST
|
Thanks Ken. Some companies have multiple addresses and some do not. They are all part of the same feature layer. Just tried your suggestion and got: Parse Error:Line 2: Unexpected token {
... View more
07-02-2020
07:49 AM
|
0
|
10
|
1795
|
POST
|
New to Arcade and have been exploring it for the last week or so. I have run into an issue with a pop-up. I am mapping the locations of numerous companies. Some have one location, others have up to six locations. I am writing an expression that will list the locations and their corresponding square footage. So, a company with just one location will have just one line with their address and SF, companies with two locations will have 2 lines (one line for each location), etc. This is what I have so far: $feature["ADDRESS_1"] + " (" + Text($feature["SQUARE_FEET_1"], '#,###') + " RSF)" + TextFormatting.NewLine + $feature["ADDRESS_2"] + " (" + Text($feature["SQUARE_FEET_2"], '#,###') + " RSF)" + TextFormatting.NewLine + $feature["ADDRESS_3"] + " (" + Text($feature["SQUARE_FEET_3"], '#,###') + " RSF)" + TextFormatting.NewLine + $feature["ADDRESS_4"] + " (" + Text($feature["SQUARE_FEET_4"], '#,###') + " RSF)" + TextFormatting.NewLine + $feature["ADDRESS_5"] + " (" + Text($feature["SQUARE_FEET_5"], '#,###') + " RSF)" + TextFormatting.NewLine + $feature["ADDRESS_6"] + " (" + Text($feature["SQUARE_FEET_6"], '#,###') + " RSF)" + TextFormatting.NewLine I cannot figure out how to have the pop up display ONLY the lines with their locations. I tried messing around with the DefaultValue function but that didn't give me the result I needed. I have attached a jpeg with current and desired pop-up appearance. Thanks
... View more
07-02-2020
06:44 AM
|
0
|
12
|
2389
|
POST
|
I am just starting to play around with Arcade Expressions and am having some issues using an expression to symbolize a multipatch layer. The layer is building floor numbers (e.g., 1,2,3,4,5,6….) and is a numeric field in Pro. I am using this expression and it works for only 1 floor: if ($feature.FLR_NUM == 20) return true However, I can’t figure it out the correct expression for multiple floors (e.g., I want only floor numbers 10, 13, 20, and 23 to be a color). I am getting error messages (close parenthesis expected). Or “requested operation could not be completed” even though the expression is valid. Any help would be greatly appreciated. Thanks
... View more
06-30-2020
06:05 AM
|
0
|
2
|
2093
|
POST
|
Thanks Kory. I was pretty sure ArcPy could do this. Unfortunately, I'm not a coder so was hoping someone had something they had written already as a starting point. I'll look it some more though.
... View more
06-24-2020
03:45 PM
|
1
|
0
|
465
|
POST
|
It is not in the attribute table. The layer is colored through Symbology
... View more
06-23-2020
03:09 PM
|
1
|
0
|
465
|
POST
|
Is there a tool in Pro or a script that I can run that would search all layers (multipatches) in my project and replace one color for another? It would just be swapping out one set of RGB values (or Hex) for another set. The feature class layers in my project each have their own unique symbology so a batch “Apply Symbology from Layer” won’t work Thanks!
... View more
06-23-2020
02:06 PM
|
0
|
4
|
521
|
Title | Kudos | Posted |
---|---|---|
1 | 08-10-2021 07:30 PM | |
1 | 07-02-2021 09:23 AM | |
1 | 07-16-2018 04:56 PM | |
1 | 08-10-2018 07:20 AM | |
3 | 07-07-2021 09:19 AM |
Online Status |
Offline
|
Date Last Visited |
08-10-2021
09:16 PM
|