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.
Name | Type | Description |
Combine | Boolean | Optional input Boolean that specifies whether to combine the profile paths obtained when this method is used to create a new profile. For instance, let us take the example of a sketch containing two concentric circles. If this argument is specified to be true, the resulting profile will contain 2 profile paths, and the profile path corresponding to the inner circle will have its AddsMaterial flag set to False. Hence, the resulting profile is a circular disc with a circular cut\-out. If the Combine flag is specified to be False, the resulting profile will contain 2 profile paths with the AddsMaterial flag set to True for both paths. If the sketch contains text boxes, then the profile paths corresponding to them will always have the AddsMaterial flag set to True irrespective of whether the Combine flag is specified to be True or False. This is an optional argument whose default value is True. |
ProfilePathSegments | Variant | Optional input ObjectCollection that can contain sketch curves as well as text boxes. If sketch curves are specified, then the profile created by this method will include profile paths that are comprised of the exact set of sketch curves specified in the ObjectCollection. If text boxes are specified, then the profile created by this method will include profile paths that correspond to the exact set of text boxes specified in the ObjectCollection. Each text box in the collection will correspond to a unique profile path. If not specified, all the possible profile paths including sketch curves as well as text boxes will be included. This argument is ignored if the Combine argument is specified to be True. This is an optional argument whose default value is null. |
Reserved | Variant | Optional input Variant reserved for future use. This argument is currently ignored. This is an optional argument whose default value is null. |
Name | Description |
Delete Face, Boundary Patch and Stitch features | Demonstrates creating Face, Boundary Patch and Stitch features. |
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. |
Sketch fill region | This sample demonstrates the sketch fill functionality in drawing sketches. |
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. |
Extrude sketch text | This sample demonstrates the creation of an extrude feature from sketch text. |
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 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. |
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. |