Article | 70001857 |
Type | Wish |
Product | Engine |
Version | 8005 |
Date Added | 11/4/2020 12:00:00 AM |
Fixed | 8.8006.0.4 (11/5/2020 12:00:00 AM) |
Submitted by | SuperLpc |
Summary
Is it possible for CmdScale command to have a reference scale input?
Solution
A new value FitToUserDefine (for ScaleModeFlag enum) of vdDocument.ActionScaleMode property added in version 8006.0.4
If the ActionScaleMode property has the value ScaleModeFlag.FitToUserDefine then the result scaling is divided by a user defined distance when CmdScale is called.
Also the CmdScale ask the user for following parameters:
1. Ask the user to pick an object or selection of objects to be scaled
2. Ask for the origin point
3. Ask the user to select the scale by picking a distance with the mouse pointer or typing a real value in Drawing Units or type the new 'Reference'/ 'R' option
4. If 'Refence' was the input then commands asks the user to pick 2 points that their distance will be the reference scale which will be used to divide the selected scale.
5. After the Refence scale defined ask the user for the destination scale or to type 'Points' to select 2 points in order the final scale to be [(selected destination Points) / (Reference length)]