Hi all,
I'm trying to define a custom GH object without input parameters
but that should respond to a double click showing a Form.
The user then can set some values in the form and confirm.
The Form should then close and set the ouput parameter of
the GH object.
Following David's suggestion, I tried to learn how to do that
from the CurvePoint object, deriving the object from GH_Param,
but I still dont' understand a lot of things ...
I _guess_ to have understood that, once the output value has been
defined, I have to call ExpireSolution(), and that the output value has
to be built into CollectVolatileData_FromSources(), defining the
m_data field.
Now I have a test object that somehow works, that is,
I can double-click on it, see the Form, set a value
and have the value output from the object.
But I still have a lot of questions ...
Here is the first one:
My object only works if I link a number value in input.
Otherwise I get a warning message saying that the
floating parameter failed to collect data.
I need no input data, what have I to do to set up
the GH_Param object to work without input data ?
Thanks for any help.
Emilio
Tags:
- Attachments:
-