Wiki

This version (16 Nov 2021 03:14) was approved by Nikhin Shetty.

Click here to return back

Update Boolean Property

This action allows the user to update the Boolean property of a given plugin. The function call takes in 3 arguments. Return type is a SSPResult which contains a IsSuccess flag for success/failure and Message in the form of list of strings.


API

SSPResult UpdateBooleanProperty(string elementUid, string propertyName, bool propertyVal)


Arguments

  1. elementUid - Uid of shape whose property must be updated.
  2. propertyName - Name of the Boolean property to be updated.
  3. propertyVal - New Boolean value (True/False) for the property


Result

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

  1. IsSuccess is 'True' if the property updated successful, else 'False'.
  2. Message contains the Success/Failure information in the form of list of string.



resources/tools-software/sigmastudiov2/usingsigmastudio/scripting/updatebooleanproperty.txt · Last modified: 16 Nov 2021 03:14 by Nikhin Shetty