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.

  • $\begingroup$ In file "object.h" file, the Object class has a public property called "name". It may be what you want ? $\endgroup$ Aug 30 '17 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$ Aug 30 '17 at 15:47

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.