how to ad a setting to use a fence in the key in "stretch icon" (to define a Function key)- if a fence is set
Rik
Hi Rik,
as Lorys wrote, to use "set item toolsettings" is the right way, but unfortunately he did not bother to provide any further detail or link, so it's probably not very useful information.
The most of MicroStation tools (unfortunately not all) allow to define their parameters, displayed in Tool settings dialog, using "set item toolsettings" key-in. This concept is described both in MicroStation documentation and MicroStation wiki.
In the discussed case, to set Use Fence switch, the-key is
set item toolsettings usefencetoggle=1
When following a good practice to define all settings to ensure tool (or F key) works always the same way, the complete key-in would be something like
stretch icon;set item toolsettings usefencetoggle=1;set item toolsettings cellstretchtoggle=1
With regards,
Jan
P.S. In future, please follow the best practices and to specify used product and its exact version, because maybe you use some from old versions that did not support this feature...
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Answer Verified By: RikR
Sorry but I did say search askinga and the article on set item tool setting .. do we also now have to do the google search for posters.. I thought you disliked doing that...LMGTFY
Ok them try this
google found these these and the second one explains it better.communities.bentley.com/.../how-to-extract-keyins-for-the-tool-settings-in-microstation-v8i
https://communities.bentley.com/products/microstation/f/microstation-forum/104570/where-do-we-set-the-default-settings-for-tools
and in the above post I once even put in some pictures and working examples of how to do what was in the ask inga article .. I seem to recall a better blog a long time ago but it appears it must have been archived away...
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me