Home Page › forums › Autodesk/Discreet › Flame and Smoke › copying expressions
- This topic has 4 replies, 5 voices, and was last updated 14 years, 8 months ago by Matias Vazquez.
-
AuthorPosts
-
March 6, 2006 at 7:01 pm #200689jonhollis_vbParticipant
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
March 6, 2006 at 7:45 pm #212234bnwParticipantCheck 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.
March 7, 2006 at 4:53 pm #212233greekParticipanthi,
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
robertMarch 8, 2006 at 8:23 am #212232sarbizaxnobsbParticipantrobc 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
March 9, 2006 at 1:42 pm #212235Matias VazquezParticipanthi, this might help a little.. when using copy/link and pressing Expr the expression for the channel will appear saving time writing it.
rob
-
AuthorPosts
- You must be logged in to reply to this topic.
