Recent Posts

Pages: [1] 2 3 ... 10
1
Runtime/AutoLISP / Re: various groups option buttons
« Last post by LauReis on November 24, 2022, 03:02:26 AM »
Guys I found a topic on the forum about this subject, really and very simple the solution.
Really cool.
Thanks   :)

https://opendcl.com/forum/index.php?topic=761.msg3724#msg3724
2
Runtime/AutoLISP / various groups option buttons
« Last post by LauReis on November 22, 2022, 04:31:43 AM »
Good Morning
I have a problem with different groups of option buttons.
When I select one (item) from a group it marks correctly, but when I select another item from another group it unmarks the first one and so on

follow video to find out
https://drive.google.com/file/d/10NXpBXooGB8DLs632ElVm3XAMYC92yiC/view?usp=sharing

thanks
3
Runtime/AutoLISP / Re: SetCurSel based off another Listbox
« Last post by dsm_dude on October 31, 2022, 01:51:44 PM »
Fred,

You are the man. I knew there was a better way!!

Thank you!!
4
Site Management / Re: Bug in documentation
« Last post by owenwengerd on October 29, 2022, 05:21:21 PM »
Good catch. Surprising that nobody noticed this before. The bug is fixed in 9.2.03, which will be available soon.
5
Runtime/AutoLISP / Re: 2023 coming soon?
« Last post by arion279 on October 25, 2022, 02:05:25 PM »
Here is the first screenshot.
6
Runtime/AutoLISP / Re: 2023 coming soon?
« Last post by arion279 on October 25, 2022, 02:04:55 PM »
Hi, thanks for the response. I tried loading the latest version and am receiving the attached errors. Any idea how to fix? I'm trying to run OpenDCL.x64.24.arx.
7
Site Management / Bug in documentation
« Last post by Dovys on October 23, 2022, 01:05:59 PM »
Hi,
I found bug in documentation of OpenDCL or in OpenDCL. Here is image https://ibb.co/0CY9fJz
Image show documentation window and my app window above it. Bug is in justifications.
I have created columns with command
Code: [Select]
(dcl-Grid-AddColumns
    MineralDeposit/DH/Data
    (list
      (list "No" 0 100)
      (list "X" 0 100)
      (list "Y" 1 100)
      (list "Z" 2 100)
    )
)

After it I have added rows with command
Code: [Select]
(dcl-Grid-AddRow
  MineralDeposit/DH/Data
  (nth 0 row)
  (rtos (nth 0 (nth 1 row)) 2 2)
  (rtos (nth 1 (nth 1 row)) 2 2)
  (rtos (nth 2 (nth 1 row)) 2 2)
)

Justification in header is right, but in all other rows right and centered is exchanged. I have tried changing justification in AddColumns command and it effected header and other rows, but header and other rows are exchanged all the time.
8
Deployment / GstarCAD 2023
« Last post by mjacak on October 19, 2022, 11:08:31 PM »
Hi Owen,

There is new version of GstarCAD 2023 (https://www.gstarcad.net/cad/) and I have recived link to SDK for 2023:

http://www.gstarcad.pl/ftp/2023/GRX/grxsdk_GstarCAD_2023.zip

I beleve it help with supporting GS in new OpenDCL.

Regards
Mateusz Jacak
9
Runtime/AutoLISP / Re: My code does not run when initializing events
« Last post by owenwengerd on October 09, 2022, 06:13:39 PM »
Likely your lisp event function names do not match the names in the .odcl file. If you open your .odcl file in OpenDCL Studio, you can copy/paste the event function names from studio to your lisp file.
10
Runtime/AutoLISP / My code does not run when initializing events
« Last post by EcObO on October 08, 2022, 04:17:11 PM »
Good evening dear friends, please if someone could guide me, when i do the following routine:

where it loads the form, but it does not start any of the events, #OnInitialize or #OnClicked, what could be happening, thanks for the answers.

P.s. The form only has the following elements:

- a label (Etiqueta1)
- a text box (CajadeTexto1)
- a button (Botodetexto1)

My AutoCAD is 2021 and i use version 9.2.0.2, and I also tried with 9.1.5.2 and none of them run the events.



(defun c:hello()
  (command "_OPENDCL")
  (dcl_project_load "01_hello_world" T)
  (dcl_form_show 01_hello_world_Formulario1) 
  (princ)
 )

(defun c:01_hello_world/Formulario1#OnInitialize (/)
  (dcl_MessageBox "Hello World!!!")
)
(defun c:01_hello_world/Formulario1_OnInitialize (/)  (dcl_Control_SetCaption 01_hello_world/Formulario1/Etiqueta1 "Type text to Box And Click Button")
  )

(defun c:01_hello_world/Formulario1/BotondeTexto1#OnClicked (/)
   (dcl_MessageBox "Hello World!!!")
  (setq txtBoxString (dcl-Control-GetText 01_hello_world/Formulario1/CajadeTexto1))
  (alert (strcat "Hi" txtBoxString))
)


Pages: [1] 2 3 ... 10