You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a function called Receive Script in the Blender connector. But currently it only operates on the received geometry. So all the data contained in the Speckle objects are lost. Considering users can create workflows using that “Data”, 2️⃣ more functions similar to current execute function is needed👇:
execute_for_object(scene, object, base)
With this method, desired operation can be performed after each object is received and base object data will be referenced too.
execute_for_all(scene, objects)
With this method, the desired operation can be performed after all objects are received.
Originally, the script injection operated directly on the base object being received from the stream in order to have access to the full Speckle object and properties. I see now that this is first run through the normal base_to_native conversion, which means the function can therefore only operate on the resulting Blender object, as you describe.
I am not sure about the reason for the change, however perhaps the order of conversion (script injection before native conversion) could be changed to solve this.
Description
There is a function called Receive Script in the Blender connector. But currently it only operates on the received geometry. So all the data contained in the Speckle objects are lost. Considering users can create workflows using that “Data”, 2️⃣ more functions similar to current
execute
function is needed👇:execute_for_object(scene, object, base)
execute_for_all(scene, objects)
Screenshots
@JR-Morgan feel free to add anything you want.
The text was updated successfully, but these errors were encountered: