I’m trying to limit my use of JSON for round trips between Houdini > UE > Houdini.
I’ve validated the Datatable output, which will allow me to work in 90% of my cases, so that's great.
My issue: I can’t write to an existing Datatable.
My test prototype: a struct called "primitive_attributes", and a datatable called "primitives_data".
If I don’t specify a Datatable object and just provide a path, it works fine, but I don’t have control over the name of the datatable (s@unreal_object_name doesn’t work).
If I try to use an existing object, the engine tries to create a Datatable in a directory that doesn’t exist (screenshot of the error attached).
// Example of ID for each point int id = i@id; // Define the structure of the DataTable row s@unreal_data_table_rowstruct = "/Script/Engine.UserDefinedStruct'/vincent_sandbox/datatable_tests/primitive_attributes.primitive_attributes'"; // Format the ID as a string for the DataTable row name s@unreal_data_table_rowname = sprintf("%d", id); // Specify the DataTable path s@unreal_object_path = "/Script/Engine.DataTable'/vincent_sandbox/datatable_tests/primitives_data.primitives_data'"; // Desired location without the .osm_data suffix // Specify the name of the DataTable // s@unreal_object_name = "osm_data"; // Never works.
I've tried manipulating the path to point to the correct location, but when I get it right, it still tries to create a DataTable with an uncontrolled name.
I’m in a Point Wrangler, I tried using primitive, but nothing happens. (The documentation doesn't specify the type to use)
What am I missing?
Doc : https://www.sidefx.com/docs/houdini/unreal/outputs.html [www.sidefx.com]