The function
ProSectionAutodim() is used to automatically add needed dimensions to a section to make it fully constrained. It takes as input a
ProSection handle and a pointer to the opaque structure called
ProWSecerror. Before calling this function, be sure to allocate the pointer to
ProWSecerror using
ProSecerrorAlloc(). Any errors resulting from the call to the function
ProSectionAutodim() are stored in the
ProWSecerror structure. To free the allocated memory, call the function
ProSecerrorFree().
The
ProSectionAutodim() function can be used on a section where no dimensions have been created yet, as well as on a partially dimensioned section.
If dimensions have been added successfully, the function
ProSectionAutodim() also solves the input section.