Brian Ekins

February 2012

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

« Sketch Curve as Line Segments in VB.Net and C# | Main | Using C# with the Inventor API (Part 2) »

July 27, 2010

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e553fcbfc688340133f299e7a1970b

Listed below are links to weblogs that reference Using C# with the Inventor API (Part 1):

Comments

Sonicsx

Nice blog. Really useful. Maybe you can help me. What is the equivalence in c# of the code below?

Dim oPartDoc As PartDocument
Set oPartDoc = ThisApplication.Documents.Open("C:\work\1.ipt", False)

THX

Joe

Could you please explain why you would want to convert from VB .NET to C#?

Rodney

One thing to note with C# and the some members. There are a few types I've come across that don't properly expose some members and a get_MemberName() has to be used instead.

For example:
Parameter.Units -> Parameter.get_Units()
ComponentOccurences.ItemByName() -> ComponentOccurences.get_ItemByName()

The comments to this entry are closed.

RSS Feed

  •  Subscribe

Survey