GetAttributes Function
Returns an EvObjectAttributes object with the attributes of a given object item from an Envision document currently opened in the Canvas Envision Creator app.
GetAttributes(
obj: [[[EvItem|canvas-envision-document-items.html#object-items]]],
withTypeAttributes: boolean
): Promise<[[[EvObjectAttributes|evobjectattributes-interface.html]]]>
Parameters
obj: EvItemAn Object item object, an object item from the Envision document currently opened in the Canvas Envision Creator app whose attributes should be returned.
withTypeAttributes: booleanA Boolean, a switch to indicate whether to include (
true) or not include (false) a data object with the attributes specific to the object item type of the given object item.
Return value
Promise<EvObjectAttributes>A Promise that, if fulfilled, resolves to an
EvObjectAttributesobject with the attributes of the given object item in the current Envision document.
27 March 2025