Share

AssocNetwork Class

Description

The AssocNetwork class keeps a network of AssocActions. Notice that it is derived from AssocAction, therefore it also behaves as an individual AssocAction. It means as a whole network can depend on other objects via its AssocDependencies or be owned by a higher-level AssocNetwork, allowing to create hierarchical associative structures.

The AssocDependencies between AssocActions in the AssocNetwork define how the actions are tied together, how they depend on objects and on each other. For example, if one action modifies (writes) an object and another action uses (reads) the object, then the second action depends on the first one and the second action needs to be evaluated only after the first action has been evaluated.

Class Hierarchy

Autodesk.AutoCAD.DatabaseServices.DBObject
    Autodesk.AutoCAD.DatabaseServices.AssocAction
        Autodesk.AutoCAD.DatabaseServices.AssocNetwork

Visual Basic

Public Class AssocNetwork
Inherits AssocAction

C#

public class AssocNetwork : AssocAction;

Links

AssocNetwork Methods, AssocNetwork Properties

Was this information helpful?