top of page
Writer's pictureTimucin Ozger

Remove point by condition


int condition = (@P.x > 0) ? 1: 0; // short form if() test // defines an integer of 1 or 0

if (condition){

removepoint(geoself(), @ptnum); // if true remove points

}

I just use it like this however, I dont know if having a less code would have for performance or not

if (@P.x > 0 ){

removepoint(geoself(), @ptnum);

}


2,339 views0 comments

Recent Posts

See All
bottom of page