ThreadDataQuery.recommendThreadData Method

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

Description

Method that gets the recommended thread data for a given model diameter.

Syntax

"threadDataQuery_var" is a variable referencing a ThreadDataQuery object.

(returnValue, designation, threadClass) = threadDataQuery_var.recommendThreadData(modelDiameter, isInternal, threadType)

#include <Fusion/Features/ThreadDataQuery.h

// Declare the output arguments.
double modelDiameter;
boolean isInternal;
string threadType;
string designation;
string threadClass;
boolean returnValue = threadDataQuery_var->recommendThreadData(modelDiameter, isInternal, threadType, designation, threadClass);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
modelDiameter double The diameter of the cylinder the thread will be placed on. The units are centimeters.
isInternal boolean Indicates if the thread is an internal or external thread.
threadType string Specifies the thread type to query the thread data.
designation string The output thread designation.
threadClass string The output thread class.

Version

Introduced in version January 2015