readBinaryFile(file_path)
→ bytes
Only available in Python 3.
Opdef paths can be specified with the string opdef:/node?section
(e.g. opdef:/Object/subnet1?my_section
). Oplib paths can be specified with
oplib:/operator?operator
(e.g. oplib:/Cop2/grain?Cop2/grain
).
If the file does not exist or an error occurs while reading, this function raises hou.OperationFailed.