CreatorSE.DesignElementMotive Data Type

A design element that places a motive (artwork or image) onto a product area. The motive can reference an existing library image by id, or supply the image inline via URL or attachment.

Properties
Name Type Description
motive CreatorSE.Motive The motive (artwork/image) placed on the product by this design element. Supply either id to reference an existing motive from the library, or url / attachment to provide the image inline.
Inherited from CreatorSE.DesignElement
NameTypeDescription
position CreatorSE.Position Position and size of this element within the product print area. Coordinates are expressed in millimetres or as a percentage of the area dimensions.
printTechnology CreatorSE.PrintTechnology The print technology applied to this element (e.g. DTG, screen print). References the print technology configured on the product area.
layers array of CreatorSE.DesignElementLayer Optional layer overrides for motives that contain named SVG layers. Each entry targets one layer by name and can carry a new text value or rgbColor. Omit or leave empty when the motive has no dynamic layers.
CreatorSE.DesignElementMotive (JSON)
{
  "creatorse_designElementMotive" : {
    "motive" : {
      "id" : 12345,
      "attachment" : "...",
      "filename" : "...",
      "url" : "..."
    },
    "position" : {
      "horizontalCenter" : "...",
      "verticalCenter" : "...",
      "left" : "10%",
      "right" : "10%",
      "top" : "10%",
      "bottom" : "..."
    },
    "printTechnology" : {
      "id" : 12345,
      "name" : "DTG"
    },
    "layers" : {
      "creatorse_designElementLayer" : [ {
        "name" : "...",
        "text" : "...",
        "rgbColor" : "..."
      }, {
        "name" : "...",
        "text" : "...",
        "rgbColor" : "..."
      } ]
    }
  }
}
CreatorSE.DesignElementMotive Data Type

A design element that places a motive (artwork or image) onto a product area. The motive can reference an existing library image by id, or supply the image inline via URL or attachment.

Properties
Name Type Description
motive CreatorSE.Motive The motive (artwork/image) placed on the product by this design element. Supply either id to reference an existing motive from the library, or url / attachment to provide the image inline.
Inherited from CreatorSE.DesignElement
NameTypeDescription
creatorse_designElementLayer list of CreatorSE.DesignElementLayer Optional layer overrides for motives that contain named SVG layers. Each entry targets one layer by name and can carry a new text value or rgbColor. Omit or leave empty when the motive has no dynamic layers.
position CreatorSE.Position Position and size of this element within the product print area. Coordinates are expressed in millimetres or as a percentage of the area dimensions.
printTechnology CreatorSE.PrintTechnology The print technology applied to this element (e.g. DTG, screen print). References the print technology configured on the product area.
CreatorSE.DesignElementMotive (XML)
<creatorse_designElementMotive>
  <motive>
    <id>...</id>
    <attachment>...</attachment>
    <filename>...</filename>
    <url>...</url>
  </motive>
  <position>
    <horizontalCenter>...</horizontalCenter>
    <verticalCenter>...</verticalCenter>
    <left>10%</left>
    <right>10%</right>
    <top>10%</top>
    <bottom>...</bottom>
  </position>
  <printTechnology>
    <id>...</id>
    <name>DTG</name>
  </printTechnology>
  <layers>
    <creatorse_designElementLayer>
      <name>...</name>
      <text>...</text>
      <rgbColor>...</rgbColor>
    </creatorse_designElementLayer>
  </layers>
</creatorse_designElementMotive>