Usage ¶
saveGeoToFile(session
: hapi.Session, node_id
: int
, file_name
: str
) → bool
Saves a geometry to file. The type of file to save is to be determined by the extension ie. .bgeo, .obj
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
node_id
The node id.
file_name
The name of the file to be saved. The extension of the file determines its type.