Share

AcGi Global Functions

Description

Defines global functions specific to AcGi classes.

Functions

Function Description
acgiGetCompoundObjStack Fills the comps array with the objectIds of all of the entities currently involved in the regen which have the AcGiDrawable::kDrawableIsCompoundObject attribute set.The stack is outermost CompoundObject id first and innermost id last.
acgiGetRegenBlockRefStack This function fills the blkRefs array with the objectIds of the of the AcDbBlockReferences involved in regenerating the current entity. The stack is outermost BlockRefId first and innermost id last. So, for example, if the BlockTableRecord named "test" is referenced by a BlockReference and that BlockReference is in another block named "outer", then when the BlockReference that references the BlockTableRecord "test" is regenerating as part of regenerating the the BlockReference that references the BlockTableRecord "outer", then this function will fill in the blkRefs array with two objectIds. The first id will be for the the BlockReference that references... more
acgiGetTransientManager Gets the current transient manager.
acgiIsValidClipBoundary Checks to see if the clip boundary described by pts is degenerate. A valid boundary requires at least three points. This function does not test for the valid number of points. It checks to see that the boundary is not self-intersecting or collinear.
acgiSetTransientManager Sets a transient manager current.

Was this information helpful?