CinnamonMetal 21 Posted June 30, 2018 The Pack SOP doesn't create a @name attribute; how can it be created otherwise without using the assembly SOP ? Share this post Link to post Share on other sites
ThomasPara 114 Posted July 1, 2018 You can use whatever to set your name attribute as long as its a primitve attribute. ex: put down a connectivity and use the @class attribute. s@name = "piece"+itoa(i@class); or you could use the primitive number itself s@name = "packed_prim"+itoa(@primnum); or closest point to this primitive int nearpt = nearpoint(1,@P); s@name = "say_my_name"+itoa(nearpt); or get the name of the closest point int nearpt = nearpoint(1,@P); s@name = point(1,"name",nearpt); Its just an attribute you can call whatever and name whatever. If several primitives have the same attribute with the same value, they get packed togheter. 1 Share this post Link to post Share on other sites
CinnamonMetal 21 Posted July 1, 2018 (edited) The pack sop shows the name attribute but immediately following is the connect adjacent pieces sop and that shows 0 ? Edited July 1, 2018 by CinnamonMetal Share this post Link to post Share on other sites
ThomasPara 114 Posted July 1, 2018 (edited) In the "attribute transfer", set it to name. After that insert an attribute promote, where you promote your name attribute from primitive to point. Now your connect adjacent pieces will have the name attribute. connect_adjacent_01.hiplc Edited July 1, 2018 by ThomasPara example file Share this post Link to post Share on other sites
CinnamonMetal 21 Posted July 1, 2018 The connectivity sop is set to point as the attribute class; why use an attribute transfer to convert it to point when it's already a point attribute ? Sorry if I'm not understanding something Share this post Link to post Share on other sites
ThomasPara 114 Posted July 2, 2018 I was tierd when i wrote that post, but its all in the file. Share this post Link to post Share on other sites