Stylesheets with packed and groups doubt
6777 15 3- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
Sorry maybe I couldn't explain correctly my problem so I am going to try be clearer.
In the file I have a packed fracture object where I want to change my “inside” and “outside” materials using style sheets, so if I try to assign materials to those respectively groups created by the voronoi fracture using the “target” and the “condition” option to “primitive groups” and type the group names it doesn't work but if I type “1500-1800” on the group name you can see some primitives getting the material, so my problem is to understand how use group names correctly in the style sheets, I was hoping that someone could help me with that.
Thanks in advance.
In the file I have a packed fracture object where I want to change my “inside” and “outside” materials using style sheets, so if I try to assign materials to those respectively groups created by the voronoi fracture using the “target” and the “condition” option to “primitive groups” and type the group names it doesn't work but if I type “1500-1800” on the group name you can see some primitives getting the material, so my problem is to understand how use group names correctly in the style sheets, I was hoping that someone could help me with that.
Thanks in advance.
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- goldleaf
- スタッフ
- 4199 posts
- Joined: 9月 2007
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- goldleaf
- スタッフ
- 4199 posts
- Joined: 9月 2007
- Offline
You're right, it's something to do with packed fragments. If you toggle Pack Geometry Before Copying on the Copy SOP, and un-click Create Packed Geometry on the Assemble, it works fine since they're packed geometries. Or if you unlock the Assemble, and turn off Create Fragments on the Pack SOP.
Hopefully someone with a deeper knowledge can chime in with more insight as to why, because to me it feels like a bug as well.
Hopefully someone with a deeper knowledge can chime in with more insight as to why, because to me it feels like a bug as well.
I'm o.d.d.
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- jsmack
- Member
- 8041 posts
- Joined: 9月 2011
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- niczoom
- Member
- 15 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 976 posts
- Joined: 4月 2008
- Offline
- David Pekarek
- Member
- 17 posts
- Joined: 3月 2014
- Offline
Hi, if you're still trying to resolve this, there is an easy workaround:
use name SOP to generate name attribute based on group names, then use that name to pack your geo. That will give you packed fragments based on group names (it will have Path attrib including the original group name). In the style sheet, target ‘Primitive name or path attrib’ instead of ‘Primitive group’ and you should be set.
See the picture in attachment.
use name SOP to generate name attribute based on group names, then use that name to pack your geo. That will give you packed fragments based on group names (it will have Path attrib including the original group name). In the style sheet, target ‘Primitive name or path attrib’ instead of ‘Primitive group’ and you should be set.
See the picture in attachment.
Edited by David Pekarek - 2018年1月30日 06:04:56
-
- Quick Links