Jump to content
Sign in to follow this  
PengZhang

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.

Share this post


Link to post
Share on other sites

not sure exactly how you are using it, but maybe

opfullpath(".")

</\>

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×