Recent posts

#1
Deployment / Re: Getting OpenDCL Runtime pa...
Last post by tahtuam - October 30, 2024, 02:26:35 PM
Thanks Owen!

That's about what I expected and I made that clear to our middle man between us designers and IT security, but they still pushed me to ask the question.

I'm happy to go back to them and say they need to do their own analysis.

Thanks mate, appreciate your time.
#2
Deployment / Re: Getting OpenDCL Runtime pa...
Last post by owenwengerd - October 30, 2024, 01:40:21 PM
I'm afraid there is no formal answer to the questions, and answers from a user forum surely won't satisfy your IT administrators. The only technical document would be the Help documentation that is included with the software. I think your best bet is to explain that it is open source, so all of the code is available for analysis, and even to build the binaries locally. I wish you luck.
#3
Deployment / Getting OpenDCL Runtime past I...
Last post by tahtuam - October 29, 2024, 04:30:24 PM
Hello all!

I have used OpenDCL to create some LISP routines for AutoCAD in my somewhat major organisation and am currently trying to roll it out to my team. The way out systems are set up we cannot install anything ourselves. IT must remote log on and install.

I've trialed it with a few members of my design team and IT were successfully able to install the runtime on their computers (and everything worked perfectly!), however one member of IT staff has now said we cannot continue until OpenDCL runtime is properly vetted by IT security.

They have asked a few questions that I do not know the answers for as below:
1. Does OpenDCL Runtime interact with the operating system of the PC?
2. Does it interact with any internal systems? (I dont expect anyone here to know that.)
3. Does it have any other communication like file server as part of the use case?

As well as the above, they have asked for some sort of technical document on what exactly the runtime does.

I've been given a date of 21st November to roll out the routines so I'm hoping someone here can assist before then? If not I'll have to send it back to security and get them to work it out but who knows how long they'll take.

Thanks all!
#4
Source Code / Re: Slow load of project to au...
Last post by owenwengerd - September 26, 2024, 11:14:35 AM
There were some reason performance and resource leak fixes, so I guess those fixes resolved the problem you encountered.
#5
Source Code / Re: Slow load of project to au...
Last post by Mostafa AbdelBaset - September 26, 2024, 03:32:39 AM
i use autocad 2022 and 2023 and both face the same problem.
the problem solved when i updated from opendcl version 9.2.03 to 9.2.3.3
i didn't update to the 9.2.4.1 version as i have no admin rights on my PC to install it right now.may be i will check later when i update to this version

this is the function i used to calculate the load project/show form time


(defun c:test ( / tmlst)
(defun timer ( / rTimeDiff)
; Check to see if the function was previously called
(if (= *g-timer-start-time* nil)
(progn
; Stores the current milliseconds
(setq *g-timer-start-time* (getvar "MILLISECS"))
(princ)
)
(progn
; Calculates and returns the time difference
(setq rTimeDiff (- (getvar "MILLISECS") *g-timer-start-time*)
*g-timer-start-time* nil)
rTimeDiff
)
)
)

(repeat 100
(timer)
(dcl_Project_Load "findreplace" T)
(dcl_Form_Show findreplace_findreplace)
(setq tmlst (cons (timer) tmlst))
(dcl-Form-Close findreplace/findreplace 1)
(command "_.delay" 200) ; take a break time after each load
)

tmlst
)

#6
Source Code / Re: Slow load of project to au...
Last post by owenwengerd - September 25, 2024, 06:43:10 PM
Are you testing with the latest development build of OpenDCL Runtime? Which version of Acad? Can you attach the form and code you used to obtain these results?
#7
Source Code / Slow load of project to autoca...
Last post by Mostafa AbdelBaset - September 25, 2024, 12:57:03 PM
Hello
i have a consideration about the load & show form function.
when i load a project multiple times to autocad it gets slower and slower each time i load the project and show the form.
i have calculated the time for repeating load project/show form for 100 times and the result was as follow in milli seconds

(156 172 172 187 188 203 204 203 187 203 219 203 219 218 250 219 235 235 250 250 250 250 265 281 265 281 281 282 281 281 297 297 281 312 328 328 313 329 344 328 344 344 344 360 375 360 375 375 375 375 390 390 391 390 391 406 391 406 422 422 422 437 437 438 438 437 438 453 454 484 468 484 468 484 468 484 485 500 500 500 516 516 531 516 531 516 532 546 547 547 547 563 562 578 578 562 578 578 594 609)

as shown the more times i load the project/show the form the slower it will be.
is there any solution to make the load process faster?

thank for your help in advance

[/size]
#8
Deployment / Re: OpenDCL for GstarCAD 2025
Last post by Marcin - September 25, 2024, 02:06:31 AM
Great, thanks
#9
Deployment / Re: OpenDCL for GstarCAD 2025
Last post by owenwengerd - September 20, 2024, 08:25:17 AM
Thanks Marcin, I'll put GstarCAD 2025 support on the to-do list for the next update.
#10
Runtime/AutoLISP / Re: Scrollable content in pale...
Last post by odcl_civilizer - September 20, 2024, 08:11:36 AM
Quote from: TCNTRM on September 20, 2024, 04:29:13 AMAsked the same question, I'm pretty sure I was told it can't be done

Ah really? Thought it would be possible especially considering grid exists and has scroll functionality.
I tried doing something using Control-GetPos, Control-SetPos and Scrollbar but it's very junky and can't set negative positions so I have to hide the controls that reach the top.