GetRecommendedDistance

Returns a recommended viewing distance (in meters) from the object. This distance is calculated based on the size of the object in the 3D Window.

 

JavaScript

 

GetRecommendedDistance()

 

C#

 

double GetRecommendedDistance()

 

C++

 

HRESULT GetRecommendedDistance(

       double* pVal)

Return Value

pVal

The recommended viewing distance, in meters, from the object.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.