Visibility toggle to invisible after saving file to inherit

I will link to a previous recommendation to delete the data and cache folders from the core Omniverse installation location

The problem I am seeing is happening when starting from the CLI with the —relocatable flag and —relocation-root set to a new folder so the data and cache are created from scratch so this solution is not viable

Is it possible that the visiblilty is toggled to invisible on file save or on file open.

What I can do to investigate is save the file as ASCII and inspect the file before and after saving

But I have wasted 5 hours on this bug, because you can fix it temporarily in a GUI session and see a mesh turned on but when working with the CLI you only ever get the invisibility invisible result

Clearly for my use case I need the file to match the saved state and to work reliably each time every time

I am working with Omniverse Machinima 2023.2, which is abandoned, but I need the mesh to mesh binding from the toolkit contained within Machinima, is this available to be used as an extension in Omniverse Kit elsewhere?

Related issue

This recording with audio explains the issue

model.zip (22.5 MB)
Data used in example, is attached.

Intended output when the background mesh doesn’t dissapear

from the following text based input

{
    "filename": "Seven Eleven Maurice and Camilla",
    "actor_list": [
      {
        "name": "JD",
        "studio_speaker": "Damien Black",
        "actor_in_costume": "Kevin_M_0003"
      },
      {
        "name": "Veronica",
        "studio_speaker": "Claribel Dervla",
        "actor_in_costume": "Jody_F_0002"
      }
    ],
    "dialog_list": [
     {
        "actor_idx": 0,
        "actor_line": "You going to pull a Big Gulp with that?"
      },
      {
        "actor_idx": 1,
        "actor_line": "No, but if you're nice I'll let you buy me a Slurpee"
      },
      {
        "actor_idx": 1,
        "actor_line": "You know your 7-11 speak pretty well."
      },
      {
        "actor_idx": 0,
        "actor_line": "Ive been moved around all my life"
      },
      {
        "actor_idx": 0,
        "actor_line": "Dallas, Baton Rouge, Vegas, Sherwood, Ohio, there's always a 7-11."
      },
      {
        "actor_idx": 0,
        "actor_line": "Any town, any time, I can pop a Ham and Cheese in the microwave and feast on a Big Wheel."
      },
      {
        "actor_idx": 1,
        "actor_line": "Really? That thing in the cafe today was pretty severe."
      },
      {
        "actor_idx": 0,
        "actor_line": "The extreme always makes an impression,"
      },
      {
        "actor_idx": 0,
        "actor_line": "but you're right, it was severe."
      },
      {
         "actor_idx": 0,
         "actor_line": "Did you say a Cherry or Coke Slurpee?"
      },
      {
         "actor_idx":1,
         "actor_line": "I didn't. Cherry."
      }
    ]
  }

Hi Samuel,
Thanks for posting this. Unfortunately, it is very hard to support a very old and discontinued product like Machinima. This was built on kit many versions ago. I tried to open your file, and it is just the environment without textures.

I am not clearly understanding your actual issue. I tried to watch your video explaining it, but the audio seems messed up. I think what you are asking is, how to open a usd file with it remembering whether something is set to invisible or not ? I know that USD Composer does this. I cannot be sure about the old Machinima.

Let me see if I can ask someone here. Have you tried this file in the brand new USD Composer ? I think you need to switch over.

You have misunderstood.

The file is saved with the default setting of visibility set to “inherited” but when the file is opened in the application Omniverse Machinima 104.2+release.3.518fd52a.tc we see the mesh is set to “invisible” regardless of the fact the setting in the USDA file is clearly set to “inherited”

I can try this with the latest version of Composer.

But there is an extension that I need to use that is part of the extension Audio2Face Utility

see screen shot

Which makes this graph

Via the Animation > Audio2Face Toolbox > Mesh > ConnectPoints

or in code

from omni.anim.toolbox.mesh import connectPointsTool

def connect_them(shape1: str, shape2: str):
    ctx = omni.usd.get_context()
    ctx.get_selection().set_selected_prim_paths([shape1, shape2], True)
    connectPointsTool()

I will see what the state of affairs are in USD Composer 105.1.2+release.138975.ece658d9.tc under Linux

maybe some of these tools do the same thing

ls -la  /home/sam/.local/share/ov/pkg/create-2023.2.5/extscache/ | grep mesh
drwxrwxr-x   7 sam sam  4096 Nov 20 11:07 omni.kit.manipulator.tool.mesh_snap-1.4.4+105.1
drwxrwxr-x   9 sam sam  4096 Nov 20 11:07 omni.kit.mesh.raycast-105.3.1+105.1.lx64.r.cp310
drwxrwxr-x   7 sam sam  4096 Nov 20 11:07 omni.kit.primitive.mesh-1.0.15+ece658d9
drwxrwxr-x   7 sam sam  4096 Nov 20 11:07 omni.kit.tools.mergemesh-0.1.6

it seems the good stuff is in

machinima-2022.3.0/extscache/omni.anim.toolbox-104.9.0+104.1.cp36.cp37

Opening the file created in Omniverse Machinima 104.2+release.3.518fd52a.tc in USD Composer 105.1.2+release.138975.ece658d9.tc results in a SEGSIGV crash.

I will get the crash report now.

here is the report

2024-11-20 00:55:53 [18,115ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,115ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,115ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,116ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,116ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,117ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,117ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,117ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,118ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,118ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,119ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,119ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,119ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [18,120ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for 'omni.deform.GetPoints'
2024-11-20 00:55:53 [226ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] Crash metadata for upload:
2024-11-20 00:55:53 [232ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   CarbSdkVersion = '158.6+release158.tc9913.c9b72f4f'
2024-11-20 00:55:53 [238ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   CrashTime = 'Wed Nov 20 00:55:53 2024 GMT'
2024-11-20 00:55:53 [244ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   DriverShaderCacheWrapper = 'disabled'
2024-11-20 00:55:53 [250ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   DumpId = '2ee21385-c89a-4b4b-cb676ca0-836424a7'
2024-11-20 00:55:53 [256ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   ProductName = 'OmniverseKit'
2024-11-20 00:55:53 [262ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   PythonTracebackStatus = ''py-spy' successfully wrote info to '/home/sam/.local/share/ov/data/Kit/USD.Composer/2023.2/2ee21385-c89a-4b4b-cb676ca0-836424a7.py.txt''
2024-11-20 00:55:53 [268ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   RetryCount = '0'
2024-11-20 00:55:53 [274ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   StartupTime = '1732064135'
2024-11-20 00:55:53 [280ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   UploadSuccessful = '0'
2024-11-20 00:55:53 [286ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   UptimeSeconds = '18'
2024-11-20 00:55:53 [292ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   UserStory = ''
2024-11-20 00:55:53 [298ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   UserStoryStatus = ''crashreport.gui' exited with code 127'
2024-11-20 00:55:53 [304ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   Version = '105.1.2+release.138975.ece658d9.tc'
2024-11-20 00:55:53 [310ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   aftermath_enabled = '1'
2024-11-20 00:55:53 [316ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   aftermath_flags = '3'
2024-11-20 00:55:53 [322ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   aftermath_status = 'auto-enabled'
2024-11-20 00:55:53 [328ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   aftermath_version = '2022.2'
2024-11-20 00:55:53 [334ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   appName = 'USD.Composer'
2024-11-20 00:55:53 [340ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   appState = 'opening'
2024-11-20 00:55:53 [346ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   appVersion = '2023.2.5-prod.3'
2024-11-20 00:55:53 [352ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   autoloadExts = ''
2024-11-20 00:55:53 [358ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildBranch = 'release'
2024-11-20 00:55:53 [364ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildCi = 'tc'
2024-11-20 00:55:53 [370ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildHash = 'ece658d9'
2024-11-20 00:55:53 [376ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildId = '19952404'
2024-11-20 00:55:53 [382ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildMajor = '105'
2024-11-20 00:55:53 [388ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildMinor = '1'
2024-11-20 00:55:53 [394ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildMr = '0'
2024-11-20 00:55:53 [400ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildNumber = '138975'
2024-11-20 00:55:54 [406ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildPatch = '2'
2024-11-20 00:55:54 [412ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   buildVersion = '105.1.2'
2024-11-20 00:55:54 [418ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   carboniteFrameworkVersion = '158.6+release158.tc9913.c9b72f4f'
2024-11-20 00:55:54 [424ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   carboniteSdkVersion = '158.6+release158.tc9913.c9b72f4f'
2024-11-20 00:55:54 [430ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   commandLine = '/home/<username>/.local/share/ov/pkg/create-2023.2.5/kit/kit /home/<username>/.local/share/ov/pkg/create-2023.2.5/apps/omni.create.kit'
2024-11-20 00:55:54 [436ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   cpuId = 'Intel64 Family 6 Model 151 Stepping 2'
2024-11-20 00:55:54 [442ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   cpuName = '12th Gen Intel(R) Core(TM) i9-12900KF'
2024-11-20 00:55:54 [448ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   cpuVendor = 'GenuineIntel'
2024-11-20 00:55:54 [454ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   desktopOrigin = '(0, 0)'
2024-11-20 00:55:54 [460ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   desktopSize = '3840x1080'
2024-11-20 00:55:54 [466ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   displayCount = '2'
2024-11-20 00:55:54 [472ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   displayRes_0 = '1920x1080x32bit@60Hz'
2024-11-20 00:55:54 [478ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   displayRes_1 = '1920x1080x32bit@60Hz'
2024-11-20 00:55:54 [484ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   email = ''
2024-11-20 00:55:54 [490ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   environmentName = 'Individual'
2024-11-20 00:55:54 [496ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   experience = 'USD Composer'
2024-11-20 00:55:54 [502ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   externalBuild = '1'
2024-11-20 00:55:54 [508ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   gpuDriver_0 = '550.120'
2024-11-20 00:55:54 [514ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   gpuVRAM_0 = '51784974336'
2024-11-20 00:55:54 [520ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   gpu_0 = 'NVIDIA RTX A6000'
2024-11-20 00:55:54 [526ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   kitRendererDriverVersion = '550.120'
2024-11-20 00:55:54 [532ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   lastCommand = 'SetLightingMenuModeCommand(lighting_mode=,usd_context_name=)'
2024-11-20 00:55:54 [538ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   lastCommands = 'SetLightingMenuModeCommand(lighting_mode=,usd_context_name=)'
2024-11-20 00:55:54 [544ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   memoryStats = '(avail/total) RAM: 113.955/125.636GB, Swap: 2/2GB, VM: 1.71799e+10/1.71799e+10GB'
2024-11-20 00:55:54 [551ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   nvidia-smi = 'Wed Nov 20 11:25:35 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.120                Driver Version: 550.120        CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX A6000               Off |   00000000:01:00.0  On |                  Off |
| 30%   52C    P8             36W /  300W |    1022MiB /  49140MiB |     28%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      3411      G   ............./Xorg                            370MiB |
|    0   N/A  N/A      3628      G   ......../gnome-shell                          258MiB |
|    0   N/A  N/A      4405      G   ...ures=SpareRendererForSitePerProcess         65MiB |
|    0   N/A  N/A      9719      G   ...seed-version=20241119-050110.198000        108MiB |
|    0   N/A  N/A     11821      G   ...yOnDemand --variations-seed-version         57MiB |
|    0   N/A  N/A     17185      G   ...nglingPtr --variations-seed-version        104MiB |
|    0   N/A  N/A     24206      G   ......../gnome-system-monitor                  32MiB |
+-----------------------------------------------------------------------------------------+
'
2024-11-20 00:55:54 [557ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   osDistro = 'ubuntu'
2024-11-20 00:55:54 [563ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   osName = '24.04.1 LTS (Noble Numbat)'
2024-11-20 00:55:54 [568ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   osVersion = '24.04.1'
2024-11-20 00:55:54 [574ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   portableMode = '0'
2024-11-20 00:55:54 [580ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   primaryDisplayRes = '1920x1080x32bit@60Hz'
2024-11-20 00:55:54 [586ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   runEnvironment = 'Individual'
2024-11-20 00:55:54 [592ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   shaderdb_debugSymbols = '0'
2024-11-20 00:55:54 [598ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   shaderdb_dumpIncludeOverrides = '0'
2024-11-20 00:55:54 [604ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   shaderdb_dumpIntermediates = '0'
2024-11-20 00:55:54 [610ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   shaderdb_obfuscateCode = '1'
2024-11-20 00:55:54 [616ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   shaderdb_optimizationLevel = '1'
2024-11-20 00:55:54 [622ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   startup_time = '3.516921886'
2024-11-20 00:55:54 [628ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   systemInfo = '
|---------------------------------------------------------------------------------------------|
| Driver Version: 550.120       | Graphics API: Vulkan
|=============================================================================================|
| GPU | Name                             | Active | LDA | GPU Memory | Vendor-ID | LUID       |
|     |                                  |        |     |            | Device-ID | UUID       |
|     |                                  |        |     |            | Bus-ID    |            |
|---------------------------------------------------------------------------------------------|
| 0   | NVIDIA RTX A6000                 | Yes: 0 |     | 49386   MB | 10de      | 0          |
|     |                                  |        |     |            | 2230      | cd0782c7.. |
|     |                                  |        |     |            | 1         |            |
|=============================================================================================|
| OS: 24.04.1 LTS (Noble Numbat) ubuntu, Version: 24.04.1, Kernel: 6.8.0-40-generic
| XServer Vendor: The X.Org Foundation, XServer Version: 12101011 (1.21.1.11)
| Processor: 12th Gen Intel(R) Core(TM) i9-12900KF | Cores: 16 | Logical: 32
|---------------------------------------------------------------------------------------------|
| Total Memory (MB): 128651 | Free Memory: 121219
| Total Page/Swap (MB): 2047 | Free Page/Swap: 2047
|---------------------------------------------------------------------------------------------|
'
2024-11-20 00:55:54 [634ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   telemetrySessionId = '13331240000149879143'
2024-11-20 00:55:54 [641ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   terminatedByAbort = '0'
2024-11-20 00:55:54 [647ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   userId = 'default'
2024-11-20 00:55:54 [653ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   workingDirectory = '/projects/gitlab/aiml/screen-play-to-video'
2024-11-20 00:55:54 [659ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] Crash report files for upload:
2024-11-20 00:55:54 [665ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]   upload_file_minidump = '/home/sam/.local/share/ov/data/Kit/USD.Composer/2023.2/2ee21385-c89a-4b4b-cb676ca0-836424a7.dmp.zip'
2024-11-20 00:55:55 [2,020ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] uploaded minidump: file: '/home/sam/.local/share/ov/data/Kit/USD.Composer/2023.2/2ee21385-c89a-4b4b-cb676ca0-836424a7.dmp.zip', code:200, response:
2024-11-20 00:55:55 [2,035ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash]     329f5980-a6da-11ef-9b7b-02118f185035
2024-11-20 00:55:55 [2,041ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] Deleting file: '/home/sam/.local/share/ov/data/Kit/USD.Composer/2023.2/2ee21385-c89a-4b4b-cb676ca0-836424a7.dmp.zip' (use setting "/crashreporter/preserveDump=true" to save)
2024-11-20 00:55:55 [2,047ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] Deleting file: '/home/sam/.local/share/ov/data/Kit/USD.Composer/2023.2/2ee21385-c89a-4b4b-cb676ca0-836424a7.dmp.zip.toml'
2024-11-20 00:55:55 [2,053ms] [Error] [carb.crashreporter-breakpad.plugin] [crash]     the dump file was deleted due to a successful upload. Its originalsize was 375621 bytes and was readable.

Seems like a legit extension:

https://docs.omniverse.nvidia.com/extensions/latest/ext_omnigraph/node-library/nodes/omni-deform-shared/omni-deform-getpoints-1.html

So here is the result with the connectPoints turned off in Machinima 104.x.y, result from Composer 105.x.y coming up soon.

This is the same file loaded up in Omniverse USD Composer 105.1.2+release.138975.ece658d9.tc

Note the lack of lipsync is the problem, both videos have audio track.

while I am doing my own tech support

this didnt work

2024-11-20 01:34:14 [3,760ms] [Error] [omni.ext.plugin] Failed to resolve extension dependencies. Failure hints:
	[omni.create-2023.2.5-prod.3] dependency: (name: 'omni.deform.shared', tag: '', version: '', exact: 0, optional: 0) can't be satisfied. Available versions:
	 (none found)

2024-11-20 01:34:14 [3,760ms] [Error] [omni.kit.app.plugin] Exiting app because of dependency solver failure...

By adding the line

"omni.deform.shared" = {}

into

create-2023.2.5/apps/omni.create.kit

Ok but why are you manually setting the property to inherited? That is what I am not getting. You don’t have to do that. Just set it visible or invisible in the stage tree with the eyeball. Inherited would only be used in a very special occasion.

Start at the top. What are you trying to do? Load a usd file with stage hidden? Why are you needing to do this in the command line?

Wow!

There are two settings for visibility in USD, “inherited” and “invisible”

Have a look at the NVIDIA docs

I am doing this from the command line because I am a software engineer and I cannot press buttons 24/7 but the tools that I can write can operate 24/7 in the hands of a user.

This visibility issue is a small grain of sand in an entire desert of functionality.