TheSwamp

Code Red => .NET => Topic started by: velasquez on February 07, 2024, 04:28:51 PM

Title: Ribbon for ZWCAD
Post by: velasquez on February 07, 2024, 04:28:51 PM
Can anyone tell me if it is possible and how to create a custom Ribbon for ZWCAD with C#?
I haven't found anything about this yet.
Thanks.
Title: Re: Ribbon for ZWCAD
Post by: ken2023 on March 20, 2024, 07:27:13 AM
You can first implement this feature in AutoCAD, and then convert it to ZWCAD by replacing the namespace.

In addition, as far as I know, you can also consult the official of ZWCAD.
Title: Re: Ribbon for ZWCAD
Post by: velasquez on March 20, 2024, 09:00:40 AM
Thanks for the answer,
But ZWCAD does not allow this via C# only through .CUIX files
Title: Re: Ribbon for ZWCAD
Post by: CADbloke on May 05, 2024, 11:10:27 PM
I tried to port an AutoCAD plugin to ZWCAD, I gave up after an hour. The ZW .NET API is a thousand paper cuts different. BricsCAD was a walk in the park, as is the ODA .NET Classic library.
Title: Re: Ribbon for ZWCAD
Post by: It's Alive! on May 06, 2024, 01:54:50 AM
I tried to port an AutoCAD plugin to ZWCAD, I gave up after an hour. The ZW .NET API is a thousand paper cuts different. BricsCAD was a walk in the park, as is the ODA .NET Classic library.
Interesting, Not using .NET anymore, but ZW’s C++ API is generally pretty good. 
Did you reach out to them?
Title: Re: Ribbon for ZWCAD
Post by: CADbloke on May 14, 2024, 05:01:00 AM
Interesting, Not using .NET anymore, but ZW’s C++ API is generally pretty good. 
Did you reach out to them?
Nah. There’s just loads of differences in the API objects. I’m sure it’s possible but I don’t have enough years left in me.