ThreadDataQuery.getHubLibraryThreadTypes Method

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

Description

Returns thread types filtered by hub library. Pass an empty string to return all thread types from all sources, equivalent to allThreadTypes. Pass a hub library ID from availableHubLibraryIds to return only that library's thread types.

Syntax

"threadDataQuery_var" is a variable referencing a ThreadDataQuery object.

returnValue = threadDataQuery_var.getHubLibraryThreadTypes(hubLibraryId)
"threadDataQuery_var" is a variable referencing a ThreadDataQuery object.

#include <Fusion/Features/ThreadDataQuery.h>

returnValue = threadDataQuery_var->getHubLibraryThreadTypes(hubLibraryId);
"threadDataQuery_var" is a variable referencing a ThreadDataQuery object.

returnValue = threadDataQuery_var.getHubLibraryThreadTypes(hubLibraryId);

Return Value

Type Description
string[] Returns the matching thread types, or an empty array if the ID is not recognized.

Parameters

Name Type Description
hubLibraryId string The hub library ID to filter by, or an empty string for all sources.

Version

Introduced in version July 2026