ContourFlangeFeatures.CreateContourFlangeDefinition Method

Parent Object: ContourFlangeFeatures

Description

Method that creates a new ContourFlangeDefinition object.

Remarks

The object created does not represent a contour flange feature but instead is a representation of the information that defines a contour flange feature. You can use this object as input to the CoutnourFlangeFeatures.Add method to create the actual contour flange feature. The ContourFlangeDefinition object returned is fully defined and can be used to create a contour flange feature. However, defaults are used for most of the contour flange options so you may want to change some of the property values of the ContourFlangeDefinition object before using it to create a contour flange feature.

Syntax

ContourFlangeFeatures.CreateContourFlangeDefinition( Path As Path, [Edges] As Variant ) As ContourFlangeDefinition

Parameters

Name Type Description
Path Path Input Path object that specifies the shape of the contour flange.
Edges Variant Optional input Object that specifies the edge(s) to create a contour flange feature on. This can be either an Edge object or an EdgeCollection containing at least one Edge object. If all of the edges of a Face are desired, it is up to you to obtain them from the Face and add them to the collection.

Edges are not needed when a contour flange is created using a distance extent and this argument can be omitted in that case. You will need to call the SetDistanceExtent method to set the distance.

This is an optional argument whose default value is null.

Version

Introduced in version 2010