Expression to check if input is nurbs or polygon?

   2498   2   1
User Avatar
Member
26 posts
Joined: Sept. 2010
Offline
I'm currently creating a wall-system by which a wall shape is swept over a curve or line.

My problem is; if I use a nurbs curve as an input or a polygonal line, I want the input curve to a different node depending on if they are a polygon/nurbs.

My question therefore; is there an expression which can query the input path as a nurbs or a polygon?

Thanks,

- Samboosa.
User Avatar
Member
390 posts
Joined: Jan. 2012
Offline
isspline(surface_node, prim_num)

http://www.sidefx.com/docs/houdini12.1/expressions/isspline [sidefx.com]
.
User Avatar
Member
26 posts
Joined: Sept. 2010
Offline
Thanks! You're a genius! I had no idea to search for something so specific…
  • Quick Links