Call acdbModelerStart() before using acgex or AutoCAD may crash

By Gopinath Taget

You might find that sometimes, when creating 3D Solids such as an AcGeCylinder instance, AutoCAD crashes (at the constructor of these classes).

This problem can be resolved if the modeler dlls are loaded. When an application uses anything in acgex (set of math classes for solid modeling and computations), it must first call acdbModelerStart() to ensure that the modeler dlls are available. It must then call acdbModelerEnd() when it is finished with all calls to acgex.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading