Announcement

Collapse
No announcement yet.

PHX and scripting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHX and scripting

    I'm a rookie when it comes to scripting but I'm creating some tools and I need to expose the properties of PHXSource.
    Normally I'd type
    show $
    And I get the properties of the selected object.
    With Phoenix I get
    No Info Found on: PHXSource
    OK

  • #2
    Hey there ! Most of the scripting parameter names are available in the documentation right next to the UI version.
    For example : Mode | animmode - Chooses between different options for animation control.

    Not sure if that's any help. Hopefully Svetlin will chime in tomorrow with a better answer.
    gosho.genchev@chaosgroup.com

    Comment


    • #3
      I can get most from the macro recorder but not the Emitter Nodes

      Comment


      • #4
        Hey,

        Using a latest nightly I can list both the Fire and Liquid source's params using show $. Are you using an older build or a specific setup?

        As Gosho said, most parameters on docs site also show the script names: https://docs.chaosgroup.com/display/...+%7C+PHXSource

        Which parameter are you trying to access?

        Cheers!
        Svetlin Nikolov, Ex Phoenix team lead

        Comment


        • #5
          Hi Svetlin. Thanks and gah! now it displays what I was expecting.

          I was on the hunt for .sources : node array

          You are the best support ever!!

          show $
          .discharge : float
          .temperature : float
          .smoke : float
          .rgb : point3
          .fuel : float
          .velmult (Velocity) : float
          .sources : node array
          .usedmap : boolean
          .usetmap : boolean
          .usesmap : boolean
          .useuvwmap : boolean
          .useflmap : boolean
          .uset : boolean
          .usesm : boolean
          .useuvw : boolean
          .usefl : boolean
          .usevel : boolean
          .dmap : texturemap
          .tmap : texturemap
          .smap : texturemap
          .uvwmap : texturemap
          .flmap : texturemap
          .timebase : integer
          .iconsize : float
          .pick_ph : boolean
          .ifnotsolid : integer
          .prttype : integer
          .mtl_index : integer
          .partsize : boolean
          .useprt : boolean
          .particles : float
          .useprtmap : boolean
          .prtmap : texturemap
          .prtlife (Particles) : float
          .prtlifevar : float
          .prtexportid : boolean
          .prtexportage : boolean
          .liquidmode : boolean
          .noise : float
          .velmul : boolean
          .smxvelthr : float
          .prtxvel : boolean
          .prtxvelthr : float
          .prtsphsz (Custom_Size) : worldUnits
          .prt_shape : integer
          .dmoddisch : node
          .dmodt : node
          .dmodsm : node
          .dmodfl : node
          .dmodrgb : node
          .dmodprt : node
          .dontask : integer
          .dontshow : int array

          Comment


          • #6
            Yay, glad it worked out!
            Svetlin Nikolov, Ex Phoenix team lead

            Comment

            Working...
            X