Hi,
Is there a way to "unset" custom properties after you have previously set them? My specific issue is setting the color parameter, then clearing it so it has no value. I suppose this would also apply to boolean checkboxes and maybe other custom properties too.
Cheers,
Niclas
Setting custom properties to "unset"
Re: Setting custom properties to "unset"
For numeric and string types you can enter an empty string to unset them.
For color and bool types, you need to use script at the moment.
Example:
getBody('body0').clearCustomProperty('mycolor');
If you search for 'clearCustomProperty' in the built-in help you should find a page with some more details on this that might be helpful.
For color and bool types, you need to use script at the moment.
Example:
getBody('body0').clearCustomProperty('mycolor');
If you search for 'clearCustomProperty' in the built-in help you should find a page with some more details on this that might be helpful.
Re: Setting custom properties to "unset"
Great. I get an error, but it clears the color var. The error is:
"Error in ClearCustomPropertyValueCommand"
"Error in ClearCustomPropertyValueCommand"