Jump to content

Forloop Example From Codex


kubabuk

Recommended Posts

Has anyone used from loop from the Codex?

http://odforce.net/codex/index.php?page=5&...ty=&limit=5

I am confused with the expresion on Cook button:

opdef:/Sop/forloop?cook.cmd

I assume this way I get an access to a cook button in forloop SOP, but what does .cmd do?

thanks

Kuba

No, "opdef:/Sop/forloop?cook.cmd" is syntax to refer to a script called "cook.cmd" stored on the "Sop/forloop" asset.

Right click on the forloop SOP and select "Operator Type Manager", then right click on the "Sop/forloop" asset in the Oparators list and select "Edit Contents". Now you have access to the "cook.cmd" script.

Link to comment
Share on other sites

No, "opdef:/Sop/forloop?cook.cmd" is syntax to refer to a script called "cook.cmd" stored on the "Sop/forloop" asset.

Right click on the forloop SOP and select "Operator Type Manager", then right click on the "Sop/forloop" asset in the Oparators list and select "Edit Contents". Now you have access to the "cook.cmd" script.

Should have added ... pressing the "cook" button on the asset executes the callback which calls the script using the opdef syntax.

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...