in bitmapArtDesign api, attribute color_idx value is zero.

More
1 year 8 months ago #4214 by maulikm
ErrorException: Undefined index: @attributes

this is my XML preview

SimpleXMLElement Object
(
[design_info] => SimpleXMLElement Object
(
[@attributes] => Array
(
[machine_name] => Barudan FDR-II Lockstitch
[num_stitches] => 586
[num_colours] => 1
[num_trims] => 8
[num_objects] => 8
[num_colour_changes] => 1
[height] => 21.1888888888889
[width] => 22.4944444444444
)

[colorways] => SimpleXMLElement Object
(
[colorway] => SimpleXMLElement Object
(
[@attributes] => Array
(
[name] => Colorway 1
[bkg_color] => 14477803
[current] => true
)

[threads] => SimpleXMLElement Object
(
[thread] => SimpleXMLElement Object
(
[@attributes] => Array
(
[color] => 0
[code] =>
[brand] =>
[description] => R0 G0 B0
)

)

)

)

)

[stop_sequence] => SimpleXMLElement Object
(
[stop_record] => SimpleXMLElement Object
(
[@attributes] => Array
(
[color_idx] => 0
[num_stitches] => 585
[element] =>
)

)

)

[lettering_objects] => SimpleXMLElement Object
(
)

[monogram_objects] => SimpleXMLElement Object
(
)

)

[files] => SimpleXMLElement Object
(
[file] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[filename] => opera_preview.PNG
[filecontents] => iVBORw0KGgoAAAANSUhEUgAAAFUAAABQCAYAAABoODnpAAA
[filecontentmode] => base64encoding
)

)

[1] => SimpleXMLElement Object
(
[@attributes] => Array
(
[filename] => opera_preview.EMB
[filecontents] => 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/
[filecontentmode] => base64encoding
)

)

)

)

)

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds
Powered by Kunena Forum