Perhaps you can help me with this one. I am trying to retrieve the userdata stored in a geometry of an object after loading a file with the 3dmloader. When I log the object to the console I can see the userStringCount: 2 but I don’t see any property containing the userstring itself:
@dale I believe at this point the geometries have been converted to three.js objects by the 3dmloader. Is this property transferred from ‘CommonObject’ to the three.js objects by the loader? and if so, how to get ahold of it?
@fraguada indeed I’m able to get ahold of the geometry userstrings by copying them to the object attribute’ s userstring, but I cannot acces the geometry userstrings directly from a gh definition as I think I should be able to, if that makes sanse.
Here is a sample that showcases the issue if it´s any help. userstrings.zip (16.9 KB)
I think you are still using the 3dmLoader from threejs r124 and there were updates to the userString stuff after that. Update your threejs version (currently at 137) and I think it will fix this issue.