VCC -a [--hda-dialog-script] usage ?

   903   0   1
User Avatar
Member
1 posts
Joined: Dec. 2021
Offline
Hey Everyone,

Did anyone manage to make use of this vcc argument -a ?

I've been building nodes with vex and VCC for some time now. But I found the Vex Compiler Pragmas to be limiting nowadays and confusing as well for larger Parameter sets (No multiparm Block)

So I thought since VCC seems to accept a Dialog Script I tried to make one and attach it in the vcc. However when I supply the Dialog Script file to VCC the resulting hda will have Zero parameters displayed ?

Here is what I tried

dialog_script_test.vex


cvex
dialog_script_test(
	
	export int test = 1;
)
{
}

and the dialog_script_test.ui

{
	name "dialog_script_test"
	script "dialog_script_test"
	label "dialog_script_test"
	help {
		"dialog_script_test Help"
    }

	inputlabel	1	"Input 1 Test"
	parm {
        name    "test"
        label   "Test"
        type    int
        default { "0" }
        range   { 0 1 }
        parmtag { "script_callback_language" "python" }
    }

}

here is the vcc command I'm using

/opt/hfs19.5/bin/vcc --hda-output ~/dialogue_script_test.hda --hda-dialog-script ~/dialog_script_test.ui ~/dialog_script_test.vex

I must be doing something wrong but can't put my finger on it. However I have tried parsing the file using Houdini's included /opt/hfs19.5/bin/dsparse command but it just crashes all the time(I tried the dsparse in houdini 19.5 19 and 18.5 and they all crash) I just get segfaults even with an empty file or other example files I found on Github. So I'm unsure if my simple dialog script is actually ok.

If anyone has any insight it would be great

Thanks in advance
  • Quick Links