This macro retrieves the nodes from 1D mesh which are not shared with 2D mesh:
Load script from File -> Load -> Script
Or by using Extensions
Share your models, scripts, workspaces, and more with the Altair Community.