Hide Table of Contents
GetUpdateStamp Method (IFeature)

Gets the current update stamp for this feature.

.NET Syntax

Visual Basic (Declaration) 
Function GetUpdateStamp() As Integer
Visual Basic (Usage) 
Dim instance As IFeature
Dim value As Integer
value = instance.GetUpdateStamp()
int GetUpdateStamp()
int GetUpdateStamp(); 

Return Value

Current update stamp value for this feature


The update stamp is an integer form of the time stamp.

Update stamps are incremented each time the definition of the feature is modified by executing Edit Definition or changing the sketch used to generate the feature.

The update stamp of a feature is also incremented when its parent feature changes. Additionally if a feature is dependent on the body, or some other feature for regeneration, then the update stamp of the feature is incremented any time the body changes or the other related feature changes. These types of relationships might not seem typical parent and child relationships.

SolidWorks does not track the affect that all features have on each other. If the topology of a feature is modified by another feature, then its update stamp might not be incremented. For example, if you add a fillet to the to edge of a hole, the update stamp of the hole does not change. This type of tracking is not required by SolidWorks and is time consuming for larger parts.

It is a good idea to consider the entire body (and its topology) invalid when any of the feature time stamps within the model are incremented. For example, if a user creates a simple block containing a thru-hole feature and the user then adds a third feature (filling in a portion of the hole), the resulting solid body now looks very different, for example, to a machining package. The machining package no longer wants to drill the entire thru-hole. However, neither the creation, nor the editing, of the third feature caused the update stamp of the hole feature to be incremented. Therefore, it might be best for the machining package to re-obtain all body topology to avoid machining errors. Depending on what your software is trying to accomplish, you might want to consider the same.


See Also

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

Subject:   Feedback on Help Topics
Page:   GetUpdateStamp Method (IFeature)
*   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:


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

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.