Version: |
1.2 |
Description: |
The default value for the snap percent command. |
Declaration: |
|
|
C/C++ |
extern "C" double WINAPI VCGetSnapPercentVal(short*
iError); |
|
Delphi |
procedure VCGetSnapPercentValBP(var iError: Smallint; var
dRet: Double); stdcall; |
|
ActiveX/COM |
Function GetSnapPercentVal() As Double |
Parameters: |
d - the desired snap percentage value. |
Notes: |
Snap percent typically requires the user to enter a percentage value along the entity selected to snap. However, as with many commands, the interface is not available through the API. It is therefore necessary to preset this value using VCSetSnapPercentVal. This setting can also be retrieved with VCGetSnapPercentVal. The value can be above 100 or below 0 and will thus snap beyond the end of the entity. The end selected closest to is the 0 percent end. |
See Also: |