Jump to content
Sign in to follow this  
RobiDoes3d

Hscript importing conundrum

Recommended Posts

Hi, my custom script is very simple : start the vexprofile , cook the snippet that holds my vex , stop the vexprofiler and show me the results.

If i copy paste every line into the texport myself the code works. Howerver if I import the .cmd file holding the same three lines it shows me a empty vexprofiler. 

Doesn't importing .cmd files equal to writing them your self? If not is there something else that has this functionality? Why isn't this working?

 

vexprofile start
opcook -F  /obj/L_System_v2/L-system/attribvop1/snippet1
vexprofile

 

CopyPasting.JPG

usingTheScript.JPG

Share this post


Link to post
Share on other sites

Update: I found out that it doesn't work because the lines get executed one after the other and the wrangle never gets the time to finish cooking. The fix to this is either to split it in two scripts (one containing the first two lines and the other containing the third). I wish there was another way but i think there isn't. 

 

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  

×