The document model is a node tree. It is extended by adding new nodes.
Overview
Usually the custom document node will be designed for a specific
purpose, which may greatly differ between nodes. You will inherit
from the specialised classes
CustomPanel,
CustomVisual,
CustomTool,
CustomCalculation
and the all-purpose
CustomNode.
In the end, all these classes inherit from
DocumentNode.
If your specialized node contains additional nodes, you can
add nodes directly inheriting from DocumentNode.
Creating a document node
The general work order when adding a document node is as follows:
- Create a
Document Node
class.
- Create an inner
PropertyNames
class.
- Add
Undoable Nodes.
- Add
Readonly Properties.
- Optionally, add the following entities to your node: