Hide Table of Contents
GetDimensionDisplayInfo5 Method (IView)

Gets the display dimension information for the current drawing sheet or the current drawing view.

.NET Syntax

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

Return Value

Array of doubles (see Remarks)

Remarks

The data returned is an array of doubles as follows:

  dimensionCount, [lineCount, [lineSegmentCount [StartPt[3], endPt[3] ] ], arcCount, [arcSegmentCount, [arcCenter[3], [StartPt[3], EndPt[3] ] ], arrowCount, [ arrowTipPt[3], arrowVector[3], arrowWidth, arrowHeight ], tolType, isDual, showParens, textAngle, value1Pos[3], tolmax1Pos[3], tolmin1Pos[3], value2Pos[3], tolmax2Pos[3], tolmin2Pos[3], prefixPos[3], suffixPos[3], tolbox1Corner1[3], tolbox1Corner2[3], tolbox2Corner1[3], tolbox2Corner2[3], parenArc1Start[3], parenArc1End[3], parenArc1Center[3], parenArc1Vector[3], parenArc2Start[3], parenArc2End[3], parenArc2Center[3], parenArc2Vector[3], callout1TextPos[3], callout2TextPos[3] ]

where:

dimensionCount  = number of dimensions found in the drawing sheet or drawing view

For each dimension:

lineCount = number of extension and leader lines for this dimension

For each line:

StartPt[3] = array of three doubles representing the line start point

EndPt[3] = array of three doubles representing the line end point

 Repeating the StartPt[3] and EndPt[3] pair up to lineSegmentCount

arcCount = number of leader lines which are arcs for this dimension

For each arc:

arcCenter[3] = array of three doubles representing the arc center point

StartPt[3] = array of three doubles representing the arc start point

EndPt[3] = array of three doubles representing the arc end point

 Repeating the arcCenter[3], StartPt[3], and EndPt[3] group up to arcSegmentCount

arrowCount = number of arrowheads for this dimension

arrowTipPt[3] = array of three doubles representing the arrowhead tip location

arrowVector[3] = array of three doubles representing the arrow direction

arrowWidth = arrowhead width

arrowHeight = arrowhead height

 Repeating the arrowTipPt[3], arrowVector[3], arrowWidth and arrowHeight group up to arrowCount arrowheads

tolType = tolerance type as defined in swTolType_e

isDual = True if this dimension is a dual dimension, false otherwise

showParens = True if parenthesis are shown, false otherwise

The next 25 values represent text angle and positioning. All text positions are the upper-left corner of the string.

textAngle = text angle in radians (counter clockwise from +ve x-axis)

value1Pos[3] = XYZ position of text 1; the position is the upper-left corner of the actual string

tolmax1Pos[3] = XYZ position of maximum tolerance text 1

tolmin1Pos[3]  = XYZ position of minimum tolerance text 1

value2Pos[3] = XYZ position of text 2; data returned is only valid if isDual is True

tolmax2Pos[3]  = XYZ position of maximum tolerance text 2; data returned is valid when isDual is True

tolmin2Pos[3]  = XYZ position of minimum tolerance text 2; data returned is valid when isDual is True

prefixPos[3] = XYZ position of prefix text

suffixPos[3] = XYZ position of suffix text

The next 12 values represent the box corners for dimensions with swTolBASIC tolerance types:

tolbox1Corner1[3] = XYZ corner 1 of tolerance box 1

tolbox1Corner2[3] = XYZ corner 2 of tolerance box 1

tolbox2Corner1[3] = XYZ corner 1 of tolerance box 2; data returned is valid when isDual is True

tolbox2corner2[3]  = XYZ corner 2 of tolerance box 2; data returned is valid when isDual is True

The next 24 values are valid when showParens is True; for example, when this is a reference dimension.

parenArc1Start[3] = XYZ start point of the arc representing parenthesis 1

parenArc1End[3]  = XYZ end point of the arc representing parenthesis 1

parenArc1Center[3]  = XYZ center point of the arc representing parenthesis 1

parenArc1Vector[3]  = XYZ reference direction for the arc representing parenthesis 1

parenArc2Start[3]  = XYZ start point of the arc representing parenthesis 2

parenArc2End[3]  = XYZ end point of the arc representing parenthesis 2

parenArc2Center[3]  = XYZ center point of the arc representing parenthesis 2

parenArc2Vector[3]  = XYZ reference direction for the arc representing parenthesis 2

 

callout1TextPos[3] = XYZ position of first callout text (text above)

callout2TextPos[3] = XYZ position of second callout text (text below)

 

 Repeating the entire lineCount callout2TextPos group up to dimensionCount dimensions

 

For example, if a particular sheet or view had two dimensions, and the first dimension had three lines, zero arcs, and two arrows, and the second dimension had two lines, one arc, and two arrows, then array returned would be as follows:

[ 2, 3, line1StartPtx, y, z, line1EndPtx, y, z, line2StartPtx, y, z, line2EndPtx, y, z, line3StartPtx, y, z, line3EndPtx, y, z, 0, 2, arrow1TipPtx, y, z, arrow1Vectorx, y, z, arrow1Width, arrow1Height, arrow2TipPtx, y, z, arrow2Vectorx, y, z, arrow2Width, arrow2Height, tolType, isDual, showParens, textAngle, value1Posx, y, z, tolmax1Posx, y, z, tolmin1Posx, y, z, value2Posx, y, z, tolmax2Posx, y, z, tolmin2Posx, y, z, prefixPosx, y, z, suffixPosx, y, z, tolbox1Corner1x, y, z, tolbox1Corner2x, y, z, tolbox2Corner1x, y, z, tolbox2Corner2x, y, z, parenArc1Startx, y, z, parenArc1Endx, y, z, parenArc1Centerx, y, z, parenArc1Vectorx, y, z, parenArc2Startx, y, z, parenArc2Endx, y, z, parenArc2Centerx, y, z, parenArc2Vectorx, y, z, callout1TextPosx, y, z, callout2TextPosx, y, z, 2, line1StartPtx, y, z, line1EndPtx, y, z, line2StartPtx, y, z, line2EndPtx, y, z, 1, arc1Vertexx, y, z, arc1StartPtx, y, z, arc1EndPtx, y, z, 2, arrow1TipPtx, y, z, arrow1Vectorx, y, z, arrow1Width, arrow1Height, arrow2TipPtx, y, z, arrow2Vectorx, y, z, arrow2Width, arrow2Height, tolType, isDual, showParens, textAngle, value1Posx, y, z, tolmax1Posx, y, z, tolmin1Posx, y, z, value2Posx, y, z, tolmax2Posx, y, z, tolmin2Posx, y, z, prefixPosx, y, z, suffixPosx, y, z, tolbox1Corner1x, y, z, tolbox1Corner2x, y, z, tolbox2Corner1x, y, z, tolbox2Corner2x, y, z, parenArc1Startx, y, z, parenArc1Endx, y, z, parenArc1Centerx, y, z, parenArc1Vectorx, y, z, parenArc2Startx, y, z, parenArc2Endx, y, z, parenArc2Centerx, y, z, parenArc2Vectorx, y, z, callout1TextPosx, y, z, callout2TextPosx, y, z]

 

where the 3, 0, 2 and 2, 1, 2 represent the number of lines, arcs and arrows for each of the two dimensions. The information for the second dimension is underlined to distinguish it from information returned for the first dimension.

 

See Also

Availability

SolidWorks 2005 FCS, Revision Number 13.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:   GetDimensionDisplayInfo5 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) 2010 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.