0
$\begingroup$

I try to get my name object from Object struct, but it seem that name doesn't exist in this struct. Where is name of Object. ?

Thanks a lot.

$\endgroup$
2
  • $\begingroup$ In file "object.h" file, the Object class has a public property called "name". It may be what you want ? $\endgroup$ Commented Aug 30, 2017 at 15:37
  • $\begingroup$ Humm, i think not. Actually if i create an object type Object : Object *obj; Object come from DNA_object_type.h who doesn't have name. Maybe i do it wrong. $\endgroup$ Commented Aug 30, 2017 at 15:47

1 Answer 1

1
$\begingroup$

Ok, After some dumb research, I find ID property who hold basic property like name.

Object *obj;
printf("%s", obj.ID.name);
$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .