Jump to content

RobiDoes3d

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

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

 

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