add ui script

Forum Archive add ui script

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19577
    tanya
    Participant

      I appended the ui from the crane and appended it to wrangler file and edited it and added the custom property, which worked.  When I look for the ui script for the crane doesn’t appear in the file directory, but my file for the wrangler does, how is the crane file packaged with the .blend file so someone would just need the .blend file?  Hopefully this question makes sense, trying to avoid the weight painting.  thanks.

      #92761
      Omar Domenech
      Participant

        I’m going to give it a shot. It’s either enabling the icon shield for the fake user:

        Fake-User.png

        Or perhaps packing the resources work for .py files:

        Pack-Resources.png

        #92762
        Wayne Dixon
        Participant

          Hi T,
          I love that you’re trying to connect all the things that you have learnt.

          Let’s see if I can help you out.

          It’s not clear exactly what the issue is – and there’s 2 things I think you might be experiencing.

          Are you saying…
          A. That when you send the file to someone and the ui script isn’t in the blend file?

          Or

          B. When you link/append the Wrangler into a new file, the ui script isn’t there?

          ——
          A
          ——

          The first thing I would try is what Omar has mentioned.  If the script doesn’t have any users it might be saved with your file.  So if you open it up again it will be gone.

          Another thing to try is to see if you have actually loaded the file from disk and it isn’t actually in the file itself. 
          Check in the bottom on the text editor and see if it says Text Internal or External.

          If it is external I think you can just click on it to make it internal, it will look like a life ring flotation device (you know the type of thing they throw to you from a boat when you fall overboard).

          ———

          B

          ———

          If you are appending the Wrangler and the UI isn’t coming along, you need to attach it to the rig with the data_block property.

          First add a custom property
          Type: Data-Block
          ID Type: Text
          Property Name: something logical

          Then you will see that custom property on the armature data (where you create it)

          Choose the ui script from the pop up.
          a_20250121102334.png

          Then the script will always follow along with your rig into any file.

          Let me know if that answered your question.

          #92763
          tanya
          Participant

            Thanks, I needed to know how to make it internal.  Have a good day. –  T

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘add ui script’ is closed to new replies.