What arguments does ACE_REREADPROJECT expect?

What arguments does ACE_REREADPROJECT expect?

klonbeck
Advocate Advocate
254 Views
0 Replies
Message 1 of 1

What arguments does ACE_REREADPROJECT expect?

klonbeck
Advocate
Advocate

I have put some C# code together to manipulate our AutoCAD Electrical Projects, but the problem I have been having is the project manager does not update.

While digging around in the LSP>Functions command, I came across the ACE_REREADPROJECT lisp function. I tried to find an explanation on how to use this function on the web but was not able to find anything. Since I couldnt find anything I decided to play arround with it and see if I couldfgure out how to use it. What I found was that this function "refreshes" the project manager and shows the changes made by my C# code, but it only seems to "refresh" the active project. In my current application the active project is all I need.

 

from the LSP command I ralready know that ACE_REREADPROJECT is an EXternal aRX SUBRoutine (EXRXSUBR). from my testing I found that if I pass NIL to the function it returns T (True). If I pass T to the function it returns an error. If I pass TRUE to the function it returns T (True). If I pass a WDP file path with quotes it returns T (True). If I pass a folder path with quotes it returns NIL. If I pass the word STRING without quotes it returns T (True), I was expecting NIL or an error.

 

Based on my testing ACE_REREADPROJECT must have one argument. If the argument is NIL, an unqoted word, or a quoted WDP file path, the return value is T (True). All other arguments will return NIL or an error.

 

Can some explain or show me where to find the actual definition for this function?

While I have managed to make it do what I want. I would like to make sure I am using it correctly so i dont run into problems down the road.

 

Thanks for the help.

0 Likes
255 Views
0 Replies
Replies (0)