Share

PlanarSketches Object


Description

The PlanarSketches collection object provides access to all of the objects and provides methods to create additional PlanarSketch objects. See the article in the overviews section.

Methods

Name Description
Add Method that creates a new sketch based on the input planar entity.
AddWithOrientation Method that creates a new sketch based on the input planar entity and orientation information.

Properties

Name Description
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 Allows integer-indexed access to items in the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

AssemblyComponentDefinition.Sketches, FlatPattern.Sketches, PartComponentDefinition.Sketches, SheetMetalComponentDefinition.Sketches, WeldmentComponentDefinition.Sketches

Samples

Name Description
Add a decal feature This sample demonstrates the creation of a decal feature.
Derived Parts and Assemblies This sample demonstrates the use of the API to create derived parts and assemblies.
Using Inventor's error dialog Demonstrates using Inventor's error dialog.
Extrude Feature - Create Block with Pocket This sample demonstrates creating a simple solid consisting a block with a pocket. It shows how to create a sketch plane at a specified orientation to existing geometry.
Edit profile of an extrude feature This sample demonstrates editing the profile of an extrude feature.
Create sheet metal face and fold features This sample demonstrates the creation of sheet metal face and fold features.
Hole Feature - Through holes (RegularAndTapped) This sample demonstrates the creation of through holes, both regular and tapped.
Create and Edit an Extrude Feature with a pocket This sample demonstrates how to edit an extrude feature. It shows how to create a sketch plane at a specified orientation to existing geometry.
Sketch Edit Orientation This sample demonstrates modifying the orientation of a sketch.
Sketch Add This sample demonstrates the creation of a sketch using the Sketches.Add method.
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.
Add a punch tool feature This program demonstrates the creation of a punch tool feature. It uses one of the punch features that's delivered with Inventor. It assumes you already have an existing sheet metal part and have selected a face to place the punch feature on. The selected face should be large so there is room for the punch features.
Create sheet metal rip feature This sample demonstrates the creation of a rip sheet metal feature.
Create sheet metal face and cut features This sample demonstrates the creation of sheet metal face and cut features.
Create sheet metal face and flange features This sample demonstrates the creation of sheet metal face and flange features.
Projection - project across parts This sample demonstrates projecting a sketch entity across parts in an assembly. To use the sample, have an assembly open that contains at least two occurrences, (parts only), and run the program.
Sketch Delete This sample demonstrates deleting a sketch.
Sketch Open for Edit This sample demonstrates opening a sketch for edit.
Set Sketch Visibility This sample demonstrates setting the visibility of a sketch.
Create and insert a sketch block definition into a part sketch This sample demonstrates inserting a sketch block into a part sketch.
Create sketch block from an existing sketch This sample demonstrates creating a sketch block from an existing sketch.
Spline - create NURBS This sample demonstrates the creation of a sketch spline using a geometry definition (a NURB). The API also supports creation of 3D sketch splines in a similar way.

Version

Introduced in version 5

Was this information helpful?