Jump to content

VEXpression Presets


Noobini

Recommended Posts

YEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

At long last...I've worked out the preset for this

Select Ends: (First/Last of a prim, will work on non curve too...but would probably be next to useless, try the pig :huh:)

groupexpression/snippet
    Ends (or First/Last)
    vertexprimindex(0, @vtxnum)%(primvertexcount(0,@primnum)-1)==0

As you can see, No, you don't need to use a for each prim loop...just a groupexpression.

SelectEnds.jpg

Edited by Noobini
  • Like 1
Link to comment
Share on other sites

1 hour ago, anim said:

did you ever need a loop?

 

the way i used to do it was groupbyrange, Start 1 End 1, Invert Range, then for multi lines yes i would need to put it thru a for each prim loop or for each connected piece

Link to comment
Share on other sites

just FYI, recc by a hou.alex.get on SESI forum

https://www.sidefx.com/forum/topic/72597/?page=1#post-307209

Now, I'm putting file in: (so hopefully next uninstall/install i won't lose my custom presets)

C:\Users\xxx\Documents\houdini18.0\

(note:the entries double up so you'll have to clear out what's already the default contents and include only YOUR custom presets in there)

Link to comment
Share on other sites

Yes, definitely put your custom VEXpressions.txt in the user directory, much safer than editing the original file.  The user directory VEXpressionl.txt file will get automatically appended to the SESI version, so only add the custom expressions starting from a blank file (not a copy of the SESI version).

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...