Wish : New Document Property regarding OsnapMode.
Article | 60000373 |
Type | Wish |
Product | Engine |
Version | 6010 |
Date Added | 1/10/2008 |
Fixed | Yes [1/10/2008] |
Submitted by | Craig Willox |
Keywords | |
Subject
New Document Property regarding OsnapMode.
Summary
New Document Property regarding OsnapMode.
Solution
In version 6011 we added a new boolean flag to the vdDocument named OsnapModePreserve.
Default/Current value is FALSE.
OsnapModePreserve = FALSE: If a user executes a command (e.g. cmdLine) and during this command changes the OsnapMode* (like activate Center Osnap also) and clicks a point then the OsnapMode will return to the initial value that the command started (without the Center Osnap activated).
OsnapModePreserve = TRUE : If the user executes a command (e.g. cmdLine) and during this command changes the OsnapMode* (like activate Center Osnap also) , this change will stay permanent and will not be modified after finishing the current action (the Center Osnap will be active).
Please note that .end (.cen .nea ... etc) commands (see http://www.vdraw.com/Export6/60000014.htm) at the CommandLine, override the existing OsnapMode for the current Action and the OsnapMode is returned back to its initial value after the current action, no matter the value of this flag.
* The OsnapMode can change through the Osnap dialog, like pressing CTRL+LeftMouseClick and also by code(developer).