Jump to content

Reset Marking to one visual with iron python script

Chinta Chandana

Recommended Posts

I have tried this code but it is not working

from Spotfire.Dxp.Application.Visuals import ScatterPlot

from Spotfire.Dxp.Data import RowSelection


v1 = vis.As[scatterPlot]()

from Spotfire.Dxp.Data import RowSelection, IndexSet

rowSelection = RowSelection(IndexSet(dataTable.RowCount,False))


Link to comment
Share on other sites

I know you asked for the script solution but this can be very easily solved with a built in action controll in 2 steps as follows: 1. navigate to the visualization (Pages and Vis)

2. unmark marked rows (Functions)This will only clean the marking for the visualization you navigate to. 

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...