2024-03-04 03:29 AM - last edited on 2024-09-17 01:10 PM by Doreena Deng
2024-06-06 01:58 AM
As stated in the post,
there is no selection marquee on screen at the time of processing.
2024-06-06 10:10 AM - edited 2024-06-06 10:11 AM
You mean the user has already erased the selection marquee? If so, there's nothing you can do afterward.
If you want to know what the marquee shape was previously, I suggest capturing it when it's created so you still have it even if the user clears it.
2024-06-06 10:40 AM
So what I'm interested in is not the shape of the selection marquee, but the shape of the currently active 3D filter.
2024-06-06 10:50 AM
The shape of the 3D filter will be maintained indefinitely until you press the [F5] key again.
I would like to know the shape of this maintained 3D filter.
2024-06-06 11:30 AM - edited 2024-06-06 11:31 AM
I think a lot of this comes down to how Archicad works. If you draw a marquee in a 2D (plan) view and then move to 3D, it builds the 3D scene cropped to the 2D marquee. But if you build the 3D scene again with the 3D view already open, it rebuilds the whole 3D scene again without any cropping to the 2D marquee. But the marquee still remains in 2D unless you explicitly clear it, so if you move back to the 2D view and then rebuild the 3D view from there, the cropping will reappear again.
ACAPI_Selection_Get will get the shape of that marquee for you - I'm pretty sure that's what you want.
2024-06-06 05:45 PM
Create a view cropped with the 3D filter.
Whenever you call up the view you created, the 3D filter will be recreated.
The selection marquee doesn't matter in this case.
I would like to know the shape of the 3D filter.
2024-06-07 04:54 AM
OK, so you are not talking about simply viewing a marquee crop in 3D.
You want the actual crop that is stored when you save a view in the view map.
I can't help you with that as I know nothing about API, just trying to clarify what you want.
I was under the impression you just wanted the marquee shape from the plan, which I think is what Ralph was thinking as well.
Barry.
2024-06-07 09:36 AM
Thank you that is exactly right.
2024-06-07 09:36 AM
Following up on Barry's observation, can you confirm that you want the cropping stored with a 3D view stored in the Navigator? And applied according to the View setting (as shown in the attached snapshot (under marquee effect)?
2024-06-07 11:18 AM
It has the same settings.