{"id":467,"date":"2020-01-24T14:57:52","date_gmt":"2020-01-24T22:57:52","guid":{"rendered":"http:\/\/fx-td.com\/houdiniandchill\/?p=467"},"modified":"2020-01-24T14:59:36","modified_gmt":"2020-01-24T22:59:36","slug":"archived-post-by-ambrosiussen-5","status":"publish","type":"post","link":"http:\/\/fx-td.com\/houdiniandchill\/2020\/01\/24\/archived-post-by-ambrosiussen-5\/","title":{"rendered":"Archived post by Ambrosiussen"},"content":{"rendered":"<p class=\"\">Here&#8217;s a handy menuscript snippet to get all unique values of a certain attribute to show up in the little parm dropdown menu. Example with name attribute on points: &#8220;`import hou<br \/>\nAllAttribValues = set(hou.pwd().geometry().pointStringAttribValues(&#8216;name&#8217;)) Pairs = [[x, x] for x in AllAttribValues]<br \/>\nreturn sum(Pairs, [])&#8220;`<\/p>\n<p class=\"\">\n<p>Attachments in this post: <br \/><a href=\"http:\/\/fx-td.com\/houdiniandchill\/wp-content\/uploads\/discord\/20205701\/24\/20\/unknown.png\">http:\/\/fx-td.com\/houdiniandchill\/wp-content\/uploads\/discord\/20205701\/24\/20\/unknown.png<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a handy menuscript snippet to get all unique values of a certain attribute to show up in the little parm dropdown menu. Example with name attribute on points: &#8220;`import hou AllAttribValues = set(hou.pwd().geometry().pointStringAttribValues(&#8216;name&#8217;)) Pairs = [[x, x] for x in AllAttribValues] return sum(Pairs, [])&#8220;` Attachments in this post: http:\/\/fx-td.com\/houdiniandchill\/wp-content\/uploads\/discord\/20205701\/24\/20\/unknown.png<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/467"}],"collection":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/comments?post=467"}],"version-history":[{"count":0,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/467\/revisions"}],"wp:attachment":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/media?parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/categories?post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/tags?post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}