Creating Sideset with Patch Cylnder

I am using Coreform Cubit Version: 2024.3 on a windows machine

When trying to create a side set with the patch cylinder command I am met with the following:

ERROR: Cylinder not specified correctly in sideset patch command.

the command I am using to produce this error is the following:

sideset 1 surface all patch cylinder direction 0 0 1 location 1 1 0 outer_radius 0.25 inner_radius 0.025

am I incorrectly specifying my axis?

Thanks.

Hello @lpgannon,

the keyword origin is missing before location

reset
create brick x 10
vol 1 size 0.5
mesh vol 1
sideset 1 surface all patch cylinder direction 0 0 1 origin location 0.5 0.5 0 outer_radius 3 inner_radius 2
highlight sideset 1

This solves the Issue, thank you.
I very much appreciate the quick response.