Error Messages/41308


Error text

You cannot set the Attribute Original to point to 'Secret_formula' because the definition of 'Secret_formula' is hidden.

Cause

The attribute Original is used by alias nodes, such as input nodes, to keep track of which object's definition they reflect. This error results when you try to change this attribute -- probably via button script or typescript -- to point to a node whose definition is hidden. This restriction prevents you from accessing a hidden definition that you should otherwise not have access to by creating an input node to it.

The ability to hide definitions is a feature of Analytica Enterprise. In an unlocked module, you can toggle the hidden flag using the options Hide Definition(s) or Unhide Definition(s) on the Object menu. If you set Hide Definition(s) for a module node, then the definition of all objects inside is hidden except for those with input nodes. Once an object is hidden, either explicitly or implicitly as a result of its parent module hiding definitions, at that point you cannot create an input node for it.

You should always keep a "master" copy of your model around in an unlocked state. When you distribute your model to others, use FileSave A Copy In... to save a separate locked version of your model (or module) for distribution. In your unlocked copy you can toggle the Hidden state to make change such as adding input nodes.

See Also

Comments


You are not allowed to post comments.