VCAddHatchEntity


Version:

1.2

Description:

Adds a hatch entity to the drawing database or to a symbol definition.

Declaration:

 

C/C++

extern "C" void WINAPI VCAddHatchEntity(short* iError, short iSymbolIndex);

Delphi

procedure VCAddHatchEntity(var iError: Smallint; iSymbolIndex: Smallint); stdcall;

ActiveX/COM

Sub AddHatchEntity(ByVal iSymbolIndex As Integer)

Parameters:

iSymbolIndex - index location for adding the entity.
-1 - NONDEFENTITY (Drawing)
-2 - HATCHFILLENTITY
> 0 - Use VCGetSymbolIndex to retrieve the symbol index for creating a symbol definition.

Notes:

VCAddFillEntity and VCAddHatchEntity allow hatch and fill boundaries to be specified by any other entity types available in Visual CADD™. A hatch or fill entity is created by adding a reference to the entity type, building the boundary from other entity types and the sorting the boundary to finish the hatch or fill entity. VCSortCurrentHatchFillEntity forces Visual CADD™ to evaluate the input boundary entities for hatching or filling. The input entities must form a closed boundary.

See Also:

VCAddFillEntity, VCGetSymbolIndex, VCCreateSymbolDef, VCSetCurrentEntityPoint, VCSetCurrentSelected. VCHatchSelected, VCFillSelected , VCSortCurrentHatchFillEntity