Author Topic: Where can I find more expanded info about the AcCUI.dll using?  (Read 2498 times)

0 Members and 1 Guest are viewing this topic.

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Where can I find more expanded info about the AcCUI.dll using?
« on: October 27, 2016, 11:31:08 AM »
In the arxdoc.chm file I read info about the classes of AcCUI.dll and how to use them. But this info is very scanty. I need info about how to add the ribbon tabs and toolbars into the Workspace item of the CUI\CUIX file. Where can I find more expanded info about the AcCUI.dll using?

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Where can I find more expanded info about the AcCUI.dll using?
« Reply #1 on: October 28, 2016, 10:28:54 AM »
This empty topic can be deleted. I did what I need. My code example is here: https://bitbucket.org/Andrey-Bushman/attach-cui

Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: Where can I find more expanded info about the AcCUI.dll using?
« Reply #2 on: October 28, 2016, 03:15:57 PM »
...I did what I need. My code example is here: https://bitbucket.org/Andrey-Bushman/attach-cui

This is great Andrey! Thanks for posting your solution/findings  :-)

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Where can I find more expanded info about the AcCUI.dll using?
« Reply #3 on: October 28, 2016, 04:33:57 PM »
Thanks for posting your solution/findings  :-)
I added the commit: https://bitbucket.org/Andrey-Bushman/attach-cui/commits/35c49d9f7b545a26acccec6d6f5dbffd9afdecb3

Also, often I need to work with CUI files through the AcCUI.dll of AutoCAD 2009, but its API has many distinctions. This problems was encapsulated by me in the CuiOperations.cs file of the  Attach-CUI project. On Monday I will try to understand how to do it through AutoCAD 2009 API.   

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Where can I find more expanded info about the AcCUI.dll using?
« Reply #4 on: October 29, 2016, 04:59:11 AM »
Thanks for posting your solution/findings  :-)
I added the commit: https://bitbucket.org/Andrey-Bushman/attach-cui/commits/35c49d9f7b545a26acccec6d6f5dbffd9afdecb3

Also, often I need to work with CUI files through the AcCUI.dll of AutoCAD 2009, but its API has many distinctions. This problems was encapsulated by me in the CuiOperations.cs file of the  Attach-CUI project. On Monday I will try to understand how to do it through AutoCAD 2009 API.
Unfortunately ribbons apeared in AutoCAD since AutoCAD 2009 version and API of that version was very raw. In that version it was impossible to work with ribbons. API was changed in AutoCAD 2010. Therefore I'll remove the Attach-CUI project which was created for AutoCAD 2009.

Also Alexander Rivilis showed me this additional link: http://forums.augi.com/showthread.php?159453-CP204-2-API-for-CUIx-Files-and-the-Runtime-Ribbon-in-AutoCAD