Hide Table of Contents
GetBreakLineInfo2 Method (IView)

Gets information for all of the break lines in this view.

.NET Syntax

Visual Basic (Declaration) 
Function GetBreakLineInfo2() As System.Object
Visual Basic (Usage) 
Dim instance As IView
Dim value As System.Object
 
value = instance.GetBreakLineInfo2()
C# 
System.object GetBreakLineInfo2()
C++/CLI 
System.Object^ GetBreakLineInfo2(); 

Return Value

Array of data for all break lines in the view (see Remarks)

Example

Remarks

The return value is a one-dimensional array consisting of the following data:

 

              [ breaklineStyle, color, lineType, lineStyleIndex, lineWeight, layerId,

    layerOverride, numLines, numArcs, numSplines, [break line data] ]

 

where:

 

breaklineStyle

Break line style as defined in swBreakLineStyle_e

color

COLORREF returned as an integer; 0 or -1 for default color

lineType

Line type as defined in swLineTypes_e; lineType is a combination of a lineStyle and lineWeight

lineStyleIndex

Line style as defined in swLineStyles_e

lineWeight

Line width as defined in swLineWeights_e

layerId

An integer value indicating which layer holds this entity; ILayer can be obtained by passing this integer value to ILayerMgr::GetLayerById and ILayerMgr::IGetLayerId

layerOverride

An integer with bit flags set to determine which properties, if any, have been overridden with respect to the Layer default properties. If the bit value is set, then the specific property or properties have been overridden. Valid bit values as defined in swLayerOverride_e:

  • color = 0x1

  • style = 0x2

  • width = 0x4

Therefore, if LayerOverride is returned as 3, then the color and style are specifically set for this item and may not match the default values associated with this item's layer.

numLines

Number of line segments if a straight or zig zag break

numArcs

Number of arc lines if a curve break

 numSplines  Number of spline lines if a jagged break

 

If the break line style is swBreakLineStyle_e...

Then [ break line data ] is packed with...

swBreakLine_Straight

12 doubles (2 lines * 1 segment * 2 points * 3 coordinates)

swBreakLine_ZigZag

60 doubles (2 lines * 5 segments * 2 points * 3 coordinates)

swBreakLine_SmallZigZag

60 doubles (2 lines * 5 segments * 2 points * 3 coordinates)

swBreakLine_Curve

for each arc line in the break:

  • arc direction (1 double)

  • start point (3 doubles)

  • end point (3 doubles)

  • center point (3 doubles)

swBreakLine_Jagged

for each spline line in the break:

  • n (1 integer)
  • 3*n doubles (n points * 3 coordinates)

where:

n is the number of spline points generated based on the jagged cut shape intensity selected by the user in the Break View Property Manager

 

 

 

See Also

Availability

SOLIDWORKS 2011 FCS, Revision Number 19.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:   GetBreakLineInfo2 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) 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.