copying expressions

Home Page forums Autodesk/Discreet Flame and Smoke copying expressions

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #200689
    jonhollis_vb
    Participant

    Hi all

    is there a way to copy and paste expressions, for example i want to have six axis referencing one common value, say the z parameter of an axis called z depth. so on the first axis i type z_depth.position.z then hit enter, on the next axis i want to go z_depth.position.z*2 etc etc. but i find i have to type everyone in as a common copy and paste will not work.

    any hints?

    jh

    #212234
    bnw
    Participant

    Check out the Cascading Expressions bit in the manual. It’s really neat, you can do that whole thing in one go by selecting the channels in order in Info view, then typing an expression like “SelectionOrder * z_depth.position.z”. That would put “1 * z_depth.position.z” on the first thing you selected, “2 * z_depth.position.z” on the second, “3 * z_depth.position.z” on the third and so on. Saves oodles of time… when you can remember to do it 😉 As well as SelectionOrder there’s CascadeChannel which is replaced by the name of the previous channel in the selection, easy to make a string of axes that follow each other about or whatever.

    If you just want exactly the same expression on lots of channels you can just select ’em all in Info view and hit Expr.

    #212233
    greek
    Participant

    hi,

    probably you know this already, but up/down cursor give you the previous entries in a text field; works with entering expressions too & is pretty much like copy/paste,
    you also could open a blank nedit window & xcopy (left mouse button selects, middle inserts) …

    ciao
    robert

    #212232
    sarbizaxnobsb
    Participant
    robc wrote:
    hi,

    probably you know this already, but up/down cursor give you the previous entries in a text field;

    thanks for that – i did know you could do the text thing with up and down arrows but i didnt know it could be done in the expressions field – silly me shouldve tried it – but thanks will save me stacks of time. Also i like the expressions in the info display too, didnt know that either.

    jh

    #212235
    Matias Vazquez
    Participant

    hi, this might help a little.. when using copy/link and pressing Expr the expression for the channel will appear saving time writing it.

    rob

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Copy link
Powered by Social Snap