clear_attr_val_at_time

omni.usd.clear_attr_val_at_time(attr: Attribute, time_code=Usd.TimeCode.Default(), auto_target_layer: bool = True)

Clears attribute at specified timecode.

Parameters
  • attr (Usd.Attribute) – Attribute handle.

  • time_code (_type_, optional) – specified timecode. Defaults to Usd.TimeCode.Default().

  • auto_target_layer (bool, optional) – When it’s True and the property exists in session layer or its sublayers, it will switch EditTarget to the session layer instead to clear the strongest opinion. Defaults to True.