Sample C# apps based on RealWDG

Sample C# apps based on RealWDG

s_abeed
Enthusiast Enthusiast
1,023 Views
3 Replies
Message 1 of 4

Sample C# apps based on RealWDG

s_abeed
Enthusiast
Enthusiast

I have code in VBA and we have some apps using ObjectARX and we are trying to move to RealDWG. 

The sample that comes with RealDWG is VB.net and there is no sample with C#.

Are there some samples available in C# based on RealDWG and doing some task like dumping the data to some text file and creating some entities ?

0 Likes
Accepted solutions (1)
1,024 Views
3 Replies
Replies (3)
Message 2 of 4

Norman_Yuan
Mentor
Mentor

Since the code samples are all based on .NET API in (acdbmgd.dll), there would NOT be much different between VB.NET code and C#, except for the pure syntax differences.

 

There are a few online VB.NET<=>C# converter available for free. You could even use ChatGPT to do the VB.NET to C# conversion. However, it is possible that you may have to do a bit of manual fixes after the conversion, depending on how the code was written and what the code does.

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 4

hosneyalaa
Advisor
Advisor
Accepted solution
0 Likes
Message 4 of 4

s_abeed
Enthusiast
Enthusiast

Yes chapgpt do the magic with some kicks 🙂

0 Likes