Jump to content

Returning to default property control selection when clicking 'reset' button in text area


Stacey McWaters

Recommended Posts

Hi.

I have inserted a button with the intention for it to reset to the 'default' selections on my property controls. I've used the below script on the button;

Document.Properties["StreamDropdown"]="All"

Document.Properties["plantmultisel"]="All"

The first line in both the dropdown and the multiselect list is a expression that is displayed as 'All' - which is the default setting i want.

When i click my reset button it clears the selections on both property controls and then causes errors on my visualisations, instead of selecting the 'All' selections. Where have i gone wrong in my script that it isnt selecting the option i want for each of the property controls

Thanks in advance :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...