bool CloseDimSelectionSchema(OdId tOb)
tOb. Opened selection schema instance moniker.
The CloseDimSelectionSchema operation closes selection schema instance.
To execute the operation, in the tOb field specify moniker of the selection schema instance to be closed. The operation results in the logical True if the object was closed successfully.
Below is the example of closing dictionary selection schema instance. The request contains the selection schema moniker. The response contains whether closing was successful.
{
"CloseDimSelectionSchema" :
{
"tOb" :
{
"id" : "S1!M!S!DSS1"
}
}
}
{
"CloseDimSelectionSchemaResult" : "1"
}
public static bool CloseSelectionSchema(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseDimSelectionSchema()
{
tOb = new OdId() { id = moniker },
};
//Close selection schema
var result = somClient.CloseDimSelectionSchema(tClose);
return result;
}
See also: