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 .
This post has been split from the original thread as it is a new question but related to the original post.
RegardsAndrew BellTechnical SupportBentley Systems
The key-in that was used in the previous thread requires you to place points in the view to define the shape that is being placed.
lv=1;co=32;lc=1;place shape;set item toolsettings elementfill = 2; set item toolsettings elementfillcolor = 29
You can either use AccuSnap to select the first point of this shape or just click on the Close Element button in the Place Shape dialog.
Are you requiring the above key-in to define when you want to close the shape? What are you meaning by the term:
"If i pressed the rest button t, the shape should closed"
I don't want to click on close the shape to close the element
I want to just pressed right mouse button (rest button ) , then the shape closed automatically
I am asking if there is line keyin string that i can add to the previous button doing this function
Hi Eburshaid, right clicking will cancel the shape being placed, there is no easy way of assigning the "close shape" to a mouse button as there is no key-in to activate it. In theory it could be possible to assign the "Close Shape" mdl function to a function key or mouse button but you will have to study the SDK documentation and get familiar with MicroStation programming.
What do u mean about SDK documentation
Sorry , i am new user of Microstation
No worries, SDK stands for "Software Development Kit", it is an additional package that include documentation on MicroStation Development Libraries (MDL).