Take a look at this snippet demonstrating getting and setting studs.
'''''''''''''''''' 'How to get studs' '''''''''''''''''' Dim StudArray As RAMDATAACCESSLib.DAArray 'Before calling this method, make sure the beam is a valid composite beam '1 - steel…