Cannot Load Mac Lee's Offset Polyline Section LISP

Cannot Load Mac Lee's Offset Polyline Section LISP

DalskiSelecta
Advocate Advocate
596 Views
7 Replies
Message 1 of 8

Cannot Load Mac Lee's Offset Polyline Section LISP

DalskiSelecta
Advocate
Advocate

Mac Lee has a cool script - I manage to load it properly into Autocad by referencing the path of the LISP but running the actual LISP itself in Autocad it's defined function name offsec does not load the LISP. I thought it may be because my Documents windows folder was mapped to OneDrive. So I tried creating another folder local to Autocad, but that has not worked either. I would have thought that Lee Mac's code is still valid in C3D 2023 or is that the issue. If so does anyone have any good links that can offset feature line sections?

 

Someone else's endeavour which I've followed in loading the LISP. 

0 Likes
597 Views
7 Replies
Replies (7)
Message 2 of 8

Domzinator
Advocate
Advocate

did you check if the path where your lisp file  is stored is listed in your Trusted & Support Location?

Civil 3D Certified Professional
Message 3 of 8

DalskiSelecta
Advocate
Advocate

Thanks, I had added it to "Support Search Path", which seems when that happens it autonomously adds said path to the "Working Support File Search Path". But I had not added it to the "Trusted Locations". Upon adding it - warns that it is not a read-only location & is vulnerable to malicious code; yet does not seem to give an option to enable read-only. Regardless I have added it there & restarted the app, loaded the LISP but sadly the defun command (offsec in this case) does not load the LISP. 

0 Likes
Message 4 of 8

Domzinator
Advocate
Advocate
I will have a look at it on my side, maybe a stupid question but how did you load your lisp file? Before setting the path to the trusted paths did a messagebox pop up asking you to choose to load the lisp file? You should have had 3 options?
Civil 3D Certified Professional
Message 5 of 8

DalskiSelecta
Advocate
Advocate

Thanks - after referencing the paths I used AP to load the LISP; said it loaded fine, but when trying to activate the LISP by typing in "offsec" nowt happens.

0 Likes
Message 6 of 8

chriscowgill7373
Advisor
Advisor

Can you provide a screenshot of what you are seeing when you run OFFSEC?

Have you asked Lee for assistance with the program?  There is a contact form on the website.


Christopher T. Cowgill, P.E.

AutoCAD Certified Professional
Civil 3D Certified Professional
Civil 3D 2024 on Windows 10

Please select the Accept as Solution button if my post solves your issue or answers your question.

0 Likes
Message 7 of 8

DalskiSelecta
Advocate
Advocate

Don't see anything worth screenshotting when running offsec. Don't think Lee would appreciate being bothered with it - my experience is these people are often hounded by requests & not once before have I had a decent response - speaking from the masses not towards Lee. 

0 Likes
Message 8 of 8

Pointdump
Consultant
Consultant

Hi @DalskiSelecta,
Have you tried just drag-n-dropping the LISP into your drawing? That's how I load them.
Dave

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
0 Likes