expressions for 'packed' fracture geo

   1790   1   2
User Avatar
Member
183 posts
Joined: Dec. 2011
Offline
So I have been working with using point attributes from sops to control the active state of fractured geometry in dops and noticed that the old point(“../blah”, $OBJ, “attribute”, 0) seems to no longer work with the new packed geometry feature in 13. Is there a proper way to do this given the new system?
User Avatar
Staff
727 posts
Joined: Oct. 2012
Offline
Using $OBJ won't work for this type of scenario, because the RBD Packed Object uses a single DOP object to represent many objects in the simulation (one per packed primitive). Previously, there was a separate DOP object for each object in the simulation.

You can take a look at the ActivateObjects example file in the help, which shows how to use the ‘active’ point attribute on the packed primitives to disable certain objects. There was also a recent thread (http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=139834) [sidefx.com] about inheriting attributes from SOPs and alternatives to $OBJID.
  • Quick Links