I think the way to do it is creating a normal camera and then adding a Redshift Camera Tag there.
Hi! always look at the python console to see where its pointing the error. if your code isnt correct it should print something
here the fixed code.
please compare them.
from c4d import gui
# Main function
c4d.CallCommand(12139) # Points
c4d.CallCommand(200000084) # Rectangle Selection
tool()[c4d.MDATA_SELECTION_TOLERANCE] = True
tool()[c4d.MDATA_SELECTION_VISIBLE] = False
# Execute main()