ThreadDataQuery.threadTypeUnit Method

Parent Object: ThreadDataQuery
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/ThreadDataQuery.h>

Description

Method that returns the unit for a given thread type.

Syntax

"threadDataQuery_var" is a variable referencing a ThreadDataQuery object.
returnValue = threadDataQuery_var.threadTypeUnit(threadType)
"threadDataQuery_var" is a variable referencing a ThreadDataQuery object.

#include <Fusion/Features/ThreadDataQuery.h>

returnValue = threadDataQuery_var->threadTypeUnit(threadType);

Return Value

Type Description
string Returns the specified unit or empty string if an invalid thread type was specified.

Parameters

Name Type Description
threadType string The thread type you want to get the thread unit type for.

Version

Introduced in version January 2015