unreal.InterchangeUsdContext

class unreal.InterchangeUsdContext(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Interchange Usd Context

C++ Source:

  • Plugin: InterchangeOpenUSD

  • Module: InterchangeOpenUSDImport

  • File: InterchangeUsdContext.h

get_stage_id() int64

Returns the ID the provided stage has within the USDUtils’ singleton StageCache.

Return type:

int64

set_stage_id(stage_id) None

Sets the ID of a particular stage from the UsdUtils’ singleton StageCache. If this corresponds to a valid USD Stage, that stage will be used for the Interchange import.

Parameters:

stage_id (int64)