jerry7
April 6, 2014 12:30:47
hi,
In Details View, there are Intrinsic Attribute in primitve and detail list.
It seemed doesn't work just like regular attribute. How to use them in Sop group parameter something like @vertextcount>4 ?
thanks!
wolfwood
April 6, 2014 12:35:50
http://www.sidefx.com/docs/houdini13.0/vex/functions/primintrinsic [
sidefx.com]
There is also a detailintrinsic() too that doesn't show up in the help. Same function prototypes but without the prim num.
jerry7
April 7, 2014 00:39:36
thank you Wolfwood,
Where could i find a full fucntions or default attributes list? I find many things not be mentioned in help reference. For example, I want use primitive index in Attribute Wrangle, and i search document ,nothing! Untill I find @primnum by guessing many words. Very confuse!
tamte
April 7, 2014 00:59:15
it's not so hidden
in the help to Attrib Wrangle you have link to VEX snippets syntax where you can find that info
http://www.sidefx.com/docs/houdini13.0/vex/snippets#attributes [
sidefx.com]
or refer to docs 12.5 where it is on attribwrangle page
http://www.sidefx.com/docs/houdini12.5/nodes/sop/attribwrangle [
sidefx.com]
the intrinsic attribute list you can find directly in spreadsheet for any SOP node
in Primitives or Detail modes you can see the list in Intrinsics Menu
sdugaro
Oct. 23, 2015 16:05:20
how does one do this with HOM?
node = hou.pwd()
geo = node.geometry()
# Add code to modify contents of geo.
# Use drop down menu to select examples.
print geo.intrinsicNames()
print geo.intrinsicValue(“primitivetokens”)
#print geo.intrinsicValue(“measuredperimeter”)
('globaltokens', ‘primitivetokens’, ‘memoryusage’, ‘vertexcount’, ‘pointcount’, ‘primitivecount’, ‘vertexattributes’, ‘pointattributes’, ‘primitiveattributes’, ‘globalattributes’, ‘detailattributes’, ‘vertexgroups’, ‘pointgroups’, ‘primitivegroups’, ‘edgegroups’, ‘bounds’, ‘metaexpr_code’, ‘metaexpr_string’)
('abcanimation', … ‘measuredarea’, ‘measuredperimeter’, ‘measuredvolume’, ‘memoryusage’, … ‘vwrap’)
not sure how to tell it to lookup a prim intrinsic from a python sop.
t.i.a.
tamte
Oct. 23, 2015 16:25:12