mmar_create_class
Create a new class and add it to an existing SceneType, enabling incremental metamodel building without recreating the whole model.
Instructions
Create a new class (node/shape type) and add it to an existing SceneType. Use this for incremental metamodel building instead of recreating the whole SceneType.
The class_data JSON should include: uuid, name, geometry (VizRep function or null), is_reusable, is_abstract, attributes (array), and ports (array).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_data | Yes | JSON string of the Class data including uuid, name, attributes, ports, geometry | |
| scene_type_uuid | Yes | The UUID of the SceneType to add the class to |