Jump to content

Accessing Primitive's Number


MADjestic

Recommended Posts

Hey, folks

I’ve got a curve copied over a grid and I am trying to apply the appropriate primitive number to the bottom point of each curve. If I turn on ‘show primitive numbers’ – I see that every copied curve has a unique primitive number, however when applying $PR with AttribCreate SOP – all I get is 0. On the other hand $NPR (or is it $PRN?) shows the correct total number of primitives. What am I doing wrong?

Sorry, it seems that I can't upload the file (maybe I'll try it tomorrow from some inet cafe). Anyway the network set up is really easy - I group the bottom curve points into "goalpoints" (or whatever name you wish) group and then add AttributeCreate SOP, where I make the group "goalpoints", then I change the attribute type to "Point", set the value type to "Integer" and set the value to $PR. It seems that it should work, but it doesn't.

Thanks, and sorry for confusion.

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