You can use Fologram to stream data from your mixed reality device directly to Grasshopper to use as an input to parametric models.
Fologram works with a Get and Deconstruct pattern for retrieving and working with data coming from mixed reality devices. Get components will automatically expire when a specified event occurs.
Filtering by triggering objects
You can right click the component to optionally filter the data that is returned by the Get components to include all tracked XR objects of the component type (Devices, Pointers, Hands etc) or only the object that triggered the event.