SketchCircles Object
Description
The SketchCircles object provides access to all the objects in a sketch and provides methods to create additional sketch circles. See the article in the overviews section.
Methods
AddByCenterRadius |
Method that creates a new sketch circle at a specified location and radius. |
AddByThreePoints |
Method that creates a new sketch circle passing through the three input points. The three points are any three points along the perimeter of the desired circle. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Property that returns the number of items in this collection. |
Item |
Returns the specified SketchCircle object from the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
DrawingSketch.SketchCircles,
PlanarSketch.SketchCircles,
PlanarSketchProxy.SketchCircles,
Sketch.SketchCircles,
SketchBlockDefinition.SketchCircles,
SketchBlockDefinitionProxy.SketchCircles
Samples
SurfaceBody Copy |
This sample demonstrates copying a surface body from one part to another. This is equivalent to the Promote command, but the API is much more flexible. In order for the sample to be self-contained, it creates two parts on the fly that will be used to demonstrate copying a body from one part to another. When copying a body into a part, you provide the surface body and a matrix to define its position in the new part. This sample creates a matrix based on the position of these parts within an assembly. |
Add a decal feature |
This sample demonstrates the creation of a decal feature. |
Create sheet metal lofted flange feature |
The following sample demonstrates the creation of a sheet metal lofted flange feature. |
Sketch from Face Silhouette |
This sample creates a cylindrical solid, creates a new sketch plane and creates some new sketch lines from the actual edges and the apparent (silhouette) edges of the cylinder. |
Sketch Edit Orientation |
This sample demonstrates modifying the orientation of a sketch. |
Sketch Add Oriented |
This sample demonstrates the creation of a sketch using the Sketches.AddWithOrientation method. |
Sketch profile control |
This sample demonstrates the usage of the Profiles API to control the shape of the profile. The sample creates three concntric circles and creates an extrusion of the region between the inner circles. |
Create SketchedSymbol Definition |
This sample illustrates creating a new sketched symbol definition object and inserting it into the active sheet. |
Sweep Feature Add |
This sample demonstrates the creation of a sweep feature. The profile is a circle, but the path is made up of a 3D sketch and a 2D sketch. |
Thread Feature Create |
This sample demonstrates the creation of a thread feature. It creates a cylinder in a new part document and creates a thread feature on the cylinder. |
Version
Introduced in version 5