Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
EdmiError edmiDeleteModelContents(SdaiModel model);

<Description>

Arguments

Return Value

...

Options

 

OptionComment

Example

 

Code Block
languagecpp
 <example>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"

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.

Arguments

...

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

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 
EdmiError

Code Block
languagecpp
 EdmiError rstat;

...


 SdaiModel model;

...


 ...

...


 if (rstat = edmiDeleteModelContents (model)) {

...


 /* Error in operation */

...

 
 printf("\nError in edmiDeleteModelContents: %s\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 . . .

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"