Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. kilian
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    kilian

    @kilian

    0
    Reputation
    2
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    kilian Unfollow Follow

    Latest posts made by kilian

    • RE: Get asset from asset browser python

      @ferdinand
      Thanks a lot Ferdinand for this detailed and complete answer! This is exactly what I hoped to do! I tested the code and it works great!

      Since a few of the fixes you use are not recommended, i will solve it in another way for now, until it gets fixed for python, or i switch to C++. I got my plugin doing what i want, for the moment.

      Pretty sure this will also help someone else in the future.

      Have a nice day!

      posted in Cinema 4D SDK
      K
      kilian
    • RE: Get asset from asset browser python

      @dunhou
      Thank you so much for your answer!
      I might be mistaken, but I don't think this is usable because i don't know the "assetId". The script has to find out which asset is selected, not dragged, just selected.
      Or am i missing something?

      posted in Cinema 4D SDK
      K
      kilian
    • Get asset from asset browser python

      Hi,

      I can't seem to figure out how to get a reference to selected items in the asset browser.
      Ideally I want to select a few textures in the assetbrowser, press the script button, and then use the filepaths to plug into texture channels.
      How do I access the currently selected asset, and if that's not possible using python, how do i go about dragging them into something to acces them?

      Thank you!

      posted in Cinema 4D SDK python
      K
      kilian