Brep.ExtrudeAddPattern (SketchEntity, Interval, Double, Double, Int32, Double, Int32) Method

Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original Brep object.
Public Function ExtrudeAddPattern( _ 
ByVal sketch As SketchEntity, _ 
ByVal amount As Interval, _ 
ByVal draftAngleInRadians As Double, _ 
ByVal spacingX As Double, _ 
ByVal numberX As Integer, _ 
ByVal spacingY As Double, _ 
ByVal numberY As Integer
) As Boolean
This language is not supported or no code example is available.
public bool ExtrudeAddPattern( 
SketchEntity sketch
Interval amount
double draftAngleInRadians
double spacingX
int numberX
double spacingY
int numberY 
)
This language is not supported or no code example is available.

Parameters

sketch
SketchEntity

The sketch to extrude.

amount
Interval

The extrusion amount.

draftAngleInRadians
double

The draft angle in radians.

spacingX
double

The spacing between pattern instances for plane X direction.

numberX
int

The number of pattern instances for plane X direction.

spacingY
double

The spacing between pattern instances for plane Y direction.

numberY
int

The number of pattern instances for plane Y direction.

Return Value

bool

True if the operation succeeded, false otherwise keeping the Brep object unmutated.

.NET Framework

Supported in: 4.7.2

In this article

Definition