PengZhang Posted August 5, 2015 Share Posted August 5, 2015 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. Quote Link to comment Share on other sites More sharing options...
3iart Posted August 5, 2015 Share Posted August 5, 2015 not sure exactly how you are using it, but maybe opfullpath(".") </\> Quote Link to comment Share on other sites More sharing options...
PengZhang Posted August 6, 2015 Author Share Posted August 6, 2015 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. Quote Link to comment Share on other sites More sharing options...
3iart Posted August 6, 2015 Share Posted August 6, 2015 `opfullpath(".")` </\> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.