Started by Rainer Bous ·
2015-10-25 22:24 UTC ·
5 replies · SMF topic #2324
Rainer Bous
2015-10-25 22:24 UTC
Dear all,
it is possible in AutoCAD to use following code:
(dcl_sendstring "circle")
(dcl_sendstring " ")
but it doesn't work in BricsCAD:
(dcl_sendstring "cricle") -> is shown in command:-row
(dcl_sendstring " ") starts the last command instead of "circle"
I know, if I use (dcl_sendstring "circle ") it works on both sides, but for "Tablett-Emulator" with original ".mnu"-files I need separated command version.
Can somebody help me?
Kind regards
Rainer
roy_043
2015-10-26 09:01 UTC
I understand your problem. But since your code has parsed the menu file, you know the exact sequence of strings that will have to be sent. So it should be possible to avoid this altogether.
fred_tomke
2015-10-27 18:23 UTC
Hello, Rainer,
I recommend you to compare the behaviour between AutoCAD 2014 and AutoCAD 2016. Autodesk removed fiber in AutoCAD 2015 and I can imagine that it has consequences in the behaviour of calling commands.
Regards, Fred
Peter2
2015-10-30 22:45 UTC
author=Fred Tomke link=topic=2324.msg11688#msg11688 date=1445970225 wrote:
...Autodesk removed fiber in AutoCAD 2015 ...
Who or what is fiber?
fred_tomke
2015-10-31 01:28 UTC
Hi, fiber is a special
{2}. Using this technology it allowed AutoCAD 2014 and older releases to keep each drawing capsulated. That means, you've started a command in a drawing and while this command is running you could make another drawing active to start another command. That is not possible anymore. This is the only thing where the "normal user" can see a difference to AutoCAD 2015 and 2016. I assume, Autodesk had its reasons to use this in the past. But it also had some negative effects (for instance in debugging C# applications).
But now some commands have to be called asynchronously. You reach that using command-s instead of vl-cmdf and command.
Regards, Fred
Peter2
2015-10-31 20:11 UTC
Danke, Fred