Hide Table of Contents
ObjectSizesAway Property (IModelView)

Helps define the perspective of the current model view by relating the size of a displayed object with the distance of the object from the observer.

.NET Syntax

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

Property Value

Distance of the object from the observer, relative to the size of the object

Remarks

This property controls the same value as the view, display, perspective information dialog box. It gives the ratio of the distance of the object from the observer to the size of the object. The smaller the value, the greater the amount of perspective distortion.

You can only modify or get this property when the current model view has the perspective display enabled. See IModelView::AddPerspective and IModelView::RemovePerspective. If perspective display is disabled, getting the property returns -1, and setting the property has no effect.

See Also



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:   ObjectSizesAway Property (IModelView)
*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) 2016 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.