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      

« Writing Work Points to an Excel File | Main | Welcome a New Blog Co-Author »

August 22, 2011

TrackBack

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

Listed below are links to weblogs that reference Self-Pace Inventor API Development Guide:

Comments

cartoner

the guide helped me alot. i understand much more about the invertor API now.

Aksel

Help-me Create a ReplaceFace feature.
If Surface Then
' Create a new workplane parallel to the XY plane.
Dim oWorkPlane As WorkPlane
Set oWorkPlane = oCompDef.WorkPlanes.AddByPlaneAndOffset(oCompDef.WorkPlanes.Item(3), 53)

' Create a 2d sketch to use as one section.
Set oSketch = oCompDef.Sketches.Add(oWorkPlane)
Call oSketch.SketchLines.AddAsTwoPointRectangle(oTG.CreatePoint2d(1, 1), oTG.CreatePoint2d(98, m - 3))

' Create a profile.
Dim oProfile1 As Profile
Set oProfile1 = oSketch.Profiles.AddForSolid

' Create a base extrusion 1cm thick.
Dim oExtrude1 As ExtrudeFeature
Set oExtrude1 = oCompDef.Features.ExtrudeFeatures.AddByDistanceExtent(oProfile1, 1, kNegativeExtentDirection, kJoinOperation)


' Get the top face of the extrusion to use for creating the new sketch.
Dim oFrontFace As Face
Set oFrontFace = oExtrude1.StartFaces.Item(1)

End If

' Create the loft definition. Because one of the ends isn't planar,
' a surface must be created instead of a solid.
Dim oLoftDefinition As LoftDefinition
Set oLoftDefinition = oCompDef.Features.LoftFeatures.CreateLoftDefinition(oSections, kSurfaceOperation)

' Create the loft feature.
Call oCompDef.Features.LoftFeatures.Add(oLoftDefinition)

If Surface Then


' Create a ReplaceFace feature.
Dim oReplaceFaceFeature As ReplaceFaceFeatures
'Set oReplaceFaceFeature = oCompDef.Features.ReplaceFaceFeatures.?????

End If

injection mold

it is wonderful. thanks for your sharing and helping. we are a injection molding manufacturer in china , if you need, we can have a cooperation.OK/?

Jean Pacher

The guide helps a lot.
The material is very good to understand a little more about the Inventor API

The comments to this entry are closed.

RSS Feed

  •  Subscribe

Survey