Wiki

This version (15 Nov 2021 12:27) was approved by Nikhin Shetty.The Previously approved version (27 Jun 2020 14:58) is available.Diff

Click here to return back

Remove Shape

This action allows the user to remove/delete a given element or plugin from the parent canvas or schematic page specified. The function call takes in 2 arguments. This API returns the SSPResult type.


API

SSPResult RemoveShape(string parentUid, string shapeUid)


Arguments

  1. parentUid - The Uid of the parent canvas/Schematic from which the plugin must be removed
  2. shapeUid- Uid of the plugin to be removed.


Result

SSPResult contains 'IsSuccess' flag and 'Message' information of the RemoveShape action.

  1. IsSuccess is 'True' if the shape was removed successfully, else 'False'.
  2. Message contains the Success/Failure information in the form of list of string.



resources/tools-software/sigmastudiov2/usingsigmastudio/scripting/removeshape.txt · Last modified: 15 Nov 2021 09:09 by Nikhin Shetty