IElementsCollection Interface Reference

An elements container interface. More...

List of all members.

Public Member Functions

IElement GetLayoutGraphicsEntity (Adb.ObjectId id)
 Acts like IAssotiativeProviderT.Get(id) does but returns null if corresoponding object is not an entity from active layout block table record (i.e.

Properties

IDocument Document
 Document.


Detailed Description

An elements container interface.

It is accessible from IDocument.Elements property. It garantees that all the element interfaces in it are unique (i.e. can be cached by a client). An element interface related to some acad object can be accessed by IElementsCollection.Get(...) call. This container is filled by the demands of element interfaces. I.e. initially, when application starts, this container is empty. When a client requests some element interface by IElementsCollection.Get(...) call then the element is created, its interface is returned to the client and, in addition to this, it is pushed to the container. So, when another client, for instance, asks for this element by IElementsCollection.Get(...) call then the kept interface is returned instead of creating a new element. Thus, this container contains those elements which were requested during application run session only.


Member Function Documentation

IElement GetLayoutGraphicsEntity Adb.ObjectId  id  ) 
 

Acts like IAssotiativeProviderT.Get(id) does but returns null if corresoponding object is not an entity from active layout block table record (i.e.

not a currently visible graphics entity).

Parameters:
id entity id
Returns:
Element from an active layout, otherwise null


Property Documentation

IDocument Document [get]
 

Document.


Generated on Sun May 28 08:56:23 2006 for Acmx.AcadConnectivity documentation by  doxygen 1.4.5