Initializing help system before first use

XPRMfindattrdesc

XPRMfindattrdesc


Purpose
Find an attribute descriptor from its name.
Synopsis
XPRMattrdesc XPRMfindattrdesc(XPRMmodel model, int type, const char **name, int *atype);
Arguments
model 
Reference to a model
type 
Type number for the attribute
name 
Name of the attribute
Return value
Reference pointer to an attribute descriptor or NULL if no corresponding function could be found.
Further information
The attribute att of an entity of type T is obtained by calling the function get att returning an integer, a string, a real or a Boolean and taking as its only argument an entity of type T. This routine returns a descriptor of such a function that can be used with XPRMgetattr in order to retrieve the corresponding attribute of an entity of the corresponding type.
Related topics