Andy Ward

Results 368 comments of Andy Ward

I did some investigation into this with _windbg_ - what's happening is a statically constructed mixed model resource in OpenCascade is being disposed off too late by the CRT 'atexit'...

Have fixed this with a bit of a clunky fix as I haven't been able to work out the 'proper' solution - or the breaking change that actually triggered this,...

The 'Proper Wall' example is probably a good [starting point](https://docs.xbim.net/examples/proper-wall-in-3d.html) That example builds from first principles, and includes lots of different ways of writing properties etc, so it can be...

HI @CCT-Mukund-Thakare, yes you're right a doc would help. I'll make a few notes quickly here and hopefully we can revisit with a md doc: ## Understanding the Projects /...

My C++ is rusty, but some thoughts: In debug builds there are additional checks on things like stack & heap overruns - likely why it only fails in Release. (In...

Not really, short of using a debug (unoptimised) build. The /RTC (runtime checks) will only work in Debug/Un-optimised builds. https://learn.microsoft.com/en-us/cpp/build/reference/rtc-run-time-error-checks?view=msvc-170 What I'd hope the debug build willlet you do is...

I think it uses different C++ runtime/libs in DEBUG - and these won't be on machines without VS. Probably a good reason not to go down that route. Best approach...

It looks like 1. You've lost the Maps ([IfcMappedItems](https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD1/HTML/link/ifcmappeditem.htm)). That means all the shared geometry is lost, and now replicated per item 2. You're defining a StyledByItem (and a graph...

If you reintroduce the IfcMappedItem you can just style that single element. https://standards.buildingsmart.org/IFC/DEV/IFC4_2/FINAL/HTML/link/ifcshaperepresentation.htm

Feels easier just to install Visual Studio 2022! Any reason why you can't? https://visualstudio.microsoft.com/vs/community/