Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

How to read the content of a table and delete specific rows

Still a little green? Ask your beginner's questions here

How to read the content of a table and delete specific rows

Postby FaustoB » Sun Feb 10, 2019 11:58 pm

Hi,
I have a table made of 5 columns, and a variable number of rows.
I would like to delete a row, if the values in column 0 and 1 are equal to 0.

I have tried evaluate DAT, crazy CHOP expressions... not sure that I am heading the right direction but I think that it should be relatively straight forward...

any suggestion?
FaustoB
 
Posts: 50
Joined: Mon Jan 08, 2018 8:33 am
Location: Sydney, NSW

Re: How to read the content of a table and delete specific r

Postby nettoyeur » Mon Feb 11, 2019 11:38 am

Use a Script DAT.
See several examples under Help->Operator Snippets ->DAT -> Script DAT
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1076
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: How to read the content of a table and delete specific r

Postby FaustoB » Mon Feb 11, 2019 7:29 pm

Thank you so much for pointing me in the right direction!!

I have used the "exclude" example from the op snippet and changed a couple of things.. it works!!

thanks again
FaustoB
 
Posts: 50
Joined: Mon Jan 08, 2018 8:33 am
Location: Sydney, NSW


Return to Beginners

Who is online

Users browsing this forum: No registered users and 2 guests