how do I join two keyins after first keyin completed in SSV10

Hi everyone even on Xmas leve I can't help it and I'm  doing  mstn tasks for fun....( I must be sick!)

I have  created to keyins ( to eventually create a  perfect  S curve between any  two lines or  points)

Essentially I'm  mimicking what I do by hand but saves selecting the tools...

The first

E,P,PCIRD;E,P,DLPELE;%D;%D

places a circle between two points by diameter, then it runs part delete and  lets me part delete by two points to create the qrtr arc  ( because I never  know the diam until its placed as circle first)

Now the second  keyin  lets me mirror copy and mirror again without  copy resulting in a perfect s shaped curve between any two given lines..

E,MIRROR COPY HORIZONTAL;%D;%D;E,MIRROR ORIGINAL VERTICAL;%D

These work perfect if run as  two separate scripts run one at a time or two keyins one at a time..

If I try to join them  then Mtn skips the first script keyin and  just runs the last part... 

Again a single keyin or script file would be the ideal but I just figure out the missing syntax to join them...

Not sure if this should have gone into programming forum as  its  just  keyins

  • David I wonder if you actually joind the two keyins  via a ";" and  ran it ... I tried your approach first.... of   many attempts prior to posting

    If you join them it lets you execute the place circle but skips to the copy mirror and gets stuck in the copy mirror  and you have to esc to exit the part delete seems to get skipped over....

    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 

  • Could you just make them a cell 1:1 or whatever the most common size you need is?  Then scale it if needed?  What is the "S" curve used for primarily?

  • Well its for electrical drawings .... it is usually needed to connect between two parallel lines  which are never the same distance apart for any drawings sent to be revised... I could just use the Arc tool and  accudraw to determine the radius ie /2  during arc placement, then redraw the arc in opposite direction... but I wanted to automate it as much as possible short of  vba ( which I'm not good at) ...I did figure out the keyins to do it but it need to be done as two separate keyins as  when joined  it just skips over the part delete. I tried the cell approach but I need to place it  between two points ie the two parallel lines  and requires measuring  first to work out the scale ... so I my as well  use the place arc  method twice, using  opposite hand  and accudraw... so I'm beginning to think  the arc method may be the best method rather than the keyins and delete the right parts and  mirror the right  way from the keyins or scripts.... I was trying to work all this out for a mate  who only  once in a while in semi retirement and using the keyins seemed to make it easier... but its still not automated enough .. a vba that asked for the first point and second  point to work out the radii and  direction from which is the first point would be the ideal....

    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 

  • Yeah I would use a cell :) make the origin one end presumably in the center and then just use edit handles to stretch the other end.  You can use a keyin to place the cell in a single button click and put it on a toolbar/ribbon etc.