[Sidefx-houdini-list] Using HDK to get a constant parameter on a SOP
hb at dneg.com
Fri Jul 5 04:49:38 EDT 2013
Thanks for the suggestion! I look through the examples and gave this a
go. It greyed out the parameter in the UI, but unfortunately was still
editable from the python shell, and it tended to keep the value that it
the scene was saved with, rather than the desired value that the scene
is opened in.
On 03/07/13 23:36, Miles Green wrote:
> sorry you should pass a bool to enableParm..
> enableParm("version", false);
> On 04/07/13 08:34, Miles Green wrote:
>> Hi Harry,
>> why not disable the parm in the hdk with:
>> enableParm("version", off);
>> there are a few examples in the hdk:
>> On 03/07/13 19:31, Harry Biddle wrote:
>>> Hi guys,
>>> I've been trying to build a SOP in C++ land that has a constant string
>>> parameter on it---I'm using this to display the version number of the
>>> I can do this with a PRM_STRING or PRM_LABEL, setting a default on
>>> compile-time. But it ends up as a node parameter, that gets saved along
>>> with the scene, and can be overwritten by the user!
>>> Does anybody know if there some kind of a flag that says 'this label is
>>> constant; its value can never be changed from the default value'?
>>> Sidefx-houdini-list mailing list
>>> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list