Thank very much for supporting Microstation beginner users :)
I have another question
In the same line string ,can i assign the rest button of the mouse button to close the shape
So
While i am drawing the shape,
If i pressed the rest button t,the shape should closed .
Very nice Ron, works a treat, Thanks for that.
Richard
If you check the Simplify geometry box on the Create Shape Manual tool settings it will result in a primitive shape element rather than a complex shape.
Thanks Ron, your key-in sequence works creating a complex shape made up of a line string and a line, which I guess it is used to close the linestring that was drawn at the moment of running the key-in. It can also be associated to a key+mouse button combination as for the "close" key-in in my previous post.
Ideally there should be a single key-in that works for both shapes and smartlines so that only one function key or key/mouse button needs to be defined.
You can assign the following keyin to a function key. If the function key is pressed after placing a linestring, it will create a closed shape from the linestring. It also puts you back into the linestring command so you can start creating your next shape. You can use this keyin after the reset or in place of the reset, since it has a reset as the first action it takes.
reset;create shape manual;XY=#,#,#;XY=#,#,#;reset;place lstring
HTH,Ron
Hi Richard, currently the "close" key-ins only works for shapes and I cannot see any other key-in that would. We will look further into this and post here our findings but this may end up in filing an Enhancement.
I also created a WiKi article for this issue that will also be updated when required.