hide some entities in viewport A, and show in viewport B, how to do this?

hide some entities in viewport A, and show in viewport B, how to do this?

Anonymous
Not applicable
396 Views
0 Replies
Message 1 of 1

hide some entities in viewport A, and show in viewport B, how to do this?

Anonymous
Not applicable

Hi, all.
Here is my case, I have two entities A and B in my model space, and also, my layout L1 has two viewports V1 and V2.
what I want to do is entity A show in V1 and hide in V2, entity B show in V2 and hide in V1.
I have try some ways and see some question on our community, but still not work.
like https://forums.autodesk.com/t5/objectarx/viewport-specific-geometry/td-p/5673119
and https://forums.autodesk.com/t5/objectarx/viewport-specific-geometry-in-only-one-viewport/m-p/5941292...

I found that, if directly return false in subWorldDraw(), model space has nothing.
Is the way I try do show/hide in subViewportDraw() is correct?

thx!

0 Likes
397 Views
0 Replies
Replies (0)