Version: |
1.2 |
Description: |
Marks the specified entity as the current entity in order to retrieve information about that entity. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCSetCurrentEntity(short* iError, ENTITYHANDLE lH); |
Delphi |
procedure VCSetCurrentEntity(var iError: Smallint; lH: Longint); stdcall; |
ActiveX/COM |
Sub SetCurrentEntity(ByVal lH As Long) |
Parameters: |
lH - the Visual CADD™ entityhandle for the desired entity. |
Notes: |
In order to modify or retrieve settings of drawing entities, it is first necessary to select a current entity. This can be done by either parsing through one at a time using VCFirstEntity and VCNextEntity or by directly selecting the current entity with VCSetCurrentEntity. This does not visually select the entity but simply set a pointer to the entity for later operations. |
See Also: |
VCNextEntity, VCFirstEntity, VCFirstSelected, VCNextSelected, VCLastEntity, VCGetCurrentEntityHandle |