# Field3D.find\_path

[![badge](https://img.shields.io/badge/Source%20Code-06D40C?style=plastic)](https://github.com/LorenzoPiu/aPriori/blob/main/src/aPriori/DNS.py#L1723-L1756)

### **Field3D.**<mark style="color:red;">find\_path</mark>(self, attr):

***

### Description

Finds a specified attribute in the attributes list and returns the corresponding element in the paths list.

### Parameters

* `attr` (str): The specific element to find in the first list.

### Returns

* str: The corresponding element in the second list if the specific element is found in the first list.

### Raises

* `TypeError`: If 'attr' is not a string.
* `ValueError`: If the specific element is not found in the attributes list.
