Set metadata value of Area for surfaces and isolate surfaces area dependent

Sebastian_Karp
Sebastian_Karp
Altair Employee
edited December 2023 in Altair Exchange

Overview

This script will set a metadata value for selected surfaces, using it's area value. Then it isolates those surfaces with specific user selected area value.

Usage/Installation Instructions

Run script e.g. from DropDown  File > Load > Script

 

Select surfaces to check and assign area metadata:

image

 

Enter area target value:

image

 

Enter delta value:

image

 

 

The selected surfaces get metadata assigned ("Area") and are checked

area-of-surf  <>  area target value +/- delta

 

If area value fits equation, then these surfaces get isolated in the display:

image

 

See the metada assigned from the Entity Editor:

image