JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
DataItemCollectionManager.getKnownCollection Function

DataItemCollection.js

JavaScript
function DataItemCollectionManager.getKnownCollection(colName,onComplete,onError);
Parameters 
Description 
colName 
is the name of the collection you want to fetch. For example, if you want to fetch layer collection, you must specify LAYER. Similarly for color and text styles.
onComplete 
is a function type called on successful completion of getKnownCollection function. 
onError 
is a function type called when an error occurs. 

Use this asynchronous function to get a known collection.

Links
Copyright (c) 2014. All rights reserved.
What do you think about this topic? Send feedback!