Share

Profiles Object


Description

Provides access to all of the objects owned by a particular X and supports the methods to create additional Profiles. See the article in the overviews section.

Methods

Name Description
AddForSolid Method that creates a profile containing multiple paths for creating solid features. The paths can include sketch curves as well as text boxes. Individual paths in the returned profile may be deleted to obtain the desired profile.
AddForSurface Method that creates a profile for creating surface features. The resulting profile could be open or closed.

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 Returns the specified Profile object from the collection.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

DrawingSketch.Profiles, PlanarSketch.Profiles, PlanarSketchProxy.Profiles, SketchBlockDefinition.Profiles, SketchBlockDefinitionProxy.Profiles

Samples

Name Description
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.
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.
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.
Querying a sketch profile to get regions. This sample demonstrates getting region properties from a sketch profile.
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 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.
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

Was this information helpful?