how to model a sprocket using solidworks
why not try to use the toolbox content ? Open a new assembly document, open / activate toolbox and look for this type of part by browsing folders. Insert the part into assembly, adjust parameters (theets number ...), validate and save document as a part file (.sldprt) = it's done.
Hope this will match your request.