I have the following code that works fine. However when I open in ArcGIS Pro 3.0 the polylines do not show up until I set the map properties to match the shapefile.
spatialRef = arcpy.SpatialReference(4326)
#Create the shapefile
arcpy.management.CreateFeatureclass(workSpace, polylineFC, geometryType, template, has_m, has_z, spatialRef)
Once I set the coordinate system in the map properties, it works fine. Is there something I'm not doing in the script?