PK_ERROR_code_t PK_ENTITY_may_own_attdef ( --- received arguments --- PK_ENTITY_t entity, --- entity PK_ATTDEF_t attdef, --- attribute definition --- returned arguments --- PK_LOGICAL_t *const whether ) This function returns PK_LOGICAL_true if an attribute constructed from the given attribute definition could be attached to the given entity, otherwise PK_LOGICAL_false. Note that the test is on the object, not on its class, so, for example, orphan geometry may become eligible after attachment to a part.