Jump to content

Accoreconsole and Diesel expresions


pouicpouic

Recommended Posts

Hi,

 

I run a batch files with Autocad coreconsole.

 

I use Diesel expressions in my VP to have list of XREFS.

 

When I run accoreconsole.exe and I publish my files, I can't show my XREF List. I don't have Diesel expresions working.

 

Have you got a way to find a solution?

 

Thks,

 

(I use RTEXT and the variable : $(Xrefs,3,) )

Edited by pouicpouic
Add: My Diesel variable
Link to comment
Share on other sites

Hi,

 

Thanks for your reply.

 

I have this problem and the other one. I can't load and use this very simple. Coreconsole gives me nothing. Weird.

 

If you have any suggestions,

 

I try to load or use it in loading in my scr

 

I call the fonction with juste Command : test

 

(defun C:test (/ layouts num)
 (setq layouts (layoutlist)); list all paperspace layouts in the drawing
 (setq num 0); zero counter
 (repeat (length layouts); Repeats the plot command on all layouts
   (command "-TRACEUR"
        "o" ;
        (nth num layouts);;
        "PDFCreator.pc3";;
        "Format de papier précédent  (1398.00 x 840.00 mm)" ;;
        "M" ;;
        "A" ;;
        "N" ;;P:
        "P" ;;E
        "1=1" ;;
            "-3.22,-3.64";;
             "O" ;;
             "acad.ctb" ;;E          
        "O" ;;Style de traceh 
        "O" ;;epaisseur de ligne
        "N" ;;espace papier premier
            "n" ;;masque objet espace papier
            "n" ;;enregistre fichier trace
            "n" ;:enregistre modif mise en page
            "o" ;;poursuivre trace
        
   );; end _.-plot
   (setq num (1+ num)); Increment counter
 ); end repeat
);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...