Assoc
|
This .NET class wraps the OdDbAssocAction class.
Every object that needs to show associative behavior, i.e. when objects that rely on change are automatically evaluated by the associative mechanism, must be derived from an AssocActionBody class and owned by a parent AssocAction entity. The action body is owned by its parent action, for example when the parent action is deleted, it also erases the action body that is owned.
The AssocAction class does not have virtual methods that can be overridden, therefore it should be done internally when there is no chance that objects of the derived action classes can become proxies.
The AssocAction type exposes the following members.
Name | Description | |
---|---|---|
![]() |
AssocAction | Default constructor for the AssocAction class. Wraps the result of the corresponding C++ createObject() method call. |
Name | Description | |
---|---|---|
![]() |
AcadObject | (Inherited from DBObject) |
![]() |
ActionBody | Property that represents an object ID of the owned action instance. |
![]() |
Annotative | (Inherited from DBObject) |
![]() |
AutoDelete | (Inherited from DisposableWrapper) |
![]() |
Bounds | (Inherited from Drawable) |
![]() |
ClassID | (Inherited from DBObject) |
![]() |
Database | (Inherited from DBObject) |
![]() |
Drawable | Property that represents a drawable that is associated with
this object. (Inherited from DBObject) |
![]() |
DrawableType | (Inherited from Drawable) |
![]() |
ExtensionDictionary | (Inherited from DBObject) |
![]() |
Handle | (Inherited from DBObject) |
![]() |
HasFields | (Inherited from DBObject) |
![]() |
HasSaveVersionOverride | (Inherited from DBObject) |
![]() |
Id | Property that represents an object identifier of this database
object. (Inherited from DBObject) |
![]() |
IsActionBodyAProxy | Property that indicates whether an action body is loaded as a proxy object. If this property is true the action is not evaluatable. |
![]() |
IsActionEvaluationInProgress | Property that indicates whether the system is currently evaluating an action or a network of actions. |
![]() |
IsAProxy | (Inherited from DBObject) |
![]() |
IsCancelling | (Inherited from DBObject) |
![]() |
IsDisposed | (Inherited from DisposableWrapper) |
![]() |
IsErased | (Inherited from DBObject) |
![]() |
IsEraseStatusToggled | (Inherited from DBObject) |
![]() |
IsModified | (Inherited from DBObject) |
![]() |
IsModifiedGraphics | (Inherited from DBObject) |
![]() |
IsModifiedXData | (Inherited from DBObject) |
![]() |
IsNewObject | (Inherited from DBObject) |
![]() |
IsNotifyEnabled | (Inherited from DBObject) |
![]() |
IsNotifying | (Inherited from DBObject) |
![]() |
IsObjectIdsInFlux | (Inherited from DBObject) |
![]() |
IsPersistent | Property that indicates whether this object is a
database-resident (DBRO). Persistent objects belong to an object
that must be opened and closed. Non-persistent objects can be
accessed through their pointers. (Inherited from DBObject) |
![]() |
IsReadEnabled | (Inherited from DBObject) |
![]() |
IsReallyClosing | (Inherited from DBObject) |
![]() |
IsTransactionResident | (Inherited from DBObject) |
![]() |
IsUndoing | (Inherited from DBObject) |
![]() |
IsWriteEnabled | (Inherited from DBObject) |
![]() |
MergeStyle | (Inherited from DBObject) |
![]() |
ObjectBirthVersion | (Inherited from DBObject) |
![]() |
ObjectId | (Inherited from DBObject) |
![]() |
OwnerId | (Inherited from DBObject) |
![]() |
OwningNetwork | Property that represents the logically owning association network. |
![]() |
PaperOrientation | (Inherited from DBObject) |
![]() |
Status | Property that represents the current status of this action. See AssocStatus enumerator for more information. |
![]() |
UndoFiler | (Inherited from DBObject) |
![]() |
UnmanagedObject | (Inherited from DisposableWrapper) |
![]() |
XData | (Inherited from DBObject) |
Name | Description | |
---|---|---|
![]() |
AddContext | Adds a copy of a context to the object. (Inherited from DBObject) |
![]() |
AddDependency | Adds the specified dependency to this action. |
![]() |
AddMoreObjectsToDeepClone | Adds more objects to be deep cloned. Call just before the end of the main deep-cloning loop, when the objects are already cloned but their identifiers aren't translated yet. |
![]() |
AddPersistentReactor | Adds the specified persistent reactor to this object's reactor
list. (Inherited from DBObject) |
![]() |
ApplyPartialUndo | Notification method that is called each time this object uses
the partial undo mechanism. (Inherited from DBObject) |
![]() |
AreDependenciesEqual | Checks whether the specified dependencies are equal. |
![]() |
AreDependenciesOnTheSameThing | Checks whether the specified dependencies are dependent on the same "thing." |
![]() |
AssertNotifyEnabled | (Inherited from DBObject) |
![]() |
AssertReadEnabled | (Inherited from DBObject) |
![]() |
AssertWriteEnabled | (Inherited from DBObject) |
![]() |
Audit | Performs an audit operation on this object. (Inherited from DBObject) |
![]() |
Cancel | Obsolete. Terminates the current open operation. Currently not implemented. (Inherited from DBObject) |
![]() |
Clone | (Inherited from RXObject) |
![]() |
Close | Obsolete. Closes the object. All changes made to the object since it was opened are committed to the database and a notification is sent that the object is now "closed". Currently not implemented. (Inherited from DBObject) |
![]() |
CloseAndPage | Obsolete. Closes the object and pages it if the object pager is enabled. All changes made to the object since it was opened are committed to the database and a notification is sent that the object is now "closed". Currently not implemented. (Inherited from DBObject) |
![]() |
CompareTo | (Inherited from RXObject) |
![]() |
CopyFrom | (Inherited from RXObject) |
![]() |
CreateExtensionDictionary | Creates a DbDictionary extension dictionary of this
object. (Inherited from DBObject) |
![]() |
CreateObjRef | Creates an object that contains all the relevant information
required to generate a proxy used to communicate with a remote
object. (Inherited from MarshalByRefObject) |
![]() |
DecomposeForSave | Determines the behavior for custom objects when saving to a
.dwg file. (Inherited from DBObject) |
![]() |
DeepClone | Performs a deep clone of this object. (Inherited from DBObject) |
![]() |
DeleteUnmanagedObject | (Inherited from DBObject) |
![]() |
DependentObjectCloned | Notifies the owning action that an object, that the action has a dependency on, is cloned. All cloning types are accepted (shallow, deep or wblock). |
![]() |
DisableUndoRecording | Controls the undo recording of this object in
OdDbDatabase. (Inherited from DBObject) |
![]() |
Dispose | (Inherited from DisposableWrapper) |
![]() |
Dispose(Boolean) | (Inherited from DBObject) |
![]() |
DowngradeOpen | Downgrades this object from ForWrite
to ForRead. (Inherited from DBObject) |
![]() |
DowngradeToNotify | Downgrades this object from ForNotify
and ForWrite to having just one open mode
- ForNotify. Currently not
implemented. (Inherited from DBObject) |
![]() |
DragStatus | Notifies the action when there is a drag operation in progress for objects that the action depends on. |
![]() |
DwgIn | Reads the .dwg file format data of this object from the
specified file. (Inherited from DBObject) |
![]() |
DwgInFields | (Inherited from DBObject) |
![]() |
DwgOut | Writes the .dwg file format data of this object to the
specified filer. (Inherited from DBObject) |
![]() |
DwgOutFields | (Inherited from DBObject) |
![]() |
DxfIn | Reads the .dxf file format data of this object from the
specified file. (Inherited from DBObject) |
![]() |
DxfInFields | (Inherited from DBObject) |
![]() |
DxfOut | Writes the .dxf file format data of this object to the
specified filer. (Inherited from DBObject) |
![]() |
DxfOutFields | (Inherited from DBObject) |
![]() |
Equals | (Inherited from DisposableWrapper) |
![]() |
Erase | Marks this object as "erased". (Inherited from DBObject) |
![]() |
Erase(Boolean) | Sets the erased mode of this object. (Inherited from DBObject) |
![]() |
EvaluateDependencies | Should be called from the client code via the evaluateOverride() method, usually after analyzing dependencies, detecting changes, determining which are on erased objects, etc. |
![]() |
EvaluateDependency | Allows the owner action to do the work instead of the dependency itself. |
![]() |
EvaluationPriority | Determines the evaluation priority of this action. |
![]() |
Finalize | (Inherited from DisposableWrapper) |
![]() ![]() |
GetActionBody | Retrieves the object identifier of the action body. Currently not implemented. |
![]() ![]() |
GetActionsDependentOnObject(DBObject, Boolean, Boolean) | Retrieves the actions depending on the specified database object. |
![]() ![]() |
GetActionsDependentOnObject(DBObject, Boolean, Boolean, ObjectIdCollection) | Retrieves the actions depending on the specified database object. |
![]() |
GetDependencies | Retrieves dependencies of this action. |
![]() |
GetDependentObjects | Retrieves objects that this action depends on or modifies. |
![]() |
GetEventExtender | (Inherited from DBObject) |
![]() |
GetField | Returns the object ID of a "TEXT" field object from the field
dictionary. (Inherited from DBObject) |
![]() |
GetField(String) | Returns the object ID of the specified field object (that
matches the property name) from the field dictionary. (Inherited from DBObject) |
![]() |
GetHashCode | (Inherited from DisposableWrapper) |
![]() |
GetLifetimeService | Retrieves the current lifetime service object that controls the
lifetime policy for this instance. (Inherited from MarshalByRefObject) |
![]() |
GetObjectSaveVersion(DwgFiler) | Returns the drawing and maintenance release version into which
this object must be stored. (Inherited from DBObject) |
![]() |
GetObjectSaveVersion(DxfFiler) | Returns the drawing and maintenance release version into which
this object must be stored. (Inherited from DBObject) |
![]() |
GetPersistentReactorIds | Returns the object IDs of this object's persistent
reactors. (Inherited from DBObject) |
![]() |
GetReactors | Obsolete. Returns this object's transient reactors. (Inherited from DBObject) |
![]() |
GetRXClass | (Inherited from RXObject) |
![]() |
GetTransientReactors | Returns this object's transient reactors. (Inherited from DBObject) |
![]() |
GetType | Gets the Type of the current
instance. (Inherited from Object) |
![]() |
GetXDataForApplication | Returns a linked list of ResBufs containing a copy of the XData
of this object. (Inherited from DBObject) |
![]() |
HandOverTo | Replaces this database-resident (DBRO) object with the
specified non-database-resident (NDBRO) object, while retaining
this object's objectId, handle, owner, and reactor list. (Inherited from DBObject) |
![]() |
HasContext | Checks whether the specified context exists in the
collection. (Inherited from DBObject) |
![]() |
HasDependencyCachedValue | Checks whether the specified dependency has a cached value. |
![]() |
HasPersistentReactor | Checks whether the passed identifier is an identifier of a
reactor attached to this object. (Inherited from DBObject) |
![]() |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime
policy for this instance. (Inherited from MarshalByRefObject) |
![]() |
IsEqualTo | Checks whether the specified action is equal to this action. Does nothing in the current implementation. |
![]() |
IsExternalDependency | Checks whether the specified dependency, which is owned by this action, depends on the database object that is not this action and is not owned by this action. If the dependency doesn't depend on any object, it's also assumed external. |
![]() |
IsOwnedDependency | Checks whether the specified dependency is owned by this action. |
![]() |
IsRelevantDependencyChange | Allows the owning action, instead of the dependency, to determine whether the object change is relevant to the specified dependency. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject
object. (Inherited from MarshalByRefObject) |
![]() |
ObjectThatOwnsNetworkInstance | Searches for the object that owns the network instance, i.e. finds the database object for which the GetInstanceFromObject() method returns the AssocNetwork. |
![]() |
OwnedDependencyStatusChanged | Informs the dependency-owning action that the dependency status is modified. Usually called from the AssocDependency.SetStatus() method. |
![]() |
PostProcessAfterDeepClone | Informs the source actions that they are cloned, so that they can update the clones or perform other tasks if needed. Usually called from the reactor notification method. |
![]() |
PostProcessAfterDeepCloneCancel | Cancels the post processing of the cloned action after deep cloning. |
![]() |
QueryX | (Inherited from RXObject) |
![]() |
RegenSupportFlags | (Inherited from Drawable) |
![]() |
ReleaseExtensionDictionary | Releases and erases this object's extension dictionary if it
exists and is empty. (Inherited from DBObject) |
![]() ![]() |
RemoveActionsControllingObject(ObjectId) | Detaches the write dependencies of the specified object. The dependencies are detached in reverse order, starting from the object's last write dependency and finishing with the first. Currently not implemented. |
![]() ![]() |
RemoveActionsControllingObject(ObjectId, Int32) | Detaches the write dependencies of the specified object. The dependencies are detached in reverse order, starting from the object's last write dependency and finishing with the first. Currently not implemented. |
![]() ![]() |
RemoveActionsControllingObject(ObjectId, Int32, ObjectId) | Detaches the write dependencies of the specified object. The dependencies are detached in reverse order, starting from the object's last write dependency and finishing with the first. Currently not implemented. |
![]() |
RemoveAllDependencies | Removes all dependencies associated with this action. |
![]() |
RemoveContext | Removes a context from the collection. An active context can't
be removed. (Inherited from DBObject) |
![]() |
RemoveDependency | Removes the specified dependency associated with this action. |
![]() |
RemoveField | Removes the text field and returns its field ID. (Inherited from DBObject) |
![]() |
RemoveField(ObjectId) | Removes the specified field. (Inherited from DBObject) |
![]() |
RemoveField(String) | Removes the specified field by its name and returns its
ID. (Inherited from DBObject) |
![]() |
RemovePersistentReactor | Removes the specified persistent reactor from this object's
reactor list. (Inherited from DBObject) |
![]() |
ResetScaleDependentProperties | Resets object properties that depend on scale to the default
values. (Inherited from DBObject) |
![]() |
SetAttributes | Sets the vectorization attributes of this object, and returns
its attribute flags. (Inherited from Drawable) |
![]() |
SetField(Field) | Sets the specified field for the "TEXT" property. (Inherited from DBObject) |
![]() |
SetField(String, Field) | Sets the specified field for the specified property. (Inherited from DBObject) |
![]() |
SetFromStyle | Sets the annotative property of an object according to its
corresponding style, such as styles of text objects. (Inherited from DBObject) |
![]() |
SetObjectIdsInFlux | Called on a newly created cloned object to indicate that its
object ID is not valid. (Inherited from DBObject) |
![]() |
SetOwningNetwork | Sets the owning network for this action. Should not be called directly, instead it is called from the AssocNetwork.AddAction() and AssocNetwork.RemoveAction() methods. |
![]() |
SetPaperOrientation | Sets the paper orientation property of a specified
object. (Inherited from DBObject) |
![]() |
SetStatus | Sets the status for this action. |
![]() |
SubRegenSupportFlags | (Inherited from Drawable) |
![]() |
SubSetAttributes | (Inherited from DBObject) |
![]() |
SubViewportDraw | (Inherited from DBObject) |
![]() |
SubViewportDrawLogicalFlags | (Inherited from DBObject) |
![]() |
SubWorldDraw | (Inherited from DBObject) |
![]() |
SupportsCollection | Checks whether a particular context type is supported by this
object. This method shows whether an object supports a collection
type but does not show whether this object participates in any
contexts of that type. (Inherited from DBObject) |
![]() |
SwapIdWith | Swaps the objectIDs, handles, extended data (XData), and
extension dictionary between this object and another object. (Inherited from DBObject) |
![]() |
SwapReferences | This method performs object ID reference translations similar
to those done at the end of deep cloning. References between
objects in the workset have their object identifiers translated to
the swapped object identifiers of the referenced objects. In
contrast to cloning, this translation must occur in both
directions. Accordingly, it is possible to pass two different ID
maps in two different calls to this method. Currently not
implemented. (Inherited from DBObject) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object) |
![]() |
TransformActionBy | Notifes the action that the owner of the action is transformed. |
![]() |
UpgradeFromNotify | Upgrades the object from at least ForNotify mode to both ForNotify and ForWrite
modes. You should place a call to DowngradeToNotify() with no Open() or Close() methods
in between. For internal use. Currently not implemented. (Inherited from DBObject) |
![]() |
UpgradeOpen | (Inherited from DBObject) |
![]() |
ViewportDraw | Creates a viewport-dependent geometric representation of this
object. (Inherited from Drawable) |
![]() |
ViewportDrawLogicalFlags | Retrieves the setAttributes flags for the current
viewportDraw. (Inherited from Drawable) |
![]() |
WblockClone | Performs a shallow clone of this object. (Inherited from DBObject) |
![]() |
WorldDraw | Creates a viewport-independent geometric representation of this
object. (Inherited from Drawable) |
![]() |
X | (Inherited from RXObject) |
![]() |
XDataTransformBy | Applies the 3D transformation matrix to the XData of this
object. (Inherited from DBObject) |
Name | Description | |
---|---|---|
![]() |
Cancelled | (Inherited from DBObject) |
![]() |
Copied | Notification event called whenever the notifying object has had
its clone() member function called. (Inherited from DBObject) |
![]() |
Erased | Notification event called whenever an object has been erased or
unerased. (Inherited from DBObject) |
![]() |
Goodbye | Notification event called just before an object is deleted from
memory. (Inherited from DBObject) |
![]() |
Modified | Notification event called whenever an object is opened
ForWrite, a function has been called that
could modify the content of this object, and this object is now
being closed. (Inherited from DBObject) |
![]() |
ModifiedXData | Notification event called whenever the XData has been written
to the notifying object. (Inherited from DBObject) |
![]() |
ModifyUndone | Notification event called whenever the notifying object is
currently performing an undo operation that is undoing
modifications. (Inherited from DBObject) |
![]() |
ObjectClosed | Notification event called immediately before an object is
closed. (Inherited from DBObject) |
![]() |
OpenedForModify | Notification event called whenever an object is opened for
modifying ForWrite. (Inherited from DBObject) |
![]() |
Reappended | Notification event called whenever a redo process processes the
reappending of the notifying object to the database. (Inherited from DBObject) |
![]() |
SubObjectModified | (Inherited from DBObject) |
![]() |
Unappended | Notification event called whenever the undo process processes
the appending of the notifying object to the database. (Inherited from DBObject) |
© Bricsys NV. All rights reserved. |