Daskerdaks Posted July 2, 2016 Share Posted July 2, 2016 Is it possible to do attribute transfer on a per word basis on the font sop? I've been able to create a hip file example with an on a per letter basis transfer. Letters with effector.hiplc Quote Link to comment Share on other sites More sharing options...
fencer Posted July 2, 2016 Share Posted July 2, 2016 (edited) how about... Letters with effector.hiplc Edited July 2, 2016 by fencer 1 Quote Link to comment Share on other sites More sharing options...
f1480187 Posted July 2, 2016 Share Posted July 2, 2016 By creating @name attribute per word. per_word.hipnc 1 Quote Link to comment Share on other sites More sharing options...
fencer Posted July 3, 2016 Share Posted July 3, 2016 17 hours ago, f1480187 said: By creating @name attribute per word. per_word.hipnc "textindex" gap didn't notice that Quote Link to comment Share on other sites More sharing options...
Daskerdaks Posted July 4, 2016 Author Share Posted July 4, 2016 Thanks you guys are awesome. I can see that even my basic letter example method can be improved and simplified - I need to be learning at least a little bit of VEX asap, it's going to be tough for my Cinema 4D brain ;-) 1 Quote Link to comment Share on other sites More sharing options...
ikoon Posted March 13, 2018 Share Posted March 13, 2018 Thank you very much!!! I have added one more if() to the code. Because characters, which are made from more segments (for example i ; : ? ! = ě š í á), were splitting the words: if (i@textindex - 1 != i@opinput1_textindex) { if ( i@textsymbol != i@opinput1_textsymbol) { @name = "word"; } } Quote Link to comment Share on other sites More sharing options...
Noobini Posted March 13, 2018 Share Posted March 13, 2018 yeah i and j are most obvious test cases...here's my modded logic if (abs(i@textindex - i@opinput1_textindex) > 1) { @name = "word"; } greater than 1 is for white spaces... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.