Jump to content

Relative Sop Path Issue


SpencerL

Recommended Posts

Hey,

I am new to hscript but basically I have a post-render script that reloads the file sop that imports the file. That works fine when I specify the absolute path to the SOP, but now that I am creating an HDA and I need to use a relative path. When I use a relative path it does not seem to work.

here is my syntax for absolute path:

opparm -C /obj/geo1/file3 reload 1 <Works Fine>

here is my syntax for relative path:

opparm -C ../file3 reload 1 <Does not work>

I know that I could do a opcf command to switch to that path, but wont help me since Im creating an HDA and therefore do not know the exact path that it will be placed in.

what am I doing wrong?

Thanks

-Spencer

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