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
may thanks
RikOBD u8