tamte

tamte

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Why do I have to add "@" before attribute name in Point Wrangle but not HDA Jan. 19, 2017, 12:23 p.m.

@ is a special syntax for snippets to bind to an attribute
it's not part of VEX language
you can dive into Point Wrangle, RMB on attribvop1 inside and choose VEX/VOP Options/View VEX Code… to actually see the VEX code created from your snippet

more help on snippets here https://www.sidefx.com/docs/houdini15.5/vex/snippets [sidefx.com]

if you are building your operators directly in VEX, then certain types of operators already have some Global Variables that may be bound to or return certain data like SOP type operator you mentioned, however you can't just use the same logic for custom attributes, as well I'm not sure if P or Cd or other would just work like that for CVEX operators, you would need to define them as operator function arguments

How should I debug operator errors? Sept. 26, 2016, 2:21 a.m.

error message on digital assets can be a long list of all error messages from contained operators, therefore it's truncated
just dive into the node and you will see more errored out nodes
start MMB inspecting them from the top to learn more specific errors
if necessary keep diving in until you find the culprit or until it makes sense

“Invalid source..” type of error usually means that some of the input nodes errored out, so you will have to inspect that one

Randomizing scatter points seed value with for loop Sept. 26, 2016, 2:14 a.m.

on your loop Block Begin Node click on Create Meta Import Node
that contains some info like current iteration, value, number of iteration… as detail attibutes
so you can reference it from your seed attribute using detail() expression like:
detail("../foreach_begin1_metadata1/", "iteration", 0)