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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Get ALL relative Textures?

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 596 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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 17/03/2011 at 15:30, xxxxxxxx wrote:

      I'm treating lots of textures, bitmaps, and have loads of COFFEE scripts
      for that. Porting them over to Python I wonder if there is anything like
      the "GenerateTexturePath(name,fn)" that return -all- instances within
      itself (default doc path, default app path and the userpaths).

      To me it looks as if I need to do my own iterative search for each
      of the possible levels:
      app & app/tex
      doc & doc/tex
      and all user paths 0 to 9. (GetGlobalTexturePath(i) )

      Is this correct, or have I missed the Python object for this?

      (All absolute textures is no problem)

      Cheers
      Lennart

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 17/03/2011 at 16:28, xxxxxxxx wrote:

        Just looking into dircache.listdir(), so maybe it ain't to bad.

        Cheers
        Lennart

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