remove

fun remove(classID: Long): Boolean

Removes and destroys all SVS Forms (of any type) from the specified classID.

Warning: all Form that were added to the layer that corresponds to the classID will be destroyed. Form objects won't be usable anymore. //TODO MSDK-633 update comment if objects are not destroyed anymore

Return

false if the specified Class ID does not exist in the layer that corresponds to the classID, true otherwise.

Parameters

classID
The class identifier of the layer.

Throws


fun remove(classID: Long, form: Form, detach: Boolean): Boolean

Removes the specified form from the layer that corresponds to the specified classID.

Return

false if the specified Class ID does not exist in the layer that corresponds to the classID, true otherwise.

Parameters

classID
The class identifier of the layer.
form
The SVS-form to remove.
detach
This parameter is no longer used, it will always be set to true to detach the form from the layer corresponding to the classID.

Throws