Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Everything E3D

My Data API

  • Last UpdatedFeb 06, 2024
  • 1 minute read

The following api is then available on the My Data object.

Name

Type

Purpose

PMLMyData

MyData constructor.

AddElement(String elename)

Adds an orphaned element of given name.

AddElements(Array elements)

Adds orphaned elements as array of strings.

AddCollection(String name)

Add collection of given name.

AddCollections(Array collections)

Add collections as an array of strings.

AddElementToCollection(String elementName, String collectionName)

Add element of given name to collection of given name.

AddElementsToCollection(Array elements, String collectionName)

Add elements as array of strings to collection of given name.

RemoveElement(String elename)

Remove orphaned element of given name.

RemoveElements(Array elements)

Remove orphaned elements as array of strings.

RemoveAllElements

Remove all elements.

RemoveCollection(String name)

Remove collection of given name.

RemoveCollections(Array names)

Remove collections as an array of strings.

RemoveAllCollections

Remove all collections.

RemoveElementFromCollection(String elementName, String collectionName)

Remove given element from given collection.

RemoveElementsFromCollection(Array elements, string collectionName)

Remove elements as array of strings from given collection.

RemoveAllElementsFromCollection(String collectionName)

Remove all elements from given collection.

RemoveAll()

Remove all orphaned elements and collections.

Elements()

Array

Return orphaned elements as array of strings.

ElementsInCollection(String collectionName)

Array

Return the elements in given collection as an array of strings.

Collections()

Array

Return the collection names as an array of strings.

RenameCollection(string oldName, string newName)

Rename given collection with new name.

Related Links