After attempting to debug my script I found that is not available.
Please update the documentation to reflect this and possible make note in the earlier versions that is no longer available.
They are only for vision projects, not perspective. The documentation notes this correctly as it is vision scoped. You can access it in the script console because a project can contain both the vision and perspective resources. Phil beat me to it