sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Get_datfile_info

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 201 Views 2 Watching
    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.
    • Al HartA Offline
      Al Hart
      last edited by

      This is clear as mud.

      Does anyone know what Sketchup.dat is or what Sketchup.get_datfile_info does

      @unknownuser said:

      Sketchup.get_datfile_infoSketchUp 6.0+

      The get_datfile_info method is used to retrieve the value for the given key from Sketchup.dat.
      
      If the key is not found, default_value is returned.
      
      Arguments:
      
      key
          The key whose value you want to retrieve.
      
      default_value
          The default value you want returned if key is not available.
      
      Returns:
      
      value
          a string value if successful.
      
       value = Sketchup.get_datfile_info(key, default_value)
      

      Al Hart

      http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
      IRender nXt from Render Plus

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        The file seem to be a config file of SU.

        @unknownuser said:

        // NOTE TO USERS: Making modifications to this file is not recommended as it will be overwritten
        // each time an upgrade is installed.

        I don't see much useful info in it for us...
        Possibly it could be used to brand SU - but as the file warns - it'll be overwritten upon SU updates...

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement