Extract links with python

Just wondering if it is possible to extract links with python.
I am dealing with geometry with alot of moving parts so I was trying to find a way to automate the process of extracting the links.

Example in my geometry the clamps are named Clamp_xxx

So ideally i would like to make a scrip that loops through all the features in a component and when ever it finds one with the name Clamp it will extract it as a link. I did not find anything in the documentation.

for python at least. is this possible with python. sounds like it might be possible with .net but I am not very familiar with .net programing

Without looking at the documentation I would guess there is no extractLink() method or such. You would probably need to create a new vcNode, and then select what geometry features you want to move to that node.