current coordinate, and move questions

 From:  Michael Gibson
11329.4 In reply to 11329.3 
Hi Rusty, so often in CAD there is not the concept that an object has a single "position" point so-to-speak.

Like if you have a 90 degree arc, what is the arc's "position" value? Start point of the arc? End point of the arc? Center of the arc's circle? Center of the arc's bounding box?

Those are all different points.

> It would be nice if there was some character that could be entered for XYZ that
> meant no change. Then you could just do the move, and type 1,NC,NC

The way it works in AutoCAD is there is a thing called "point filter" where you can tell it to only set just one or 2 coordinate values from the active point being picked. You activate it by typing in .x then after that only the x value is taken from the next point pick either by typed in coordinates or picked with the mouse.

You can kind of get something similar in MoI now using script. On the second point pick in the Move command, type the Tab key to put focus in the XYZ input box, then type:
moi.ui.getActivePointPicker().setX(1)
then pick the point in the same spot as the initial move point.

or also another way you can do it currently is on the 2nd pick for Move click the "Distance from edge" button, then type 1 <enter> and pick a point on the grid's Y axis line. It should then make a point that slides towards that line stopping 1 unit away from it which will be x=1.

I'll also set up a MoveXYZ script as well though.

- Michael