Hide Table of Contents
DeleteDecal Method (IModelDocExtension)

Removes the specified decal from this model.

.NET Syntax

Visual Basic (Declaration) 
Function DeleteDecal( _
   ByVal DecalID As System.Integer, _
   ByVal BReassignIdsAndInvalidate As System.Boolean _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim DecalID As System.Integer
Dim BReassignIdsAndInvalidate As System.Boolean
Dim value As System.Boolean
 
value = instance.DeleteDecal(DecalID, BReassignIdsAndInvalidate)
C# 
System.bool DeleteDecal( 
   System.int DecalID,
   System.bool BReassignIdsAndInvalidate
)
C++/CLI 
System.bool DeleteDecal( 
&   System.int DecalID,
&   System.bool BReassignIdsAndInvalidate
) 

Parameters

DecalID
Decal ID
BReassignIdsAndInvalidate

True if the decal IDs are reassigned and this decal ID is invalidated, false if not

Return Value

True if the decal is removed from the model, false if not

Example

Remarks

By default, decal IDs are persistent, which means if three decals (IDs 1, 2, and 3) were applied to the model, and you removed decal ID 2, then the remaining decal IDs are 1 and 3. However, if you set BReassignIdsAndInvalidate to true, then decal ID 2 is invalidated and decal ID 3 becomes decal ID 2.

 

See Also

Availability

SOLIDWORKS 2008 FCS, Revision Number 16.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:   DeleteDecal Method (IModelDocExtension)
*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) 2018 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.