C# Help Examples for sketch – Part 1

One of the takeaways from the Inventor API survey results this year was the request for help file examples in other languages besides VBA. To help address this, I am planning on converting the samples to C# over the next several months. Here is the first installment.

Download InventorHelpExamples_Sketch_1 

In this project you will find these VBA Procedures converted to C# functions:

CopySketch
SilhouetteSample
ChangeSketchPlane
MakeSketchShared
AddSketch
AddOrientedSketch
GetProfileRegionProperties
SketchProfileControl
CopySketchContents
DeferSketchUpdate
DeleteSketch
StartSketchEdit       
MoveSketchObjects

This is 13 out of the 26 examples in this group of examples on Sketches. (The next post on this topic will be the others in this section).

image

When you run this stand alone Windows Forms project you will see a combo box with a list of the examples. Click on one you want to run.

image 

  • Wayne

Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading