Jump to content

expression error


cloudfx

Recommended Posts

Hi all,

I have a grid with various size of faces on it.

Its extruded and I added connectivity sop to create class attribute.

I made group with partition sop with this expression :

piece_$CLASS

and it worked, it showed me :

43 primitives in piece_1

78 primitives in piece_2

23 primitives in piece_3

21 primitives in piece_4

....

and I was trying to delete some groups with delete sop and copy sop looping.

post-3325-1220919556_thumb.jpg

'"piece_" + stamp("../copy2","copynum",0)'

It keep saying that it is invalid group name.

Thanks,

-j

Edited by Jae Yoo
Link to comment
Share on other sites

try

piece_`stamp("../copy2","copynum",0)`

Thanks, its working but why?

Last time, I did similar work, and it worked that way. with something like this:

'"_" + stamp("../copy2","copynum",0)'

Can you explain why so that I can understand clear?

Thanks!

-j

Link to comment
Share on other sites

Thanks, its working but why?

Last time, I did similar work, and it worked that way. with something like this:

'"_" + stamp("../copy2","copynum",0)'

Can you explain why so that I can understand clear?

Thanks!

-j

actually you can use them both

but if you are entering a string value into a string parameter it is not necessary to put it in ""

your first expression should work also, but maybe you entered ' (to the left from Enter) instead of ` (under the Escape)

Link to comment
Share on other sites

actually you can use them both

but if you are entering a string value into a string parameter it is not necessary to put it in ""

your first expression should work also, but maybe you entered ' (to the left from Enter) instead of ` (under the Escape)

Thanks for reply!!

is it possible to select by the groups that I made? like from group "piece_45" to "piece_78"?

I have those bunch of groups, right? but I want to select specific groups and make a big group out of the group so that I can delete some.

Edited by Jae Yoo
Link to comment
Share on other sites

Thanks for reply!!

is it possible to select by the groups that I made? like from group "piece_45" to "piece_78"?

I have those bunch of groups, right? but I want to select specific groups and make a big group out of the group so that I can delete some.

you can procedurally manipulate groups by Group Geometry SOP

look at Combine tab, here you can merge, intersect, subtract groups

in the Edit tab there are other operations, like convert, rename and delete

or manually with the select tool, you have grouplist and a few operations in the operation controls bar above the viewport

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