What’s the best way to export user assigned custom attributes of multiple objects to a csv file? Object properties export works fine until I add user text in the options.
Here is the output:
And here is how I would want it to sort the information:
Hello - use Attribute keys, not Object keys, in the export settings.
-Pascal
Thanks Pascal but I don’t get the assigned values in this way and it is still a similar output with multiple lines for each object.
Oh, I see what you mean - I think you’ll need a custom script for that. Let me think on it…
@cyzc - See how this works for a start - CustomCSVExport.py (1.1 KB)
To use the Python script use RunPythonScript
, or a macro:
_-RunPythonScript "Full path to py file inside double-quotes"
-Pascal
Many thanks Pascal! Yes that works. I guess it’s only for preset attribute names embedded in the code so I will have to edit the script each time I have attributes with different names.
Hello - I can put some options in there so you can fill in what you care about. I’ll look at it more tomorrow.
Oh, I see I’m off the hook.
-Pascal
Found a plug-in that does exactly what I want:
how did you use elefront in order to get csv export like you wanted?
Used the Elefront Properties Tab in Rhino. It’s pretty straightforward.