Jump to content

Delete primitive by color


Recommended Posts

I'm trying to apply a black color to an object that is an attribute transfer and then delete the black primitive.
I'm trying to do it using blast or delete as in the sample attached here, but it doesn't work.

If anyone knows how to delete the primitisample.hipve with black color, please let me know.

Link to comment
Share on other sites

@yujiyuji I use This for any colors on any Prim or Point It works you have ex.
 

@Cd[0]>`chs("newparameter")`
int maxpt = chi('maxpt');
float rad = chf('rad');
int handle = pcopen(0,  "P", @P, rad, maxpt);
int storepts = pcnumfound(handle);
@store = fit(storepts, 0,maxpt,0,1);
@Cd = @store;

 

sampleOD.hiplc

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