    

 ## On this page

  

 

 # find\_parent

 Last update: 16.07.2025 

<a id="compolyx.ElementSelectionRule.find_parent"></a>

#### ElementSelectionRule.find\_parent(type)

Function steps up the tree and returns the first parent with given type. If object has no parent of this type, the function returns None.