Jump to content

Getting volume attributes via wrangle and group by type


Recommended Posts

I'm trying to get attributes from a volume and group them by whatever data type they are. I was able to get the float type attributes imported, but I'm having difficulties with the vector types.

My plan was to use the attribsize function to separate the attributes per type, but I believe that my code at the moment isn't looking in the right place.
 

int attribType = attribsize(0,"prim",attributes);
printf("Attrib %s = %s\n", attributes, attribType);

If you have any ideas or solutions it'll be highly appreciated. Thanks!
 

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