Return the columns collection.
GetColumns()
the columns collection
EX1
import PyOrigin wks=PyOrigin.ActiveLayer() print(wks.GetColumns().GetCount())