Turn off default functionality in Script Tool

163
0
03-25-2024 07:18 AM
Labels (1)
Matthew_Muehlhauser
New Contributor III

I have a simple toolbox script tool that I created to transfer label classes from one layer to another layer. This tool has two input parameters, source and destination, with the Data Type set to "Layer".

When you drag a layer to the tool, by default, the tool looks at the layer and determines that there's a filter on the layer to give you a message that says how many records are going to be processed. In my case, I don't care how many records are going to be processed because I'm not touching the data, however; this is for a very large feature with a lot of records, so it takes a long time to produce these messages that I don't really care about since I'm only touching the layers at the CIM level.

Is there a way to prevent the tool from running this default analysis?

0 Kudos
0 Replies