CustomTables.AddBendTable Method

Parent Object: CustomTables

Description

Method that creates a new bend table. The newly created CustomTable is returned.

Syntax

CustomTables.AddBendTable( SheetMetalFileName As String, PlacementPoint As Point2d, [Title] As String, [Columns] As Variant, [BendIDNumericFormat] As Boolean, [BendIDPrefix] As String ) As CustomTable

Parameters

Name Type Description
SheetMetalFileName String Input String that specifies the full file name of the sheet metal file to create the bend table from. The input file name must be that of a sheet metal file with a flat pattern created in it, else an error will occur.
PlacementPoint Point2d Input Point2d object that defines the placement point of the table on the sheet.
Title String Optional input String that specifies the title (or the header) of the table.

This is an optional argument whose default value is """".
Columns Variant Optional input array of Strings that specifies the columns of the bend table. The strings can be any or all of the following in any order: 'BEND ID', 'BEND DIRECTION', 'BEND ANGLE', 'BEND RADIUS' and 'BEND KFACTOR'. If not specified, all the five columns are created.

This is an optional argument whose default value is null.
BendIDNumericFormat Boolean Optional input Boolean that specifies whether the format of the Bend ID is alphabetic or numeric. If not specified, a value of True is used indicating that numeric format will be used.

This is an optional argument whose default value is True.
BendIDPrefix String Optional input String that specifies a prefix for the Bend IDs.

This is an optional argument whose default value is """".

Samples

Name Description
Create a Bend Table This sample demonstrates the creation of a bend table in a drawing from a sheet metal part.

Version

Introduced in version 2009