create_feature
Create parametric features in KOMPAS-3D models by defining entity type and documented settings, supporting shells, lofts, sweeps, and more.
Instructions
Create any API5 NewEntity-supported feature using documented definition settings.
entity_type is an o3d_ enum. properties maps writable names to values. calls contain member/arguments/expect and optional via zero-argument getters. References: {entity_id:id} within this document, {handle:id}, {constant:name}. Used for shells, lofts, sweeps, ribs, drafts, patterns, mirrors and more. API7-only operations require api_cast/api_batch. Read SDK first; no universal recipe is implied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Feature | |
| settings | Yes | ||
| document_id | Yes | ||
| entity_type | Yes |