Perhaps I'm missing something obvious, but there doesn't appear to be anything in the API that can be used to easily see if a property is a list or scalar property. The best I can figure is to try reading a property as a scalar, then if it fails try to read it as a list and see if that works. Without parsing the error message, then, I have to try reading an int32, a uint32, and a double before trying the same as lists.
(Trying to read a list property as a scalar also results in an error message like
PLY parser: property values cannot be coerced to requested type double. Has type double
which should probably be changed to something more sensible.)
Perhaps I'm missing something obvious, but there doesn't appear to be anything in the API that can be used to easily see if a property is a list or scalar property. The best I can figure is to try reading a property as a scalar, then if it fails try to read it as a list and see if that works. Without parsing the error message, then, I have to try reading an int32, a uint32, and a double before trying the same as lists.
(Trying to read a list property as a scalar also results in an error message like
which should probably be changed to something more sensible.)