60000014 Extra snap modes

Article 60000014
Type Wish
Product Engine
Version 6005
Date Added 12/11/2006
Fixed (4/3/2007)
Submitted by Duvenbeck Christof

Summary

We're now asking you for the implementation of 3 additional Snap Modes in vdPro.ocx (i. e. in your new VCad 6.0 - Control), as well as for a possibilty to customize the Snap Distance. 1) Extension 2) Snap to Apparent Intersect 3) Snap From 4) Snap Distance in x,y-direction

Solution

In version 6006 and above we have added some extra snap features. These can be used in the command line and override the current OsnapMode value until the user input the point he wants.

These are :

Command What do they do    Example

These commands also overide the current OsnapMode and previous typed osnap commands. After user finishes input the OsnapMode returns to the previous value. Open the VDFCad sample, in a new drawing add a circle and some lines and in the command line start a user command, like line or polyline and while the program waits for user to input a point :

.end     This enable the End Point object snap By typing .end the end point osnap is activated.
.cen   This enable the Center Point object snap   By typing .cen the center point osnap is activated.
.ins This enable the Insertion Point object snap By typing .ins the insertion point osnap is activated.
.int   This enable the Intersection Point object snap   By typing .int the intersection point osnap is activated.
.mid This enable the Middle Point object snap By typing .mid the middle point osnap is activated.
.nea   This enable the Nearest Point object snap   By typing .nea the nearest point osnap is activated.
.node This enable the Node Point (vdPoint) object snap By typing .node the node (for vdPoints)  point osnap is activated.
.per   This enable the Perpendicular Point object snap   By typing .per the perpendicular point osnap is activated.
.qua This enable the Quadratic Point object snap By typing .qua the quadratic point osnap is activated.
.tang   This enable the Tangent Point object snap   By typing .tang the tangent point osnap is activated
.x This enable the same X coordinate object snap, after that is waiting for Y,Z By typing .x the user selects the X coordinate of the point and the Y,Z coordinates should be given in the next step. In VDFCad you can type .x and then .end to get the x coordinate of the endpoint of a line and then choose the Y & Z coordinates.
.y   This enable the same Y coordinate object snap, after that is waiting for X,Z   By typing .y the user selects the Y coordinate of the point and the X,Z coordinates should be given in the next step.
.z This enable the same Z coordinate object snap, after that is waiting for X,Y By typing .z the user selects the Z coordinate of the point and the X,Y coordinates should be given in the next step.
.xy   This enable the same X & Y coordinate object snap, after that is waiting for Z   By typing .xy the user selects the X & Y coordinates of the point and the Z coordinate should be given in the next step.
.xz This enable the same X & Z coordinate object snap, after that is waiting for Y By typing .xz the user selects the X & Z coordinates of the point and the Y coordinate should be given in the next step.
.yz   This enable the same Y & Z coordinate object snap, after that is waiting for X   By typing .yz the user selects the Y & Z coordinates of the point and the X coordinate should be given in the next step.
.from This enable the same X coordinate object snap By typing .from the user can enter a temporary reference or base point from which he can specify an offset to locate the next point. 
.par   This enable the Parallel Point to a given line segment object snap   By typing .par the user selects a line segment and then a parallel snap to this line segment will be enabled.

Send comments on this topic.