FlangeDefinition.SetEdgeWidthExtent Method

Parent Object: FlangeDefinition

Description

Method that changes the FlangeDefinition object to define a flange whose width is defined by the length of the input edge(s). These are the same edges that were specified to define the location of the flanges.

Remarks

If the flange already exists you must roll back the model to the point just before the flange feature was created so that the edge exists in the model and can be used as input to this method.

Syntax

FlangeDefinition.SetEdgeWidthExtent( Edge As Edge )

Parameters

Name Type Description
Edge Edge The Edge that identifies which flange to set the width extent for. The creation of a single flange feature can result in many physical flanges being added to the part. Each edge specified for the flange feature wll result in a physical flange. The edge specified as input to this argument must be one of the edges that was specified as input to the flange feature and defines which physical flange to set the width extent for.

Samples

Name Description
Edit width extent of an existing flange feature This sample demonstrates editing the width extent of an existing flange feature. This expects an existing sheet metal document that contains a flange feature that contains for physical flanges. It changes the type of width extent for each of the physical flanges. The result from the FlangeWidthsCreation sample can be used as the document to run this macro in.

Version

Introduced in version 2011