I want to generate grid index feature using multiple layers as a common layer for the input parameter to the grid map. But the map will not use the filtered data in the definition query as input and it will take all data as input so my problem will not getting resolved.
Below is my code for which the issue is exist please let me know where is the issue with my code ?
my_cable_str = str(my_cable)
my_tail_str = str(my_tail)
my_closure_str = str(my_closure)
arcpy.cartography.GridIndexFeatures(grid_new_name, my_closure_str + ";" +my_cable_str +";"+ my_tail_str, "INTERSECTFEATURE",
"NO_USEPAGEUNIT")
