How to assign all atoms of CNT to a set in CNT/polymer nanocomposites using perl script in Material Studio?

Dear all,

I need to define a set consisting only CNT atoms in Material Studio 18? Then, I want to move the specified set to a distance & want to calculate the Potential Energy with respect to pull out distance. Any help…