PMIImportedNote.convertImportedToFusionPMI Method

Parent Object: PMIImportedNote

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/PMI/PMIImportedNote.h>

Description

Converts this PMIAnnotation to a Fusion PMIAnnotation if it is of supported type and has valid reference geometry.

Supported types are:

Imported PMI annotation (PMIImportedDimension) and valid reference geometry is converted to Hole/Thread Note PMI.

Imported PMI annotation (PMIImportedNote) and valid reference geometry is converted to Leader Line Note PMI.

Imported PMI folder (PMIImportedFolder) which includes information about a Hole Note is converted to Hole/Thread Note PMI.

The converted PMIAnnotation can then be edited.

After successful conversion, the new PMIAnnotation will be added to the collection of PMI in the component, and the original PMIAnnotation will be removed. If it fails to convert, the original PMIAnnotation remains unchanged.

Syntax

"pMIImportedNote_var" is a variable referencing a PMIImportedNote object.
returnValue = pMIImportedNote_var.convertImportedToFusionPMI()
"pMIImportedNote_var" is a variable referencing a PMIImportedNote object.

#include <Fusion/PMI/PMIImportedNote.h>

returnValue = pMIImportedNote_var->convertImportedToFusionPMI();

Return Value

Type Description
PMIAnnotation Returns the converted Fusion PMIAnnotation or null in the case of failure to convert.

The type of the object returned is the base class PMIAnnotation.

Version

Introduced in version April 2026