GBrep.ExtrudeAddPattern (Sketch, Interval, Double, Int32, Double, Int32) Method

Creates a rectangular pattern by extruding the specified sketch multiples times and adds it to the original GBrep object.
Public Function ExtrudeAddPattern( _ 
ByVal sketch As Sketch, _ 
ByVal amount As Interval, _ 
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( 
Sketch sketch
Interval amount
double spacingX
int numberX
double spacingY
int numberY 
)
This language is not supported or no code example is available.

Parameters

sketch
Sketch

The sketch to extrude.

amount
Interval

The extrusion amount.

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 GBrep object unmutated.

.NET Framework

Supported in: 4.7.2

In this article

Definition