Hide Table of Contents
GetBreakLineInfo Method (IView)

Obsolete. Superseded by IView::GetBreakLineInfo2.

.NET Syntax

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

Return Value

Array of break line information (see Remarks)

Remarks

The return value is the following array of doubles:

 

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

  layerOverride, number of lines, number of arcs ], line data or arc data ]

 

 

breaklineStyle

Valid returns are found in swBreakLineStyle_e

color

COLORREF returned as an integer. Return value could be 0 or -1 for default color

lineType

Valid returns are found in swLineTypes_e. A lineType is a combination of a lineStyle and lineWeight.

LineStyleIndex

Valid line styles can be found in swLineStyles_e.

lineWeight

An integer value defining the line width. Valid width values can be found in swLineWeights_e.

layerId

An integer value indicating which layer holds this entity. The ILayer object 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. The bit indicators are:

  • color = 0x1

  • style = 0x2

  • width = 0x4

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

Number of lines

Number of pairs of lines in the break line.

Number of arcs

Number of pairs of arcs in the break line.

 

Each break line is a pair of line segments:

 

For...

Then...

swBreakLineStraight

Each has 1 line for a total of 4 points:

  • LineStartPt[3]

  • Line1EngPt[3]

  • Line2StartPt[3]

  • Line2EndPt[3]

swBreakLineZigZag

Each has 5 lines

swBreakLine_SmallZigZag

Each has 5 lines

swBreakLine_Curve

Each has 2 arcs; data is packed as follows:

  • arcDirection

  • startPoint

  • EndPoint

  • CenterPoint

 

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:   GetBreakLineInfo 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) 2014 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.