I'm trying to pattern a feature around an axis?? I am also wondering how to write degrees.

How do I pattern a feature. I'm trying to put a value in a txtbox and have it translate the instances of patterns I want. I have an axis called "Centerline Axis" in my model. I want to pattern a specific feature around this axis.  I'm also trying to call out a sketch angle from a txtbox. What does the code look like and does it use radians or degrees? I am hoping I can just fill the angle I normally would with the sketch that created the feature.

SolidworksApi macros