How can I have the output layer from my makefeaturelayer tool get deleted?
Now when I am using arcpy, it looks like I need to close the idle window and open again in order to get the in-memory output layer to get deleted. How could I have the output layer from my makefeaturelayer tool get deleted in a try/except block?
Which is not valid input for feature layer?
Complex feature classes, such as annotation and dimensions, are not valid inputs to this tool. The name of the feature layer to be created. The newly created layer can be used as input to any geoprocessing tool that accepts a feature layer as input. An SQL expression used to select a subset of features.
How does make feature layer work in ArcGIS Pro?
However, if the layer created by Make Feature Layer (in a model) is saved as permanent data (feature class or shapefile), and that permanent data is returned to the map as an output parameter, the label properties from the layer file are correctly applied. The input feature class or layer from which to make the new layer.
How to make a field unavailable in a new layer?
A subset of fields can be made unavailable in the new layer by using the Field Info control’s visible property. The third column in the control provides a dropdown option to specify whether a field will be visible or hidden in the new layer. The default is TRUE. Selecting FALSE will hide that field.
What happens to the temporary feature layer created in ArcGIS?
The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved. The temporary feature layer can be saved as a layer file using the Save To Layer File tool or can be saved as a new feature class using the Copy Features tool.
What’s the name of the new feature layer?
The input feature class or layer from which to make the new layer. Complex feature classes, such as annotation and dimensions, are not valid inputs to this tool. The name of the feature layer to be created.
Which is in memory workspace does ArcGIS use?
ArcGIS provides an in-memory workspace where output feature classes and tables can be written. Writing geoprocessing output to the in-memory workspace is an alternative to writing output to a location on disk or a network location.
How is a feature layer created in ArcGIS?
Creates a feature layer from an input feature class or layer file. The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved.