Hide Table of Contents
InsertRevisionTable2 Method (ISheet)

Inserts a revision table in this drawing sheet.

.NET Syntax

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

Parameters

UseAnchorPoint
True to insert the revision table at the existing revision table anchor point, false to anchor the table at the point specified by X and Y
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 corresponds to this type of table (see Remarks)
Shape
Revision symbol shape as defined in swRevisionTableSymbolShape_e
AutoUpdateZoomCells
True to automatically update zone cells, false to not

Return Value

Revision table or null if a revision table already exists

Example

Remarks

By default, the revision table templates are in install_dir\lang\language and have a filename extension of .sldrevtbt. The template and table must be of the same type. For example, you must specify TableTemplate with install_dir\lang\English\standard revision block.sldrevtbt if you want to insert the English version of a revision block table.
 

See Also

Availability

SOLIDWORKS 2015 FCS, Revision Number 23.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:   InsertRevisionTable2 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) 2015 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.