CreatorSE.DesignElementDdf Data Type

Represents a specific type of design element within the Creator SE resources. The DesignElementDdfCse class is used to define a design element that can include resources for both preview and production purposes.

It extends the abstract class DesignElementCse, inheriting its characteristics and behaviors while providing additional functionality specific to handling preview and production resources.

Available Since
1.4.260
Properties
Name Type Description
previewResource CreatorSE.ResourceFile Represents the resource file associated with the preview functionality of a design element in the Creator SE platform. This resource file is used for rendering or displaying a preview version of the design element prior to production.
productionResource CreatorSE.ResourceFile Represents the resource file associated with the production functionality of a design element in the Creator SE platform. This resource file is used for rendering or generating the production version of the design element.

The filename field is required and must include a file extension (e.g. design.pdf). Orders submitted with a missing or extension-less filename are rejected with a validation error.

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.DesignElementDdf (JSON)
{
  "creatorse_designElementDdf" : {
    "previewResource" : {
      "attachment" : "...",
      "filename" : "...",
      "url" : "..."
    },
    "productionResource" : {
      "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.DesignElementDdf Data Type

Represents a specific type of design element within the Creator SE resources. The DesignElementDdfCse class is used to define a design element that can include resources for both preview and production purposes.

It extends the abstract class DesignElementCse, inheriting its characteristics and behaviors while providing additional functionality specific to handling preview and production resources.

Available Since
1.4.260
Properties
Name Type Description
previewResource CreatorSE.ResourceFile Represents the resource file associated with the preview functionality of a design element in the Creator SE platform. This resource file is used for rendering or displaying a preview version of the design element prior to production.
productionResource CreatorSE.ResourceFile Represents the resource file associated with the production functionality of a design element in the Creator SE platform. This resource file is used for rendering or generating the production version of the design element.

The filename field is required and must include a file extension (e.g. design.pdf). Orders submitted with a missing or extension-less filename are rejected with a validation error.

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.DesignElementDdf (XML)
<creatorse_designElementDdf>
  <previewResource>
    <attachment>...</attachment>
    <filename>...</filename>
    <url>...</url>
  </previewResource>
  <productionResource>
    <attachment>...</attachment>
    <filename>...</filename>
    <url>...</url>
  </productionResource>
  <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_designElementDdf>