ID 497944 - The hiero.core.events.postEvent() function exists in Nuke Python documentation but not the Nuke Studio/Hiero software.

Follow

Problem summary
The hiero.core.events.postEvent() function exists in Nuke Python documentation but not the Nuke Studio/Hiero software.

Customer reported version
hiero.12.2v1

Customer reported platform
centos7

Steps to reproduce
1) In a web browser, goto this link: https://learn.foundry.com/nuke/developers/13.1/HieroPythonDevGuide/events.html#triggering-custom-events
2) In Nuke Studio/Hiero, open the Script Editor.
3) Run the following snippet: 

from hiero.core import eventsevents.postEvent(EventType.kNewEventName, None)

Expected behavior
The function should return proper elements, such as an error for missing data for the function: "name 'EventType' is not defined"

Actual behavior
An error occurs for the function no longer existing: "AttributeError: 'module' object has no attribute 'postEvent'"

Workaround
There is no available workaround at this time.

Reproduced by Support in:
Nuke Studio/Hiero 13.1v1 - Windows 10, CentOS 7
Nuke Studio/Hiero 13.0v1 - Windows 10
Nuke Studio/Hiero 12.2v1 - Windows 10, CentOS 7

Unable to reproduce bug in:
Nuke Studio/Hiero 12.1v5 - Windows 10, CentOS 7

Earliest version tested
Nuke Studio/Hiero 12.1v5 - This issue doesn't appear in this version and has regressed

    We're sorry to hear that

    Please tell us why