OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: dioneib on April 16, 2015, 05:29:30 PM

Title: OpenDCL for BricsCAD
Post by: dioneib on April 16, 2015, 05:29:30 PM
There OpenDCL to BricsCAD?
Title: Re: OpenDCL for BricsCAD
Post by: owenwengerd on April 17, 2015, 07:59:38 AM
Yes, OpenDCL 8 supports AutoCAD, BricsCAD, ZWCAD, and soon GstarCAD.
Title: Re: OpenDCL for BricsCAD
Post by: dioneib on April 17, 2015, 10:03:46 AM
Thank you.
I will search to find out how to make it work.
In attempts the BricsCAD did not recognize the command (command "_.OPENDCL").
Title: Re: OpenDCL for BricsCAD
Post by: dioneib on April 17, 2015, 12:03:28 PM
I managed to make it work.
The correct is (command "OpenDCL") and not (command "_.OPENDCL").
The dot (.) Makes all the difference.
I appreciate your promptness.
hugs
Dionei
Title: Re: OpenDCL for BricsCAD
Post by: owenwengerd on April 18, 2015, 01:02:14 PM
It should work either way, and does for me in BricsCAD V15. Which version are you using?
Title: Re: OpenDCL for BricsCAD
Post by: dioneib on April 18, 2015, 02:59:38 PM
See below in BricsCAD screen:


: _qnew
: (command "_.OPENDCL")
: _.OPENDCLnil
:
: ACADVER


ACADVER = "19.1 BricsCAD" (read only)
Title: Re: OpenDCL for BricsCAD
Post by: roy_043 on April 19, 2015, 04:17:29 AM
@ dioneib:
You are misinterpreting the feedback you are getting.
It is important to know two things:
1. The return value of the command function is always nil.
2. Arx/Brx applications are loaded once per CAD session.

Take a look at this command history:
: (command "_.OPENDCL")
: _.OPENDCL
OpenDCL Runtime [8.0.0.6] loaded
nil
:
: (command "_.OPENDCL")
: _.OPENDCLnil
: (command "bla")
: bla

Unable to recognize command "BLA". Please try again.nil
:


To check the BricsCAD version you should use the _vernum variable.
Title: Re: OpenDCL for BricsCAD
Post by: dioneib on April 20, 2015, 01:33:38 PM
You're right as always.
All the rest I speak not make sense.
Many thanks for your promptness always
Dionei