Don’t break a sweat

As you all have heard, I am the new member to the ECAD team.  I will take the next few moments to introduce myself.  For the last few years I’ve spent my time digging around inside of the CADWorx line while doing piping design for companies in the South East.  Through that time, I’ve learned that tweaking is a whole lot of FUN!  Like everyone, at some points I’ve gotten bitten for tweaking too much.  I remember one time…
During the my first exposure to AutoCAD and the CUI, like any diligent person I was trying to get my head wrapped around the CUI thing.  Well, I ended up past my limits and before I knew it, I had no buttons, menus, or toolbars!  I didn’t touch the CUI command for 3 weeks at least.
All that to say, as a new member of the Process Design from the Outside team (PDO?), my goal is to tweak CADWorx and AutoCAD, stress myself out with disappearing buttons, toolbars and menus, and do the dirty work of figuring out how the stuff is put together, so you can focus on your job.  I’m going to do my best to put the information I learn into any format that will help you learn it-whether a handout, blog, or a video.
Thanks to Kyle and ECAD for their support and bringing me onto the team!
David Wolfe
  • Cristina

    Hi Dave,

    hope you recovered from the CUI hangover you mentioned in your post 🙂

    As I am trying to deploy a partial cuix for AutoCAD 2010, I’ve been googling a bit and found your post here:

    I am wondering if you eventually managed to modify a cui from outside of AutoCAD. I try to do the same thing, from a C# console application that I intend to use within the installer of the product, but as soon as I try to do this:
    new CustomizationSection(mainCuiFile);
    I get a FileNotFoundException: “The specified module could not be found. (Exception from HRESULT: 0x8007007E)”.

    Another question is: what did Wayne Brill mean by “CUI DLL’s” here: “developers aren’t permitted to ship the CUI DLL’s with their applications, so that rules out installing CUI DLL’s with your application”?

    Kind regards,

  • While I managed to modify a CUI outside of AutoCAD, there ended up being a bug in AutoCAD that didn’t resolve the associated button images correctly. What I’m going to end up doing is using a new technique to install a .Net dll (, and then use the IExtensionApplication ( interface to load the cui from within AutoCAD. Alternatively, you can also create a command to trigger loading your cui. Main point being…let the cui loading be done inside AutoCAD.

    For the second question, CUI dll’s = AcCui.dll and AcCustomize.dll both of which are references required to work with the cui and may be found in the installation directory of AutoCAD.

  • Cristina

    Dave, thanks a lot for your quick answer! You made me realize that I was complicating my life unnecessarily… Some changes in startup.lsp solved the problem nice and easy. Now my .cuix file gets displayed every time our application gets loaded.