Hide Table of Contents
IGetSectionLineInfo2 Method (IView)

Gets all of the information about the section lines in the view.

.NET Syntax

Visual Basic (Declaration) 
Function IGetSectionLineInfo2( _
   ByVal ArraySize As System.Integer _
) As System.Double
Visual Basic (Usage) 
Dim instance As IView
Dim ArraySize As System.Integer
Dim value As System.Double
 
value = instance.IGetSectionLineInfo2(ArraySize)
C# 
System.double IGetSectionLineInfo2( 
   System.int ArraySize
)
C++/CLI 
System.double IGetSectionLineInfo2( 
&   System.int ArraySize
) 

Parameters

ArraySize
Number of section lines

Return Value

Array of doubles (see Remarks)

Remarks

This method gets all of the information on section lines in the view. Before using this method, call IView::GetSectionLineCount2 to get the value for ArraySize.

The return value is the following array of doubles:

[ numSectionLines, layer, [ numSegments, [ lineType, startPt[3], endPt[3] ], arrowStart1[3], arrowEnd1[3], arrowWidth1, arrowHeight1, arrowStyle1, arrowStart2[3], arrowEnd2[3], arrowWidth2, arrowHeight2, arrowStyle2, textPt1[3], textPt2[3], textHeight ] ]

where:

numSectionLines  = number of section lines in this view. See also IView::GetSectionLineCount2.

layer = layer information.

The following set of data repeats itself for each section line in the view. The number of times the information is given is numSectionLines:

numSegments = number of line segments in this section line

The following three variables repeat themselves for each segment in the current section line. The number of times the information is given is numSegments:

lineType  = linetype for this line segment. See swLineTypes_e.

startPt[3]  = X,Y,Z start point for the current segment of this section line.

endPt[3]  = X,Y,Z end point for the current segment of this section line.

arrowStart1[3]  = X,Y,Z start point for arrow head 1 on this section line.

arrowEnd1[3]  = X,Y,Z end point for arrow head 1 on this section line.

arrowWidth1  = width of arrow 1 on this section line.

arrowHeight1  = height of arrow 1 on this section line.

arrowStyle1  = style of arrow 1 on this section line.

arrowStart2[3]  = X,Y,Z start point for arrow head 2 on this section line.

arrowEnd2[3]  = X,Y,Z end point for arrow head 2 on this section line.

arrowWidth2  = width of arrow 2 on this section line.

arrowHeight2  = height of arrow 2 on this section line.

arrowStyle2  = style of arrow 2 on this section line.

textPt1[3]  = X,Y,Z point for the text location near arrow 1.

textPt2[3]  = X,Y,Z point for the text location near arrow 2.

textHeight  = text height in meters.

To get the actual text value, use IView::GetSectionLineStrings or IView::IGetSectionLineStrings.

 

See Also

Availability

SOLIDWORKS 2003 FCS, Revision Number 11.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:   IGetSectionLineInfo2 Method (IView)
*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) 2016 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.