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 .
Not exactly an answer to your question about the RC mouse but you can keyin 'clos'e to close a shape. This can be assigned to a function key for example.
I don't think there is a keyin for closing a line string. If anyone know of one can you let me know.
Thanks,
Richard
Thanks Richard, I had missed that key-in earlier on.
1. Open the "Workspace->Button Assignments" dialog
2. Select one key/button combination and replace the pre-assigned Key-In with "Close" in the "Action" field.
In the screenshot here below I have tested the "Shift+Reset", which by default would be "Shift+Right Click"
Marco, is there a keyin for closing a linestring?
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.
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
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.
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.
Very nice Ron, works a treat, Thanks for that.