Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

EdmiError edmiDeleteModelContents(SdaiModel model);

<Description>

Arguments


Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

OptionComment

Example


 

 <example>

 

See also

Filter by label

There are no items with the selected labels at this time.


Deletes the content of the specified model, i.e., the actual model will have exactly the same contents after this function is executed as immediately after the model is created by any of the following operations: sdaiCreateModel , sdaiCreateModelBN , edmiCreateModel or edmiCreateModelBN. This function is only applicable to data models. The actual data model must be open for write access before this command can be successfully executed.



TypeNameComment
SdaiModel

model

A numeric modelID that uniquely identifies the data model in the EDMdatabase to delete the contents of. The modelID is returned from the functions: sdaiCreateModel , sdaiCreateModelBN , sdaiOpenModelBN , edmiGetModel , edmiGetModelBN , sdaiGetInstanceModel

  
EdmiError rstat;
SdaiModel model;
...
if (rstat = edmiDeleteModelContents (model)) {
/* Error in operation */ 
printf("\nError in edmiDeleteModelContents: %s\n", 
edmiGetErrorText(rstat)); 
goto error; 
}
. . .

  • No labels