Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make Hiding Instances faster in the DrawingControl3D #203

Open
AHSss opened this issue Apr 14, 2023 · 1 comment
Open

How to make Hiding Instances faster in the DrawingControl3D #203

AHSss opened this issue Apr 14, 2023 · 1 comment
Assignees

Comments

@AHSss
Copy link

AHSss commented Apr 14, 2023

Hi~! @andyward

I want to hide the instances in the window of DrawingControl3D . I made the following attempt:
First I add the DrawingControl's EntitySelections to the HiddenInstances . Then I used the Method-ReloadModel() . Here is my code:

 DrawingControl.HiddenInstances = EntitySelections.ToList();
 DrawingControl.ReloadModel(DrawingControl3D.ModelRefreshOptions.ViewPreserveCameraPosition);

When the model is small ,the instances I selected was by hidden fast . But When the model is bigger , the instances I selected hidden became slowly . I think maybe the problem is the Method-ReloadModel() Executed slowly becuase of my model is too big . OR I used the Unsuitable parameters of the Method-ReloadModel() . And are there other quick ways to implement entity hiding?
I need your help~!

@andyward
Copy link
Member

Probably best bringing @CBenghi in on this as he's more familiar with the Helix/3D batching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants