semantic error

semantic error

Anonymous
Not applicable
2,397 Views
11 Replies
Message 1 of 12

semantic error

Anonymous
Not applicable

hey

after i successfully load the lisp i need

when i type the command of the lisp

it says semantic error in dcl 

and i donot know what to do 

tried to see a solution in many places but it didnot work for me

so please help me with full explaination and all details to solve this problem to me

0 Likes
2,398 Views
11 Replies
Replies (11)
Message 2 of 12

paullimapa
Mentor
Mentor

I assume you downloaded this from the website:

http://www.steel-link.com/downloads/download-detail.cfm?recordID=145

 

The files need to be placed into a folder called:

C:\STL

 

Then you need to add this into AutoCAD's Support Search path:

Options

Files tab

Support File Search Path

Add C:\STL

 

Then enter:

(load"STL")

 

Now it should work when you enter command: STL 

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 12

Anonymous
Not applicable

i did what you said exactly 

still says semantic error 

0 Likes
Message 4 of 12

Anonymous
Not applicable

note

i was using visual lisp

and i found this notepad created on my desktop 

this was written in it

====== DCL semantic audit of c:/stl/stl ======

Hint in "stl_ersa". (widget type = list_box, key = "TABLE_ERSA")
height = 13 is probably redundant.

 

i donot know what is this related to 

0 Likes
Message 5 of 12

paullimapa
Mentor
Mentor

What version of AutoCAD are you running?

I have no problems running on vanilla AutoCAD 2015, 2017 & 2018.

After I enter (load"STL") I get the attached publisher warning dialog so I would click Always Load.

Then when I enter STL I get the attached STL AutoCAD Draughting Utility window.

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 6 of 12

paullimapa
Mentor
Mentor

You can always remove the height line but that should not be causing the error you are getting.

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 12

Anonymous
Not applicable

iam using autocad 2018

right now i managed to load lisp 

and when i write the command stl

this is what i get from command bar

 

Command: STL
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended.

0 Likes
Message 8 of 12

paullimapa
Mentor
Mentor

Doing a search on-line matching your error message I found these links that mentions of other vertical add-on apps with error trap functions that may be the culprit. But other than that I have no solutions for you. Perhaps others may have encountered something similar that can give you a better solution.

http://architects-desktop.blogspot.com/2014/11/aca-2015-cannot-invoke-command-from.html

https://forums.autodesk.com/t5/autocad-architecture-forum/cannot-invoke-command-from-error-without/t...

http://www.cadtutor.net/forum/showthread.php?87670-Error-message-when-trying-to-load-up-a-*error*-fu...

 

Perhaps you could check to make sure you are running AutoCAD and not one of the AutoCAD verticals? 

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 9 of 12

Anonymous
Not applicable

thanks

0 Likes
Message 10 of 12

Anonymous
Not applicable

You can always remove the height line but that should not be causing the error you are getting.

 

can you tell me what you mean exactly with this 

0 Likes
Message 11 of 12

roland.r71
Collaborator
Collaborator

@Anonymouswrote:

iam using autocad 2018

right now i managed to load lisp 

and when i write the command stl

this is what i get from command bar

 

Command: STL
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended.


That one is easy.

 

The *error* trapping function calls the function (STL_VAR_RESET)

STL_VAR_RESET contains the line:

(command "_.layer" "set" old "")

... but (with newer acad) you can NOT use the regular (command ...) inside the error function.

 

Change that to: (command-s "_.layer" "set" old "") to make it work properly.

 

Note: this will only get rid of the message above, it will not solve you semantic problem. In fact, this means there is a problem which invokes the *error* function, but then it detects an error inside the *error* function and reports that instead.

 

0 Likes
Message 12 of 12

ivan_kilic5VMJD
Community Visitor
Community Visitor

Just wanted to chime in 5 years later - The same problem happened to me... After 6 hours of googleing - I solved this problem by changing screen resolution back to 1920x1080 🙂

 

0 Likes