Author Topic: lisps to plain AutoLISP without VL-function  (Read 2102 times)

0 Members and 1 Guest are viewing this topic.

Shaj

  • Mosquito
  • Posts: 1
lisps to plain AutoLISP without VL-function
« on: September 20, 2021, 08:52:05 AM »
I am recently brought a mac mini in an impression it would be more interesting to use AutoCAD.

but my 2 small lisp file not loading in it , without I cannot work at all.

 

Can you help me to sort it out please?

 

2 files - flex.lsp, plp.lsp

https://we.tl/t-U5GzRsBpsT

mhupp

  • Bull Frog
  • Posts: 250
Re: lisps to plain AutoLISP without VL-function
« Reply #1 on: September 20, 2021, 10:24:48 AM »
All versions of AutoCAD for Mac doesn't include support for Visual LISP. And the only one way to resolve this is to rewrite routine using plain AutoLISP or ObjectARX.

oof

so all the vl- functions are ok its the vla vlx that need to change.

-----

Might want to switch over to BricsCAD like myself.
https://www.cadnauseam.com/2018/09/03/at-long-last-a-lisp-ide-comes-to-osx/
« Last Edit: September 20, 2021, 10:28:47 AM by mhupp »

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
Re: lisps to plain AutoLISP without VL-function
« Reply #2 on: September 20, 2021, 09:55:47 PM »
This object could be created using no VL just have to go in different direction for initial pick point. A entsel returns a pick point which may not lay on a line, but you can return that distance and work out where that point would be using polar and you know the angle of the line so know perp direction. Its just a math question using polar to work out points. Understand may give multi answer depends on line length.

Agree maybe Bricscad on MAC there are some comments re VLA function on MAC but nothing that can not be fixed quickly.

Re the dia select could use this needs 1 line changed to a known file rather than using vl-mktemp. Sizes are up to you.

« Last Edit: September 20, 2021, 10:03:48 PM by BIGAL »
A man who never made a mistake never made anything

BIGAL

  • Swamp Rat
  • Posts: 1398
  • 40 + years of using Autocad
Re: lisps to plain AutoLISP without VL-function
« Reply #3 on: September 22, 2021, 02:26:35 AM »
Re Flex For me its possibly easier to just write a new version, so a couple of questions, do you want just 1 flex joint or multiple say choose 1,2,3,4,5 etc then dia do you have a few sizes that you use all the time can add that as well. Note would only work on lines. What layer for flex lines thinking make them a block.



A man who never made a mistake never made anything