> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FieldDefinition

### *class* compolyx.FieldDefinition(graph, obj, parent=None)

Class to represent field definition.

### Attributes

| Name | Description |
| - | - |
| [`FieldDefinition.active`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.active) | Field Definition is active |
| [`FieldDefinition.enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.enabled) | Whether this object is currently enabled or not |
| [`FieldDefinition.field_variable_name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.field_variable_name) | The name of the field variable defined |
| [`FieldDefinition.full_mapping`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.full_mapping) | Whether the field is interpolated to the shell reference surface or to the actual ply-position by taking into account the shell offset; in solid models the interpolation takes always place at the actual ply position |
| [`FieldDefinition.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.id) | ID of object |
| [`FieldDefinition.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.is_dict_item) | Specifies wether the object is an item of a dict |
| [`FieldDefinition.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.is_list_item) | Specifies wether the object is an item of a list |
| [`FieldDefinition.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.link_path) | Root path of the current node in the tree for links to this object |
| [`FieldDefinition.locked`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.locked) | Returns the locked status of the Field Definition |
| [`FieldDefinition.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.name) | Name of object |
| [`FieldDefinition.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.parent) | Parent object in tree |
| [`FieldDefinition.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.root_path) | Root path of the current node in the tree |
| [`FieldDefinition.scalar_field`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.scalar_field) | Look-up table column used with this field definition |
| [`FieldDefinition.scope_entities`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.scope_entities) | The entities defining the scope of the field definition |
| [`FieldDefinition.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.status) | Status of the object |
| [`FieldDefinition.status_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.status_changed) | Boolean flag which is set to true in C++ when up-to-date status of object changes |
| [`FieldDefinition.uid`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.uid) | UID of object |
| [`FieldDefinition.vertex`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.vertex) | Throws an error if the object has been removed from the graph |

### Methods

| Name | Description |
| - | - |
| [`FieldDefinition.clear_field_definition`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.clear_field_definition)() | |
| [`FieldDefinition.clear_scope_entities`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.clear_scope_entities)() | |
| [`FieldDefinition.find_parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.find_parent)(type) | Steps up the tree and returns the first parent with given type |
| [`FieldDefinition.get_short_description`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.get_short_description)() | |
| [`FieldDefinition.obj_exists`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.obj_exists)() | Checks if \_\_obj still references the C++ object (i.e. has not been reset to None by self.\_delete) and exists in the graph |
| [`FieldDefinition.serialize`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.serialize)() | Serialize to Python string |
| [`FieldDefinition.serialize_name_and_id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.serialize_name_and_id)() | Helper function to serialize name and ID |
| [`FieldDefinition.update`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.update)() | |
| [`FieldDefinition.visit`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.FieldDefinition.visit)(visitor) | Walk through the tree and let the visitor perform action on every descendant node |
