Jump to content

Use Of Colons (:)


cspears2002

Recommended Posts

I've been reading the section on DOPs in "The Magic of Houdini". I noticed some the scripts use colons in the strings. For example, I was told to enter the following in the Object 1 field of an Object Merge SOP: `stamps("../OUT", "DATAPATH", "../..:clothobject1/Geometry")`

What is the colon used for?

Link to comment
Share on other sites

the : is used to extract the data out of DOPS

so u can technically extract any data out,

a good example to understand this feature is available off the Craig Zerouni dynamics DVD

where by making a fetch OBJ, and using

/obj/model/yourdop:yourobj/Position

ie

/obj/model/dopnet1:ball_1/Position

you can connect an object underneath the fetch obj, you'll see that the fetch node passes the "position data" of that obj in the dop network through to the child.

hence constraining the fetch node to the position of the ball in the dop network.

so the ../..:clothobject1/:geometry extracts the geometry out of the dop network

hope this helps

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...