Recommended for you

Our recommendation engine has come up with some personalized suggestions for you.

Discover more products

    Is this your street address?

    Card

    ···· ···· ···· 4242
    Test card

    05/18

    Card

    Use a different card?

    Card

    pp paypal

    or pay with

    We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

    or pay with

    Please confirm your location:
    Your card will be charged .

    Thank you!

      Gumroad Library

      Download from the App Store or text yourself a link to the app

      Download from the App Store or text yourself a link to the app

      Send SMS
      Nevermind

      $0+

        Maya : Float to String

        Maya : Float to String

        This plugin will register a Maya node that can convert a float to a string so it can be used in combination with an annotation. The display precision can be adjusted and so can a prefix and suffix be added.

        Installation

        Copy the rjFloatToString.py file in any of the directories that are in your MAYA_PLUG_IN_PATH environment variable

            C:/Program Files/Autodesk/<MAYA_VERSION>/plug-ins

        Copy all the png files in any of the directories that are in your XBMLANGPATH environment variable

            C:/Program Files/Autodesk/<MAYA_VERSION>/icons

        Usage

        Node

            from maya import cmds
            # create nodes
            floatToString = cmds.createNode("floatToString")
            annotation = cmds.createNode("annotationShape")
            # set attributes
            cmds.setAttr("{0}.precision".format(floatToString), 1)
            cmds.setAttr("{0}.prefix".format(floatToString), "height:", type="string")
            cmds.setAttr("{0}.suffix".format(floatToString), "mm", type="string")
            # connect to annotation
            cmds.connectAttr(
                "{0}.output".format(floatToString),
                "{0}.text".format(annotation)
            )
        Sorry, this item is not available in your location.
        Sold out, please go back and pick another option.

        You've already purchased this product.

        • Size 57 KB

        Card

        ···· ···· ···· 4242
        Test card

        05/18

        Card

        Use a different card?

        Card

        pp paypal

        or pay with

        We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

        or pay with

        Please confirm your location:
        Your card will be charged US$0.

        Your rental will be available for 30 days. Once started, you’ll have 72 hours to watch it as much as you’d like!

        Thank you!

          Gumroad Library

          Download from the App Store or text yourself a link to the app

          Download from the App Store or text yourself a link to the app

          Send SMS
          Nevermind