Hide Table of Contents
AddAngularRunningDim Method (IModelDocExtension)

Adds the specified angular running dimension for selected entities.

.NET Syntax

Visual Basic (Declaration) 
Function AddAngularRunningDim( _
   ByVal DisplayAsChain As System.Boolean, _
   ByVal RunBidirectionally As System.Boolean, _
   ByVal ExtensionLineExtendsFromCenterOfSet As System.Boolean, _
   ByVal LocX As System.Double, _
   ByVal LocY As System.Double, _
   ByVal LocZ As System.Double, _
   ByRef Retval As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim DisplayAsChain As System.Boolean
Dim RunBidirectionally As System.Boolean
Dim ExtensionLineExtendsFromCenterOfSet As System.Boolean
Dim LocX As System.Double
Dim LocY As System.Double
Dim LocZ As System.Double
Dim Retval As System.Integer
Dim value As System.Object
value = instance.AddAngularRunningDim(DisplayAsChain, RunBidirectionally, ExtensionLineExtendsFromCenterOfSet, LocX, LocY, LocZ, Retval)
System.object AddAngularRunningDim( 
   System.bool DisplayAsChain,
   System.bool RunBidirectionally,
   System.bool ExtensionLineExtendsFromCenterOfSet,
   System.double LocX,
   System.double LocY,
   System.double LocZ,
   out System.int Retval
System.Object^ AddAngularRunningDim( 
&   System.bool DisplayAsChain,
&   System.bool RunBidirectionally,
&   System.bool ExtensionLineExtendsFromCenterOfSet,
&   System.double LocX,
&   System.double LocY,
&   System.double LocZ,
&   [Out] System.int Retval


True to chain the angular dimensions together, false to not
True if each angular dimension runs in a direction closest to the baseline, false if all angular dimensions run in the same direction (see Remarks)
True to extend the extension lines from the center of the set of angular running dimensions, false to not
X coordinate of baseline dimension (see Remarks)
Y coordinate of baseline dimension (see Remarks)
Z coordinate of baseline dimension (see Remarks)
Error as defined by swCreateAngRunDimError_e

Return Value

Array of IDisplayDimensions



Before calling this method, call IModelDocExtension::SelectByID2 with Append set to true to select the baseline entity and all entities whose angles from the baseline entity you want to measure and display.

A vertical line is constructed between [LocX, LocY, LocZ] and the baseline entity. The baseline dimension (0) is displayed at [LocX, LocY, LocZ].

If RunBidirectionally is... Then...
True No angle dimension in the angular running dimension is greater than 180from the baseline, and each angle is measured from a direction that is closest to the baseline.
False The running direction of all angle dimensions is determined by the first angle dimension added. For example, if the user places the baseline dimension at the top of the part, clicking on a feature to the right of the baseline dimension forces all subsequent angular dimensions to be measured clockwise from the baseline.

Selections made after this method is called add angular dimensions to the set. When you have finished adding angular dimensions to the set, call IModelDoc2::SetPickMode.


See Also


SOLIDWORKS 2014 FCS, Revision Number 22.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

Subject:   Feedback on Help Topics
Page:   AddAngularRunningDim Method (IModelDocExtension)
*   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:


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

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.