Jump to content

geometry OUt


Recommended Posts

for $i = 1 to 10 step 1
fcur $i
opsave /obj/my_model/my_sop C:/temp/dmp.$F.bgeo
end

"help opsave" says that you can do something like

opsave [-v] [-f start end] [-i inc] operator filename

opsave -f 1 10 -i 2 twist1\$F.bgeo twist1

But the above example will just save 10 different bgeo files over top of [the current value of $F].bgeo. So this is why I used the for loop. I have no idea how to use opsave to output a different file in a sequence by using the -f option. :unsure: Any ideas?

And on another note.... the pdf help gives this example

opsave -f 1 10 -i 2 twist1 twist1\$F.rib

while the "help opsave" gives this

opsave -f 1 10 -i 2 twist1\$F.rib twist1

The correct form is opsave OBJECT FILENAME (as stated in the pdf)

jim.

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