Hello all,
I am trying to remove prims by an attribute value, here prim attr area.
I understand you can do this with a blast, a delete, or a primitive wrangle. I have tried all the methods, decided on the primitive wrangle, and for some reason I cannot delete by the attribute @area (calculated in a measure sop), unless the condition is @area == 0, which is not what I want.
Code is really simple, Im just confused as hell as to why it wont actually work.
I have a primitive @area attribute then run the following
if(@area < .1)
removeprim(geoself(), @primnum, 1);
What gives?
Please check scene file if you can!
I have used this setup in the past successfully, it doesnt seem to be working here.
Many thanks!
Modeling_03_Projection_upl.hipnc