Share

acdbBeginDrawStreamBuilding

C++

ACDBCORE2D_PORT bool acdbBeginDrawStreamBuilding(
    AcGiDrawStream* pStream
);

File

acgidrawstream.h

Description

Establishes a relationship between the AcGiDrawStream object and the entity object it is associated with, allowing the AcGiDrawStream object to record the stream of drawing data it generates when the entity object is regenerated, thus completing the creation process.

When the creation is complete, clients can use the acdbEndDrawStreamBuilding function to separate the AcGiDrawStream object from the entity object. A typical usage scenario is to implement your own AcGiDrawableReactor:

  1. Call the acdbBeginDrawStreamBuilding function in the beginRegen event to attach the drawstream object.
  2. Call the acdbEndDrawStreamBuilding function in the endRegen event to detach the drawstream object.
Besides, within AutoCAD all related calls are converted to the newly created APIs to ensure consistency.

Parameters

Parameters Description
pStream Input AcGiDrawStream object

Returns

Returns true if successful.

Was this information helpful?