GetProfileValue


Gets a single value from a profile, located at the specified X (real-world) coordinate.

Syntax

C++
C#
Python
 
def GetProfileValue(
	inProfile: Profile,
	inX: float,
	/,
	*,
	inSmooth: bool = False
)
-> outValue: float

Parameters

Name Type Default Description
Input value inProfile Profile Input profile
Input value inX float X coordinate at which the profile value is calculated
Input value inSmooth bool False Determines whether an interpolation between two profile elements should be smooth
Output value outValue float