Export User Defined Attributes to CSV

attributes
#1

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:
Ekran%20Al%C4%B1nt%C4%B1s%C4%B101
Ekran%20Al%C4%B1nt%C4%B1s%C4%B103
And here is how I would want it to sort the information:
Ekran%20Al%C4%B1nt%C4%B1s%C4%B102

0 Likes

(Pascal Golay) #2

Hello - use Attribute keys, not Object keys, in the export settings.

-Pascal

0 Likes

#3

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.

0 Likes

(Pascal Golay) #4

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

0 Likes

#5

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.

0 Likes

(Pascal Golay) #6

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

1 Like

#7

Found a plug-in that does exactly what I want:

0 Likes