Inserts a punch table in the flat pattern drawing view of a sheet metal part.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertPunchTable( _
ByVal UseAnchorPoint As Boolean, _
ByVal X As Double, _
ByVal Y As Double, _
ByVal AnchorType As Integer, _
ByVal StartValue As String, _
ByVal TableTemplate As String _
) As PunchTableAnnotation |
Visual Basic (Usage) | |
---|
Dim instance As IView
Dim UseAnchorPoint As Boolean
Dim X As Double
Dim Y As Double
Dim AnchorType As Integer
Dim StartValue As String
Dim TableTemplate As String
Dim value As PunchTableAnnotation
value = instance.InsertPunchTable(UseAnchorPoint, X, Y, AnchorType, StartValue, TableTemplate)
|
Parameters
- UseAnchorPoint
- If true, and the sheet format anchor point exists, then insert table at the anchor point; if false, then insert the table at the location specified by the X and Y parameters
- X
- X coordinate for the anchor of this punch table
- Y
- Y coordinate for the anchor of this punch table
- AnchorType
- Anchor type as defined by swBomConfigurationAnchorType_e
- StartValue
- Starting value for datum tags; a letter from A to Z, if TableTemplate uses letter tags; a positive integer, if TableTemplate uses number tags (see Remarks)
- TableTemplate
- Path and filename of the table template that corresponds to the type of table you want to use (see Remarks)
Return Value
IPunchTableAnnotation
Example
Remarks
See Also
Availability
SolidWorks 2012 FCS, Revision Number 20.0