Skip to main content
Question

OBJ Writer: writing trait "obj_group"

  • June 28, 2019
  • 3 replies
  • 47 views

Hello,

I'm trying to write an OBJ file with groups. Is it possible to do that? I tried creating an attribute obj_group and then use GeometryPropertySetter with Traits from Attributes. I also tried to Aggregate objects into groups but nothing works so far...

I've enclosed and example.

Thanks, Stéphane

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • October 22, 2019

Hi @inspecteurgadge Like this?

You just need to set properties first, and THEN aggregate. The


  • Author
  • October 22, 2019

Hi @sigtill thanks for your help! The problem is not in the Workbench, the problem is with the OBJ File Writer. I can see the trait in the Inspector like you but if you open the resulting OBJ file with a text editor, you can see that the groups are not written there.


sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • October 22, 2019

Hi @sigtill thanks for your help! The problem is not in the Workbench, the problem is with the OBJ File Writer. I can see the trait in the Inspector like you but if you open the resulting OBJ file with a text editor, you can see that the groups are not written there.

Ah, I understand. By looking at the documentation (also for FME2020) it seems its not possible. Best is to add this as a new idea here: https://knowledge.safe.com/content/idea/post.html?space=155 - or use another format that supports attributes. Which software do you want to read the obj file with?