Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Login

    Import image to textures

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 264 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      On 25/03/2014 at 23:41, xxxxxxxx wrote:

      Cinema 4d -- > Edit --> Project Info -->Textures(Tab) --> import jpg files for texture.

      I have 2 jpg to import in my module. I used above method to import the jpg file manually. I planned to automate it using Python. I thought I can get the  c4d.BaseObject() id for the texture but I cant. Is there anyway I can automate the process. Any advice and reference linkis high appreciated. Thanks.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 11/04/2014 at 07:27, xxxxxxxx wrote:

        Textures as displayed in the Texture Manager are no certain entity and modifying them the
        way the Texture Manager does is not supported by the API. You can get a list of all used textures
        in the document via BaseDocument.GetAllTextures() if that helps you.

        Best,
        -Niklas

        1 Reply Last reply Reply Quote 0
        • First post
          Last post