Hide Table of Contents
InsertMLeaderWithToleranceContentType Method (ISketchManager)
MLeader[out]
IMLeader

Inserts an MLeader in the specified location with the specified Tolerance content and attachment.

.NET Syntax

Visual Basic (Declaration) 
Function InsertMLeaderWithToleranceContentType( _
   VARIANT VertexCoordinateDblArray As System.Object, _
   BSTR TolText As System.String, _
   dsMLeaderType_e MLeaderLineType As dsMLeaderType_e, _
   dsMLeaderTolAttachmentType_e AttachmentType As dsMLeaderTolAttachmentType_e _
) As MLeader
C# 
MLeader InsertMLeaderWithToleranceContentType( 
   System.object VertexCoordinateDblArray,
   System.string TolText,
   dsMLeaderType_e MLeaderLineType,
   dsMLeaderTolAttachmentType_e AttachmentType
)
JavaScript 
InsertMLeaderWithToleranceContentType( 
   VertexCoordinateDblArray : System.Object,
   TolText : System.String,
   MLeaderLineType : String,
   AttachmentType : String,\n) : dsMLeader
COM native C++ 
HRESULT InsertMLeaderWithToleranceContentType( 
   VARIANT VertexCoordinateDblArray,
,
   const dsString& TolText,
,
   dsMLeaderType_e MLeaderLineType,
   dsMLeaderTolAttachmentType_e AttachmentType
   IMLeader** MLeader
) 
C++ 
DSRESULT InsertMLeaderWithToleranceContentType( 
   VARIANT VertexCoordinateDblArray,
,
   BSTR TolText,
,
   dsMLeaderType_e MLeaderLineType,
   dsMLeaderTolAttachmentType_e AttachmentType
   dsMLeader** MLeader
) 

Parameters

VertexCoordinateDblArray
Location array of x, y, and z coordinates specifying the start point and interior vertexes of MLeader (see Remarks)
TolText
Tolerance text
MLeaderLineType
Type of MLeader line as defined by dsMLeaderType_e
AttachmentType
Type of tolerance attachment as defined by dsMLeaderTolAttachmentType_e

Parameters

MLeader[out] or Return Value
IMLeader

Example

See the IMLeader example.

Remarks

The size of VertexCoordinateDblArray is (3 * (number_of_MLeader_vertices)). The order of the elements in the array is (x1, y1, z1, x2, y2, z2...).

The x1, y1, and z1 coordinates in the array represent the start point of the MLeader; all subsequent xn, yn, and zn coordinates represent the MLeader's interior vertices.

 

See Also

Availability

DraftSight 2024 SP4


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:   InsertMLeaderWithToleranceContentType Method (ISketchManager)
*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) 2024 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.