GBrep.ExtrudeRemovePattern (Sketch, Double, Double, Plane, Double, Int32, Double, Int32) Method

Creates a rectangular pattern by extruding the specified sketch multiples times and removes it from the original GBrep object.
Public Function ExtrudeRemovePattern( _ 
ByVal sketch As Sketch, _ 
ByVal amount As Double, _ 
ByVal angleInRadians As Double, _ 
ByVal patternPln As Plane, _ 
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 ExtrudeRemovePattern( 
Sketch sketch
double amount
double angleInRadians
Plane patternPln
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
double

The extrusion amount.

angleInRadians
double

The draft angle in radians.

patternPln
Plane

The plane used to create the rectangular pattern.

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