Key-In: PLACE BLOCK ICON - issues with item settings key-ins

I am chaining item setting key-ins with PLACE BLOCK ICON but I cannot seem to alter the Edge 1 checkbox and field.



The available final commands in the key-in SET ITEM TOOLSETTINGS are

- EDGETOGGLE

- ELEMENTAREA

- ELEMENTFILL

- ELEMENTFILLCOLOR 

- LENGTH

- PLACEBLOCKTYPE

These are all self explanatory for which settings they can alter, but EDGETOGGLE [= number] and LENGTH [= number] only seem to affect 'Edge 2' and I cannot figure out how to affect 'Edge 1'

Anyone able to enlighten me?

Parents Reply Children
  • The sole reason for suggesting a macro recording is to reveal the inner workings of the MicroStation tool.  There's no hidden agenda to persuade you to use macros in production.

    Sorry for coming across as dismissive. My bad Sweat smile

    I absolutely do use macros for this purpose and is definitely the right path in trying to hunt down desired control.

  • I havent tested this but  you could try stringing the three keyins from Yongan Fu  with a ; between them  and save as  a custom F key combo that hasnt  been used then you  can launch the keyin at the  press of an F key or modify to suit new  values when needed .... personally I'd prefer to use a cell and scale , rotate as needed..

    sorry no I longer have access to microstation as bentley  dont  let use use home licenses anymore even not for profit  or helping  forum...

    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 

  • Chaining key-ins with ; is exactly what I'm doing. Usually to make sure tools always start in the configuration I want. Soooo annoying that you cannot switch off the settings being held over from previous uses. 

    For example this is my key-in for composite curve

    place composite;set item toolsettings arcangletogglelabeltoggle = 0;set item toolsettings arcradiustogglelabeltoggle = 0;set item toolsettings chngclosure = 1;set item toolsettings comparcangle = 0;set item toolsettings comparcradius = 0;set item toolsettings compcurvemodeoptionlabel = 3;set item toolsettings elementfill = 1;set item toolsettings elementfillcolor = 0;set item toolsettings planartogglelabeltoggle = 0;set item toolsettings smoothcornerstogglelabeltoggle = 0;choose element;place composite;lock templateassociation off;active priority = 0;active transparency = 40;active weight = 10;active style bylevel;active color bylevel;active level = "Default"

    Starts the tool with my preferred settings and on my construction layer.

  • Below bug filed:
    BUG 1099506
    : Place Block Icon command doesn't support SET ITEM TOOLSETTINGS very well.