Hi Folks,
I am trying to export the model along with the object attributes that are associated.
I can achieve this when I export it to scene layer package because it allows me to export the Attribute metadata along with my model.
But while exporting it to fbx format, I couldn't able to achieve it. I googled it and i found a thread related to my issue and I came to know that we need to write python script. I couldn't able to understand what they are saying in that thread because I have 0 knowledge in programming (Don't know CGA also).
Ill attach my snips, please help me with this to write a code for this or help me to export the attribute data somehow.
I am new to city engine.
Thanks in advance.
Solved! Go to Solution.
Hello @Solairajap
How-to-export object attributes is a quite common question. The community thread
Using Python to create an object attribute from a ... - Esri Community will hopefully help you.
Hello @Solairajap
Thank you for your question. FBX does not support object attributes. Therefore, you need to write out the object attributes to a separate file. Tutorial 12 describes shows how to use CGA report variables in combination with the Python-based exporter. It also works for Object attributes.
Tutorial 12: Scripted report export—ArcGIS CityEngine Resources | Documentation
Hi Thomas ,
Thanks for the reply.I went through this thread already.Its little hard for me to break it down. Can you please give me example script exporting the object attributes. So i can follow it up.
Thanks in advance.
Hello @Solairajap
How-to-export object attributes is a quite common question. The community thread
Using Python to create an object attribute from a ... - Esri Community will hopefully help you.