AsukaElement: {
    allowInDrawingAreas?: boolean;
    assembly?: AsukaAssemblyComponentDefinition;
    bringToFront?: boolean;
    category?: string;
    children?: AsukaElement[];
    evented?: boolean;
    familyId: string;
    icon?: string;
    id: string;
    image?: string;
    name: string;
    parametric?: AsukaParametricDefinition;
    price?: number | string;
    product3d?: AsukaProduct3DConfig;
    selectable?: boolean;
    type?: AsukaElementType;
    variations: ElementVariation[];
}

Type declaration

  • OptionalallowInDrawingAreas?: boolean

    If true, element instances are bound/clipped to the active drawing area. Default: false (free on canvas).

  • Optionalassembly?: AsukaAssemblyComponentDefinition

    Generic spatial assembly recipe: anchors, collisions, clearances, adjacency and BOM.

  • OptionalbringToFront?: boolean

    If true, bring created objects to front.

  • Optionalcategory?: string
  • Optionalchildren?: AsukaElement[]

    Recursive sub-elements.

  • Optionalevented?: boolean
  • familyId: string

    Logical family id shared by copied elements that should map equivalent variations across views.

  • Optionalicon?: string

    Optional icon URL (small).

  • id: string

    Unique element definition id.

  • Optionalimage?: string

    Optional element preview image URL (used in the Elements list).

  • name: string

    User-facing label only. Duplicate names are allowed.

  • Optionalparametric?: AsukaParametricDefinition

    Optional product-specific recipe consumed by the generic Product 3D parametric engine.

  • Optionalprice?: number | string

    Optional base price for the element (in addition to variation price).

  • Optionalproduct3d?: AsukaProduct3DConfig

    Product/support 3D configuration used by the 3D engine.

  • Optionalselectable?: boolean

    Fabric flags applied to created instances.

  • Optionaltype?: AsukaElementType

    Element kind. product-3d entries are product/support elements edited by Element Editor.

  • variations: ElementVariation[]