Please help me, i've a problem :
How to check if entity be viewed in a Viewport ?
For Ex, how can i erase , or locked...or do sth.. all viewport that view into a Line ?
Srr for my poor English and Thanks all ^^
You would need to translate the Viewport Boundary to Modelspace coordinates using the correct transformation matrix based on the scale/twist etc of the viewport (I think gile wrote a function to calculate this matrix), then check whether your objects lie within this point set.