I'm a profession Autocad user and I get a help my friend who profession about C#.
I'm a begineer about AutoCad and programming. I succeed to commenation C# and autocad. (like DevTv "Hello World")
I need a C# codes for Autocad 2012 programming. I mean is that same codes Visual Basic for Application codes and C# codes? (like class)
Also I need a advice about this subject.
Thanks for helpings..
Have you downloaded the ObjectARX developer kit and looked at the samples? Also try the following links:
Thanks for helping.
Yes, We download objectarx Documentation and Download Complete ObjectARX SDK.
We looked and studied about it. But I think our problem is that I and my friend work different area. I'm a designer. He is a programmer.
We made some codes that use Visual Basic for application(in Autocad Tool box) and it worked.But we need to more detail about it.
This code is the same use C sharp. ?
If TumPar.Count <> 0 Then
For xp = 1 To .Count
On Error Resume Next
Set SolidSelection = ThisDrawing.SelectionSets.Add("SS01")
grpCode(0) = 0
dataVal(0) = "3DSOLID"
SolidSelection.Select acSelectionSetAll, , , grpCode, dataVal
N = SolidSelection.Count
MsgBox "countyourdrawing: " & N
Posted code is VBA-code. This link can help you to migrate to VB.NET:
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register