Find nodes by distance to line

Sebastian_Karp
Sebastian_Karp
Altair Employee
edited December 2023 in Altair Exchange

Overview

This script finds all nodes in a user-defined distance to selected geometric lines, and creates separate sets for them.

Current version defined for Solver profiles OptiStruct, Radioss, Radioss-incremental / HyperForm.

For Radioss-incremental / HyperForm constraints will be created at nodes instead of sets.

The script uses temporary geometric solid creation in the background for subsequent node search.

Pre-Requisite

Model needs geometric lines for selection and structural mesh with nodes to be found by distance.

Usage/Installation Instructions

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

 

Select lines:

image

 

Enter search radius:

image

 

Sets are created with found nodes:

image