We're experiencing a weird issue where the Cell Selector will work fine in MicroStation SS10 (08.11.09.908), but not in PowerDraft SS10 (08.11.09.912). PC's are identical with Windows 10
A Customised Workspace is being used, in which PowerDraft & MicroStation look at the exact same files on our Network including the exact same .csf on our network (I have also tested without the workspace being used and its the same problem although it displays a different Keyin).
Both PC's show the exact same as the image above when double clicking on the Cell Grid.
In MicroStation, when clicking once, the selected Cell shows on the design for placement (which is normal behaviour).
In PowerDraft, the readout (bottom left corner of the Window) says "Unknown key-in or command".
Is there a limitation with PowerDraft or could there be something else going on?
I did not create the UCM file, but it has been working for a long time. Its only in PowerDraft that we're experiencing the issue.
Thanks,
The contents of the UCM are here.
init: key 'noecho' set OUTFLG = OUTFLG ! 8 set a0 = ACTANG ;save active angle ; prompt: ; this is set in string of menus msg 'prKey in symbol name e.g. 004001' get k,setcell,p,prompt,r,out cls key go prompt ; setcell: set c0 = 'ac=' + key key c0 tst relerr,eq,0,placecl error: msg 'erInvalid cell name' key 'beep' go prompt ; PLACECL: cmd pacler ;place cell command go exituc ; exituc: ; cmd nulcmd sli go out ; out: set ACTANG = a0 ;restore active angle set OUTFLG = OUTFLG & -9 msg 'pr' key 'echo' key 'lv=$' end
Robert Golding said:In PowerDraft, the readout (bottom left corner of the Window) says "Unknown key-in or command"
The key-in in your screenshot is:
UC=MS_UCM:PLSYMCEL;000
What happens when you key that in manually?
Presumably, what it's supposed to do is run the UCM named PLSYMCEL. What's the 000 after the semi-colon?
PLSYMCEL
000
Regards, Jon Summers LA Solutions
If i key the key-in manually in MicroStation it's the same result as running from the Cell Selector i.e MicroStation will work, PowerDraft will not.
000 is the name of the cell to place (bad example I know)
Robert Golding said:If i key the key-in manually in MicroStation it's the same result as running from the Cell Selector i.e MicroStation will work, PowerDraft will not
Are UCMs supported in PowerDraft?
Answer Verified By: Robert Golding
Seems it is not supported in PD as I can still run UCM in Microstation but not in Powerdraft.
Why not to convert UCM to MSBASIC (UCM2BAS.MA) it is supported up to SS10?
Or replace the UCM all together it doesn't seem it does anything specific which could not be replaced by BASIC or Key-in Scripts(.txt)
Oto said:Why not to convert UCM to MSBASIC
Prefer VBA: MicroStation BASIC is a dead-end, and not supported in CONNECT.
For such task VBA is not good solution and is not exact replacement for UCM,Key-in Scripts, action strings or MSBASIC.
VBA depends too much on external libraries so is not fail proof. Maybe new Macro recorder(BMR) would be more suitable.
Oto said:For such task VBA is not good solution and is not exact replacement for UCM,Key-in Scripts, action strings or MSBASIC
Please justify your assertion! Why is VBA not a good solution?