xBimTeam / XbimEssentials

A .NET library to work with data in the IFC format. This is the core component of the Xbim Toolkit
https://xbimteam.github.io/
Other
485 stars 171 forks source link

How can I hide and show an element? #397

Open cafecodingir opened 2 years ago

cafecodingir commented 2 years ago

I have a project and want to hide all building elements in an IFC file then show them one by one after some delay. how can I do that? please guide me. Your sincerely

martin1cerny commented 2 years ago

This really depends on your UI. Are you using one of our 3D visual components? Or, are you feeding 3D data into some other 3D component/framework?

cafecodingir commented 2 years ago

I`m using your 'WinformsAccessibleControl' in WPF application which is loaded on 'elementHost' component, like your XbimXplorer application.

CBenghi commented 2 years ago

At the moment this feature is not available in the published code.

I've got a working feature implementation that should become available by the end of October.

Best, Claudio

Il Sab 9 Ott 2021, 22:29 cafecodingir @.***> ha scritto:

I`m using your 'WinformsAccessibleControl' in WPF application which is loaded on 'elementHost' component, like your XbimXplorer application.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xBimTeam/XbimEssentials/issues/397#issuecomment-939357501, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJY7MP25WW2WBQJYGFZUDTUGCQ2XANCNFSM5FSRKK7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cafecodingir commented 2 years ago

Can I use the copy feature for this? I mean copy elements one by one in new model and display. If yes, please provide me with a complete code. Best.

CBenghi commented 2 years ago

I don't think that this would work. The whole point with the LayerStyler approach is to group together groups of similar materials for performance purposes, regardless of the way they were added to the model.

I'm afraid you'll have to wait. Best, Claudio

On Sun, 10 Oct 2021 at 17:43, cafecodingir @.***> wrote:

Can I use the copy feature for this? I mean copy elements one by one in new model and display. If yes, please provide me with a complete code. Best.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xBimTeam/XbimEssentials/issues/397#issuecomment-939504698, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJY7MICHHYC5UGZLOBXKGTUGGYDPANCNFSM5FSRKK7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.