Jump to content

python:node=kwargs['node'] in Hscript?


Recommended Posts

Hi,guys, 
I am creating a digital asset now,and i need to write a script to do things like: 
node=kwargs['node'] 
node.setParmExpressions("tx":'point("somenode",0,"P",0)') 
But i need to do it in Hscript,not python. 
I know how to set parameter in Hscript: 
opparm digitalAssetitself tx 'point("somenode",0,"P",0)' 
but how should i get the" digital asset itself" in Hscript? 
Thank you guys. 
Peng.

Link to comment
Share on other sites

not sure exactly how you are using it, but maybe

opfullpath(".")

</\>

thanks,but that does not work for   "on created" hscript for digital assets.

what i want is setting parameter when the digital asset is created,

I must use hscript for some reason.

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