Jump to content

Removing neighbour prims


Recommended Posts

Greetings! 

I have branches that are made up of 1-4 curves. The first curve is always the main branch that the other curves are attached to.

My question is: How do I go about to only keep my first curve and delete the other ones connected to it? 

Or if it's possible; Would it be possible to merge each branch of curves into one prim? 

In the picture below you see a branch that consist of multiple primitives. I have many iterations of these.

 I want to keep the start section of the prim and delete the others. 

 

9197b199d165660414ac3ac669000b3f.png

Edited by hampuseh
Forgot to add picture
Link to comment
Share on other sites

Hey.

You could try to add a prim attribute to each prim as you make them then it's simply deleting all prims that don't match the desired value.
The solution somewhats depends on how you make the branche.

For example if you use a for loop to add a new set of braches each loop, you would store the iteration number on the prim.
Afterwards you could say blast everything that has a iteration number higher then X

 

Link to comment
Share on other sites

Thanks for your reply :)
I forgot to mention that these curves are not something I made, these have been imported from other software. So I can't really do that approach. So they get imported with 1-4 branches each. 

But I think I got some sort of idea of how to do it, mostly just trial and error at this time though.

 

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...