set_edit_target_by_identifier

omni.usd.set_edit_target_by_identifier(stage: Stage, layer_identifier: str)

Sets the edit target of stage by layer identifier.

Parameters
  • stage (Usd.Stage) – Stage handle

  • layer_identifier (str) – Layer identifier

Returns

True if success, false if layer cannot be found, or layer is not in the layer statck of stage.