Share

Application.mfgdmDataReady Event

Parent Object: Application
Defined in namespace "adsk::core" and the header file is <Core/Application/Application.h>

Description

The mfgdmDataReady event fires when the MFGDM data structure for a document has been updated and properties to IDs and structure from the data model is ready.

Syntax

-------- Import ---------
# Import fusion360utils folder, which includes event_utils.py.
from ...lib import fusion360utils as futil

-------- Global variables ---------
# Global variable used to maintain a reference to all event handlers.
local_handlers = []

-------- Connect the handler to the event. ---------
# "application_var" is a variable referencing an Application object.
# "application_mfgdmDataReady" is the event handler function.
futil.add_handler(application_var.mfgdmDataReady, application_mfgdmDataReady, local_handlers=local_handlers)

-------- Event handler function definition ---------
# Event handler for the mfgdmDataReady event.
def application_mfgdmDataReady(args: adsk.core.MFGDMDataEventArgs):
# Code to react to the event.
app.log('In application_mfgdmDataReady event handler.')

Property Value

This is an event property that returns a MFGDMDataEvent.

Samples

Name Description
Gets all properties using GraphQL

Fetches bulk component properties of the root component and from occurrences via single GraphQL query.

Get part number using GraphQL Fetches part number of root component and from occurrences via GQL query.
Set part number using GraphQL Sets part number of root component and from occurrences via GQL query.

Version

Introduced in version July 2025

Was this information helpful?