I have created my block but which takes a variable N. I want to
change this variable using the slider variable, I understand that I need
to define a setVariable(N) but at
runtime I get error the this is not defined in the myblock_sptr module.
I added the function in the inside the constructor *.h, at the
bottom of the *.cc file and the callback tag.
I have created my block but which takes a variable N. I want to
change this variable using the slider variable, I understand that I need
to define asetVariable(N) but at
runtime I get error the this is not defined in the myblock_sptr module.
My advice is to ignore the xml file and see what python can see… You
can open a python terminal and import your module, instantiate an
object, see if the method shows up with the dir(…) function.
I added the function in the inside the constructor *.h, at the
bottom of the *.cc file and the callback tag.
Perhaps you need to change the .i file?
-Josh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.