ConfigurationColumns.addThreadTypeColumns Method

Parent Object: ConfigurationColumns

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/Configurations/ConfigurationColumns.h>

Description

Creates the columns in the configuration table to control the type of thread associated with a thread feature or a tapped hole. Because configuring a thread requires several pieces of information, this method collects it all at once and creates all the corresponding feature aspect columns.

Syntax

"configurationColumns_var" is a variable referencing a ConfigurationColumns object.
returnValue = configurationColumns_var.addThreadTypeColumns(threadFeature, threadColumns)
"configurationColumns_var" is a variable referencing a ConfigurationColumns object.

#include <Fusion/Configurations/ConfigurationColumns.h>

returnValue = configurationColumns_var->addThreadTypeColumns(threadFeature, threadColumns);

Return Value

Type Description
ConfigurationFeatureAspectColumn[] Returns an array of the columns created. They are in order of type, size, designation, and class.

Parameters

Name Type Description
threadFeature Feature The thread or tapped hole feature whose thread will be controlled by the configuration table.
threadColumns ConfigurationThreadColumns Enum value that indicates which columns should be created to control the thread type. You can fully define the thread type by specifying the type, size, designation, and class. Or you can leave the thread type controlled by the feature and only configure the size, designation, and class. Or you can leave the thread type and size controlled by the feature and only configure the designation and class. Or you can leave the thread type, size, and designation controlled by the feature and only configure the class. As a result, this can create and return 4, 3, 2, or 1 columns.

Version

Introduced in version September 2024