Hide Table of Contents
InsertRevisionTable Method (ISheet)

Inserts a revision table in a drawing view in this drawing sheet.

.NET Syntax

Visual Basic (Declaration) 
Function InsertRevisionTable( _
   ByVal UseAnchorPoint As Boolean, _
   ByVal X As Double, _
   ByVal Y As Double, _
   ByVal AnchorType As Integer, _
   ByVal TableTemplate As String _
) As RevisionTableAnnotation
Visual Basic (Usage) 
Dim instance As ISheet
Dim UseAnchorPoint As Boolean
Dim X As Double
Dim Y As Double
Dim AnchorType As Integer
Dim TableTemplate As String
Dim value As RevisionTableAnnotation
 
value = instance.InsertRevisionTable(UseAnchorPoint, X, Y, AnchorType, TableTemplate)
C# 
RevisionTableAnnotation InsertRevisionTable( 
   bool UseAnchorPoint,
   double X,
   double Y,
   int AnchorType,
   string TableTemplate
)
C++/CLI 
RevisionTableAnnotation^ InsertRevisionTable( 
&   bool UseAnchorPoint,
&   double X,
&   double Y,
&   int AnchorType,
&   String^ TableTemplate
) 

Parameters

UseAnchorPoint

If true and the appropriate sheet format anchor point exists, then insert table at this point; if false, then use the values specified for the X and Y arguments as the insertion point

X
X coordinate for the placement of the revision table annotation
Y
Y coordinate for the placement of this revision table annotation
AnchorType
Anchor type as defined by swBOMConfigurationAnchorType_e
TableTemplate

Path and filename of the template that you want to use that corresponds to this type of table (see Remarks)

Return Value

Revision table or NULL If a revision table on the sheet already exists

Remarks

By default, the revision table templates are in the <install_dir>\lang\<language> folder and have a filename extension of .sldrevtbt. The template and table must be of the same type. For example, you would specify C:\Program Files\SolidWorks\lang\English\standard revision block.sldrevtbt for TableTemplate if you wanted to insert an English-version of the revision block table template.

 

See Also

Availability

SolidWorks 2004 FCS, Revision Number 12.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   InsertRevisionTable Method (ISheet)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.