Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
XDRX-API / Re: [navigation] XDRX API sub-forum navigation post
« Last post by It's Alive! on April 26, 2024, 10:03:06 PM »
You should create a loader module that sets up the environment and loads dependencies
Like this.
https://github.com/CEXT-Dan/PyRx/blob/main/PyRxLoader/acrxEntryPoint.cpp
I use an .INI file as a fallback   
52
XDRX-API / Re: [navigation] XDRX API sub-forum navigation post
« Last post by It's Alive! on April 26, 2024, 09:52:38 PM »
"try, Manually copy XDrx.x64.dll in the sys directory to c:\windows\system32"
Yuk!
53
XDRX-API / Re: [navigation] XDRX API sub-forum navigation post
« Last post by xdcad on April 26, 2024, 09:47:16 PM »
Getting error when trying follow the installation instructions
Quote
Command: (ARXLOAD "E:/Program Files/AutoCAD 2023/XDrx-API/SYS/XDRx.2023.x64.arx")
e:\program files\autocad 2023\xdrx-api\sys\xdrx.2023.x64.arx cannot find a dll or other file that it needs.
; error: ARXLOAD failed

This may happen with some versions,
try, Manually copy XDrx.x64.dll and XDrx.x86.dll in  sys directory,
to AutoCAD Install Directory
54
XDRX-API / Re: [navigation] XDRX API sub-forum navigation post
« Last post by V@no on April 26, 2024, 09:36:13 PM »
Getting error when trying follow the installation instructions
Quote
Command: (ARXLOAD "E:/Program Files/AutoCAD 2023/XDrx-API/SYS/XDRx.2023.x64.arx")
e:\program files\autocad 2023\xdrx-api\sys\xdrx.2023.x64.arx cannot find a dll or other file that it needs.
; error: ARXLOAD failed
55
AutoLISP (Vanilla / Visual) / Re: [request] Radiant Pipe Layout
« Last post by It's Alive! on April 26, 2024, 09:13:49 PM »
"who takes liability in those cases?"
IMHO, Liability isn’t really a thing unless you can prove negligence.  Even then, it would have to be a big dollar amount and the most likely outcome is the other party filing bankruptcy.

Interesting point regarding Python. Generally, that’s going to be open source all the way to the OS, or like in my case *CAD. An investigative IT guy can work though the chain. 
I list off all the libraries I link with. Closed source usually does the same.

Pretty sure no one went thought this list interrogating each library owner
https://prd.autocad.com/attributions/autocad2025/index.html


56
AutoLISP (Vanilla / Visual) / Re: Switching a bad plot device to a good plot device.
« Last post by BIGAL on April 26, 2024, 07:06:05 PM »
We used Pop menu that has Mutiple printers set up including PDF so worked every time as inside choice was a lisp Plot routine. We did not use Publish etc.

There is plenty of plot lisp examples out there. Can check is it Acad or Bricscad as pdf has different names.

Code: [Select]
    (COMMAND "-PLOT"  "Y"  "" "Plot To PDF"
       "Iso full bleed A3 (420.00 x 297.00 MM)" "m" "LANDSCAPE"  "N"   "W"  "-6,-6" "807,560" "1=2"  "C"
       "y" "Acad.ctb" "Y" "n" "n" "n" pdfName "N" "y"
    )
57
AutoLISP (Vanilla / Visual) / Re: Make 3D Point from COGO Anonymous Block
« Last post by BIGAL on April 26, 2024, 07:04:01 PM »
If its a CIV3D cogo point use this

Code: [Select]
(setq obj (vlax-ename->vla-object  (car (entsel))))
 ; vl 3d point convert to plain lisp
  (setq pt1 (vlax-safearray->list (vlax-variant-value (vlax-get-property obj "Location"))))
58
AutoLISP (Vanilla / Visual) / Re: [request] Radiant Pipe Layout
« Last post by ymg on April 26, 2024, 05:31:46 PM »
@johnK,

Found this document from Radiantec https://www.radiantec.com/installation-manuals/instructions-for-doing-your-own-tubing-layout/

I'm quite sure you know most of what's in there, but if somebody wants to chip in with some code it will
probably help.

It shows 4 different layout pattern if we don't count the in-joist layout.

Thinking aloud now, It has some resemblance to ceiling tile layout.  If we enter from the bottom off the room, the width minus 2 feet has to be a mutiple of 2 otherwise we need to add one side branch and decrease the spacing.

Lot'sa gotcha in there though.

ymg



59
AutoLISP (Vanilla / Visual) / Re: Modify DWGUNITS
« Last post by PKENEWELL on April 26, 2024, 04:37:07 PM »
With my ancient A2K, this works: (setvar "LUNITS" 2) <- for decimal
DWGUNITS can have another setting, it is optional to match AutoCAD units settings.

I would rather note that LUNITS is a sub-setting within the UNITS command, along with ANGDIR, AUNITS, ANGBASE, INSUNITS, LUPREC and AUPREC. Other system Variables that effect units are MEASUREINIT, MEASUREMENT and UNITMODE.
60
AutoLISP (Vanilla / Visual) / Re: [request] Radiant Pipe Layout
« Last post by Zeftax on April 26, 2024, 04:11:09 PM »
My impression from what you wrote is more that they are concerned about it being malware than the guarantee of correct data output, thus an open source license would be good. But maybe I am misreading it.
Pages: 1 ... 4 5 [6] 7 8 ... 10