Summary
Creates an empty feature class in a database or enterprise geodatabase. The feature class is not registered with the geodatabase.
Usage
This tool creates only simple feature classes such as point, multipoint, polygon, and polyline.
An empty feature class created by this tool will either have a field named OBJECTID of type integer or contain the same field names and types of any selected input template feature class.
Syntax
CreateUnRegisteredFeatureclass(out_path, out_name, {geometry_type}, {template}, {has_m}, {has_z}, {spatial_reference}, {config_keyword})
Parameter | Explanation | Data Type |
out_path | The enterprise geodatabase or database in which the output feature class will be created. | Workspace; Feature Dataset |
out_name | The name of the feature class to be created. | String |
geometry_type (Optional) | Specifies the geometry type of the feature class. This parameter is only relevant for those geometry types that store dimensionality metadata, such as ST_Geometry in PostgreSQL, PostGIS Geometry, and Oracle SDO_Geometry.
| String |
template [template,...] (Optional) | An existing feature class or list of feature classes with fields and attribute schema used to defined the fields in the output feature class. | Feature Layer |
has_m (Optional) | Determines if the output feature class contains linear measurement values (M-values).
| String |
has_z (Optional) | Determines if the output feature class contains elevation values (Z-values).
| String |
spatial_reference (Optional) |
The spatial reference of the output feature dataset. You can specify the spatial reference in the following ways:
| Spatial Reference |
config_keyword (Optional) | Specifies the default storage parameters (configurations) for geodatabases in a relational database management system (RDBMS). This setting is applicable only when using enterprise geodatabase tables. Configuration keywords are set by the database administrator. | String |
Derived Output
Name | Explanation | Data Type |
out_feature_class | The output unregistered feature class. | Feature Class |
Code sample
The following Python window script demonstrates how to use the CreateUnRegisteredFeatureclass function in immediate mode.
import arcpy
arcpy.CreateUnRegisteredFeatureclass_management(
r'Database Connections\Connection to Organization.sde', "New_FC", "POINT",
"", "DISABLED", "DISABLED")
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes