lightspeed.trex.hotkeys lightspeed.trex.logic.core #############################

  • SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

  • SPDX-License-Identifier: Apache-2.0

  • Licensed under the Apache License, Version 2.0 (the “License”);

  • you may not use this file except in compliance with the License.

  • You may obtain a copy of the License at

  • https://www.apache.org/licenses/LICENSE-2.0

  • Unless required by applicable law or agreed to in writing, software

  • distributed under the License is distributed on an “AS IS” BASIS,

  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  • See the License for the specific language governing permissions and

  • limitations under the License.

class lightspeed.trex.logic.core.LogicGraphCore#

Core logic for Remix Logic graphs.

static get_existing_logic_graphs(
stage: Stage,
paths: list[Path],
) list[Prim]#

Get the names of the existing logic graphs under provided paths

static is_graph_prim_editable(graph: Prim) bool#

Returns True if the given graph prim is editable by the remix application

lightspeed.trex.logic.core.get_ogn_default_value(
attr: Attribute,
) Any#

Get an OGN attribute’s default value as a USD-compatible Python type.

Uses og.python_value_as_usd() for proper type conversion (Gf.Vec3f, etc.)