Hide Table of Contents
EditConcentricMate Method (IAssemblyDoc)

Edits a misaligned concentric mate.

.NET Syntax

Visual Basic (Declaration) 
Sub EditConcentricMate( _
   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 _
) 
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
 
instance.EditConcentricMate(AlignFromEnum, ConcentricPositionType, ConcentricToleranceCheck, ConcentricToleranceValue, ErrorStatus)
C# 
void EditConcentricMate( 
   System.int AlignFromEnum,
   System.int ConcentricPositionType,
   System.bool ConcentricToleranceCheck,
   System.double ConcentricToleranceValue,
   out System.int ErrorStatus
)
C++/CLI 
void EditConcentricMate( 
&   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

Example

Remarks

Select these entities before calling this method:

  • Two entities that define the misaligned concentric mate
  • Misaligned concentric mate

A parent non-misaligned (i.e., standard) concentric mate must already exist for the selected misaligned concentric mate. If a suitable parent concentric mate does not exist, then the selected misaligned concentric mate changes to a standard concentric mate. You can also change a misaligned concentric mate to a standard concentric mate using IAssemblyDoc::EditMate4.

After calling IAssemblyDoc::EditConcentricMate, call IModelDoc2::EditRebuild3.

 

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:   EditConcentricMate 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) 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.