POST
|
Can I use ArcPy or SDK to encrypt embedded scripting tools? I have more scripting tools to encrypt, but did not find a way to batch operation. Thank you in advance. 我能使用ArcPy或者SDK加密嵌入式脚本工具吗?因为我有比较多的脚本工具需要加密,但是没有找到批量操作的办法。 先谢过哈。
... View more
02-17-2024
07:06 PM
|
0
|
0
|
195
|
POST
|
我有一个包含很多工具的工具箱,他们的脚本都在外部,我想把这些工具的代码嵌入,但是我不想一个个地打开工具的属性来操作。ArcPy可以批量嵌入多个脚本工具的代码吗? I have a toolbox of tools whose scripts are external, and I want to embed the code for these tools, but I don't want to open the properties of the tools to manipulate them one by one. Can ArcPy embed code from multiple scripting tools in batches? Thanks in advance.
... View more
02-12-2024
06:04 AM
|
0
|
0
|
176
|
POST
|
I agree, but I may not have a layer to copy its definition. I've solved this problem for now by adding some properties to the definition. Thanks for your reply.
... View more
11-04-2023
06:01 AM
|
0
|
0
|
293
|
POST
|
I use "arcpy. Cim. CIMSymbols. CIMCompositeCallout ()" creates a CIMCompositeCallout object, but it is missing a lot of properties, I want to create a CIMCompositeCallout object with full properties from a relevant JSON string and assign it to a layer. Is there a way? I know one function is GetJSONForCIMObject, and I just want to know how to implement it in reverse. Thank you in advance.
... View more
10-29-2023
07:59 AM
|
0
|
2
|
449
|
POST
|
Thank you very much. Your answer has solved my question perfectly.
... View more
03-06-2023
05:09 PM
|
0
|
0
|
424
|
POST
|
I tried to add in this location, but was unsuccessful.
... View more
03-05-2023
09:57 PM
|
0
|
0
|
560
|
POST
|
I want to add a button to the data group in the right-click menu, but I can't find the place to add it in DAML. Can someone tell me where this seat is, please?
... View more
03-05-2023
09:55 PM
|
0
|
3
|
563
|
POST
|
This can be frustrating. It will take a lot of time if there are a lot of symbols to update. Thank you
... View more
12-13-2022
06:23 PM
|
0
|
0
|
284
|
POST
|
我尝试使用SDK修改特定样式的符号属性,但是我只能一次更新一个样式符号。有没有办法在全部修改完成后一次性更新样式里的所有符号? I tried using the SDK to modify the symbol properties of a particular style, but I can only update style symbols one at a time. PolygonSymbol = style.SearchSymbols(StyleItemType.PolygonSymbol, "");
foreach (SymbolStyleItem pSymbol in PolygonSymbol)
{
var attValue1 = pSymbol.GetType().GetProperty(att1).GetValue(pSymbol, null);
var attValue2 = pSymbol.GetType().GetProperty(att2).GetValue(pSymbol, null);
pSymbol.GetType().GetProperty(att1).SetValue(pSymbol, attValue2);
pSymbol.GetType().GetProperty(att2).SetValue(pSymbol, attValue1);
style.UpdateItem(pSymbol);
} Is there a way to update all the symbols in a style once ?
... View more
12-12-2022
07:25 PM
|
0
|
2
|
325
|
POST
|
I need a special unit of area, but this unit is not in the built-in list of Pro. How can I increase this unit of area and use it when measuring feature?
... View more
09-03-2022
06:06 AM
|
0
|
0
|
189
|
POST
|
I've found out why. When the second function passes in the network analysis layer "路径", the program recognizes a sublayer of the network analysis layer that is also named "路径".
... View more
05-07-2022
05:14 AM
|
0
|
0
|
397
|
POST
|
I am creating a Python script to work with ArcGIS Pro. When I used the AddLocations and Solve functions in the NA module continuously, I found that only the former function worked and the latter function ran with an ERROR (ERROR 000840: this value is not a network analysis layer). The same thing happens when I change the order of AddLocations and Solve. In the image above, the Solve function works, but the AddLocations function fails. In addition, I found that this code runs correctly in Pro's native Python window, but fails when it is made into a geoprocessing tool. Can any master please tell me why?
... View more
05-07-2022
01:52 AM
|
1
|
1
|
449
|
POST
|
Credit are adequate. I tried again after logging in, but failed again. Thank you for your help. I need to find out the reason again.
... View more
01-12-2022
03:35 AM
|
0
|
2
|
679
|
Title | Kudos | Posted |
---|---|---|
1 | 12-04-2021 07:40 PM | |
1 | 05-07-2022 01:52 AM | |
1 | 12-05-2021 06:01 PM | |
1 | 12-26-2020 06:46 PM | |
1 | 04-22-2020 07:33 AM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|