The following tables list the members exposed by CreateDomain.
Public Constructors
Public Properties
| Name | Description |
 | Alias | The alias for this tool's toolbox. |
 | domain_description | The description of the domain that will be created. (In, Required) |
 | domain_name | The name of the domain that will be created. (In, Required) |
 | domain_type | The domain type to create: {CODED | RANGE} (In, Optional) |
 | field_type | The type of attribute domain to create. Attribute domains are rules that describe the legal values of a field type. Specify a field type that matches the data type of the field to which the attribute domain will be assigned. (In, Required) |
 | in_workspace | The geodatabase that will contain the new domain. (In, Required) |
 | merge_policy | The merge policy of the created domain. When two features are merged into a single feature, merge policies control attribute values in the new feature. DEFAULT—The attribute of the resulting feature takes on the default value of the attribute of the given feature class or subtype. This is the only merge policy that applies to non-numeric fields and coded value domains. SUM_VALUES—The attribute of the resulting feature takes on the sum of the values from the original feature's attribute. The sum values policy only applies to range domains. AREA_WEIGHTED—The attribute of the resulting feature is the weighted average of the attribute values of the original features. This average is based on the original feature's geometry. The area weighted policy only applies to range domains. {DEFAULT | SUM_VALUES | AREA_WEIGHTED} (In, Optional) |
 | out_workspace | Output Workspace (out, Optional) |
 | ParameterInfo | The parameters used by this tool. For internal use only. |
 | split_policy | The split policy of the created domain. The behavior of an attribute's values when a feature that is split is controlled by its split policy. DEFAULT—The attributes of the two resulting features take on the default value of the attribute of the given feature class or subtype. DUPLICATE—The attribute of the two resulting features takes on a copy of the original object's attribute value. GEOMETRY_RATIO—The attributes of resulting features are a ratio of the original feature's value. The ratio is based on the proportion into which the original geometry is divided. If the geometry is divided equally, each new feature's attribute gets one-half the value of the original object's attribute. The geometry ratio policy only applies to range domains. {DEFAULT | DUPLICATE | GEOMETRY_RATIO} (In, Optional) |
 | ToolboxDirectory | The directory of this tool's toolbox. |
 | ToolboxName | The name of this tool's toolbox. |
 | ToolName | The name of this tool. |
Top
See Also