Version: |
1.2 |
Description: |
Sets all appropriate settings to the same as the current entity. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCMatchCurrentEntity(short* iError); |
Delphi |
procedure VCMatchCurrentEntity(var iError: Smallint); stdcall; |
ActiveX/COM |
Sub MatchCurrentEntity() |
Parameters: |
No additional parameters are used with this subroutine. |
Notes: |
When retrieving settings associated with entities such as dimensions, not all properties are available through direct queries to the entity. VCMatchCurrentEntity allows an external application to set all the drawing settings that relate to the entity the same as the current entity. This allows the API to get the specific properties of the entity from the settings rather than from each entity. While this does upset the desired settings set by the user or application, VCSaveSettings will temporarily save them all prior to matching the current entity and VCRestoreSettings will bring the desired settings back again. The current entity is set with VCSetCurrentEntity, VCFirstEntity, or VCNextEntity. |
See Also: |
VCApplySettingsToCurrentEntity, VCRestoreSettings, VCNextEntity, VCEndOperation, VCSetCurrentErased, VCSetCurrentEntity, VCDrawCurrentEntity, VCLastEntity, VCDuplicate, VCBeginOperation, VCGetCurrentEntityHandle, VCIsCurrentSelected, VCFirstEntity, VCSaveSettings, VCNextEntity, VCFirstEntity, VCSetCurrentEntity, VCRestoreSettings, VCSaveSettings |