Logo

kit-manual

  • 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
  • Migration Guide
  • API (pxr)
  • API (python)
    • Modules
      • omni.kit.app
        • Classes
          • IApp
          • IAppScripting
          • SettingChangeSubscription
        • Functions
          • deprecated
          • get_app
          • log_deprecation
          • send_telemetry_event
          • acquire_app_interface
          • crash
      • omni.ext
        • Classes
          • DownloadState
          • ExtensionManager
          • ExtensionPathType
          • ExtensionStateChangeType
          • ICppExt
          • IExt
          • IExtensionManagerHooks
          • IExtensions
          • IHookHolder
          • IRegistryProvider
        • Functions
          • create_link
          • destroy_link
          • get_all_sys_paths
          • get_dangling_references
          • get_extension_name
          • get_extensions_interface
          • get_fast_importer_sys_paths
          • is_link
          • pack_extension
          • unpack_extension
          • acquire_ext_interface
          • acquire_extensions_interface
          • release_ext_interface
      • carb.settings
        • Classes
          • ChangeEventType
          • ISettings
          • SubscriptionId
        • Functions
          • get_settings
          • lru_cache
          • acquire_settings_interface
      • carb.tokens
        • Classes
          • ITokens
        • Functions
          • get_tokens_interface
          • acquire_tokens_interface
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-2023, NVIDIA. Last updated on Jul 30, 2023.