Hide Table of Contents
Scale2 Property (IDisplayDimension)

Gets or sets the scale value that is applied to the dimension value of this non-associative distance dimension.

.NET Syntax

Visual Basic (Declaration) 
Property Scale2 As Double
Visual Basic (Usage) 
Dim instance As IDisplayDimension
Dim value As Double
 
instance.Scale2 = value
 
value = instance.Scale2
C# 
double Scale2 {get; set;}
C++/CLI 
property double Scale2 {
   double get();
   void set (double value);
}

Return Value

Scale applied to the dimension value

Remarks

This scale value applies only to non-associative distance dimensions, such as those created using IDrawingDoc::CreateLinearDim4 or IDrawingDoc::CreateDiamDim4. For these dimensions, SolidWorks multiplies the actual dimension measurement by this scale value to get the dimension value that is displayed on the screen. For any other types of dimensions (such as associative dimensions or angular measurement dimensions), setting the scale factor has no effect and getting the scale factor will always return 1.

The scale value must be greater than 0. This has no effect in the OLE interface, and returns S_false in the COM interface.

After using this property, use IModelDoc2::GraphicsRedraw2 to redraw the graphics window to see your changes.

See Also

Availability

SolidWorks 2000 FCS, Revision Number 8.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:   Scale2 Property (IDisplayDimension)
*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) 2012 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.