Logo
  • Kit Overview
  • Kit Architecture
  • Kit Core IApp Interface
  • Extensions (Basic)
  • Extensions (Advanced)
  • Extensions (USD Schema)
  • Testing Extensions with Python
  • Testing Extensions with C++
  • Documenting Extensions
  • Publishing Extensions
  • Creating Kit Apps
  • Configuring
  • Logging
  • Profiling
  • Python Scripting
  • Embedded Kit Python
  • Using Python pip packages
  • Dictionaries and Settings
  • Event Streams
  • Tokens Reference
  • Linux Troubleshooting
  • Frequently Asked Questions
  • API (pxr)
  • API (python)
    • Modules
      • omni.kit.app
      • omni.ext
        • Classes
        • Functions
          • create_link
          • destroy_link
          • get_dangling_references
          • get_extension_name
          • get_extensions_interface
          • is_link
          • pack_extension
          • unpack_extension
          • acquire_ext_interface
          • acquire_extensions_interface
          • release_ext_interface
      • carb.settings
      • carb.tokens
      • carb.events
kit-manual
  • »
  • API (python) »
  • Modules »
  • omni.ext »
  • omni.ext Functions »
  • create_link
  •  

create_link

omni.ext.create_link(link_path: str, target_path: str, target_is_dir=True)

Creates a symbolic link from ‘link_path’ to ‘target_path’

Parameters
  • link_path – Absolute or relative path to link to create

  • target_path – Absolute or relative path to target; if relative then it is relative to ‘link_path’

  • target_is_dir – This boolean is only used on Windows to specify if the target is a directory or file.


© Copyright 2019-2022, NVIDIA. Last updated on Nov 18, 2022.