Hide Table of Contents
AddConcentricMateWithTolerance Method (IAssemblyDoc)

Adds a misaligned concentric mate to this assembly.

.NET Syntax

Visual Basic (Declaration) 
Function AddConcentricMateWithTolerance( _
   ByVal AlignFromEnum As System.Integer, _
   ByVal ConcentricPositionType As System.Integer, _
   ByVal ConcentricToleranceCheck As System.Boolean, _
   ByVal ConcentricToleranceValue As System.Double, _
   ByRef ErrorStatus As System.Integer _
) As Mate2
Visual Basic (Usage) 
Dim instance As IAssemblyDoc
Dim AlignFromEnum As System.Integer
Dim ConcentricPositionType As System.Integer
Dim ConcentricToleranceCheck As System.Boolean
Dim ConcentricToleranceValue As System.Double
Dim ErrorStatus As System.Integer
Dim value As Mate2
 
value = instance.AddConcentricMateWithTolerance(AlignFromEnum, ConcentricPositionType, ConcentricToleranceCheck, ConcentricToleranceValue, ErrorStatus)
C# 
Mate2 AddConcentricMateWithTolerance( 
   System.int AlignFromEnum,
   System.int ConcentricPositionType,
   System.bool ConcentricToleranceCheck,
   System.double ConcentricToleranceValue,
   out System.int ErrorStatus
)
C++/CLI 
Mate2^ AddConcentricMateWithTolerance( 
&   System.int AlignFromEnum,
&   System.int ConcentricPositionType,
&   System.bool ConcentricToleranceCheck,
&   System.double ConcentricToleranceValue,
&   [Out] System.int ErrorStatus
) 

Parameters

AlignFromEnum
Type of mate alignment as defined in swMateAlign_e
ConcentricPositionType
Misaligned concentric mate position as defined in swConcentricAlignmentType_e
ConcentricToleranceCheck
True to override the deviation, false to have SOLIDWORKS calculate the deviation
ConcentricToleranceValue
Maximum deviation; valid only when ConcentricToleranceCheck is true
ErrorStatus
Success or error as defined by swAddMateError_e

Return Value

Misaligned concentric mate

Example

Remarks

Select the two entities to mate before calling this method. A parent non-misaligned (i.e., standard) concentric mate must already exist between the selected entities. If a suitable parent concentric mate does not exist between the selected entities, then a standard concentric mate is created.

NOTE: The typical way to add a standard concentric mate is to use IAssemblyDoc::AddMate5.

 

See Also

Availability

SOLIDWORKS 2018 FCS, Revision Number 26.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:   AddConcentricMateWithTolerance Method (IAssemblyDoc)
*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) 2020 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.