WorkingModel.createInterferenceInput Method

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

Description

Creates an InterferenceInput object. This object collects the entities and options that are used when calculating interference. To analyze interference you first create an InterferenceInput supplying the entities and set any other settings and then provide this object as input to the analyzeInterference method.

Syntax

"workingModel_var" is a variable referencing a WorkingModel object.
returnValue = workingModel_var.createInterferenceInput(entities)
"workingModel_var" is a variable referencing a WorkingModel object.

#include <Fusion/Fusion/WorkingModel.h>

returnValue = workingModel_var->createInterferenceInput(entities);

Return Value

Type Description
InterferenceInput Returns an InterferenceInput object which you can use to set any other interference settings and then use as input to the analyzeInterference method to calculate the interference. Returns null if the creation failed.

Parameters

Name Type Description
entities ObjectCollection An ObjectCollection containing the BRepBody and/or Occurrence entities that will be used in the interference calculation. All entities must be in the context of the root component of the top-level design.

Version

Introduced in version January 2024