Author Topic: OpenDCL - Hello World  (Read 6371 times)

0 Members and 1 Guest are viewing this topic.

Grrr1337

  • Swamp Rat
  • Posts: 812
OpenDCL - Hello World
« on: May 28, 2021, 02:59:03 AM »
Hi guys,
Decided to try out OpenDCL for the first time:
So I've installed "OpenDCL.Studio.ENU.9.1.3.0.msi" successfuly and "OpenDCL.Runtime.9.1.3.0.msi" (not sure if it was installed).
Then I've created a new project - Untitled.odcl with a modeless dialog and two text buttons.
And unfortunately in my ACAD theres no dcl-Project-Import , nor any dcl-* function definition.

My current goal is to run an OpenDCL project from ACAD.

System specifications: Windows 8.1 Pro 64 bit, AutoCAD 2017

Any ideas how could I fix my problem?

(apply ''((a b c)(a b c))
  '(
    (( f L ) (apply 'strcat (f L)))
    (( L ) (if L (cons (chr (car L)) (f (cdr L)))))
    (72 101 108 108 111 32 87 111 114 108 100)
  )
)
vevo.bg

RGUS

  • Newt
  • Posts: 106
Re: OpenDCL - Hello World
« Reply #1 on: May 28, 2021, 03:44:34 AM »
Yup.... head here and ask the same question.
https://opendcl.com/forum/index.php

Once you get he 'hang' of OpenDCL, there is no going back...

Grrr1337

  • Swamp Rat
  • Posts: 812
Re: OpenDCL - Hello World
« Reply #2 on: May 28, 2021, 05:59:28 AM »
Yup.... head here and ask the same question.
https://opendcl.com/forum/index.php

Once you get he 'hang' of OpenDCL, there is no going back...

Thanks RGUS,
Made a duplicate topic at opendcl.com

I was aware of ODCL for years, but just now decided to try it a bit.

(apply ''((a b c)(a b c))
  '(
    (( f L ) (apply 'strcat (f L)))
    (( L ) (if L (cons (chr (car L)) (f (cdr L)))))
    (72 101 108 108 111 32 87 111 114 108 100)
  )
)
vevo.bg

VovKa

  • Water Moccasin
  • Posts: 1626
  • Ukraine
Re: OpenDCL - Hello World
« Reply #3 on: May 28, 2021, 05:05:49 PM »

And unfortunately in my ACAD theres no dcl-Project-Import , nor any dcl-* function definition.

just arxload the corresponding .arx file

Grrr1337

  • Swamp Rat
  • Posts: 812
Re: OpenDCL - Hello World
« Reply #4 on: May 29, 2021, 10:43:36 AM »

And unfortunately in my ACAD theres no dcl-Project-Import , nor any dcl-* function definition.

just arxload the corresponding .arx file

The problem seems to be that I didn't initially invoked  (command "_OPENDCL"), which loads the library with the dcl-* function definitions.
However it would be cool just to arxload/netload instead of command-calling. :)

I should've checked earlier under "Application Development" section of ODCL's documentation. (Owen answered me anyway)
(apply ''((a b c)(a b c))
  '(
    (( f L ) (apply 'strcat (f L)))
    (( L ) (if L (cons (chr (car L)) (f (cdr L)))))
    (72 101 108 108 111 32 87 111 114 108 100)
  )
)
vevo.bg

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: OpenDCL - Hello World
« Reply #5 on: May 29, 2021, 11:10:21 AM »
However it would be cool just to arxload/netload instead of command-calling. :)
The general advice is to use the command call. But if you want to make things hard, don't let this stop you.

Grrr1337

  • Swamp Rat
  • Posts: 812
Re: OpenDCL - Hello World
« Reply #6 on: May 29, 2021, 06:13:56 PM »
However it would be cool just to arxload/netload instead of command-calling. :)
The general advice is to use the command call. But if you want to make things hard, don't let this stop you.

Unfortunately I don't have the time, thought someone already did it.
(apply ''((a b c)(a b c))
  '(
    (( f L ) (apply 'strcat (f L)))
    (( L ) (if L (cons (chr (car L)) (f (cdr L)))))
    (72 101 108 108 111 32 87 111 114 108 100)
  )
)
vevo.bg