Results 1 to 2 of 2

Thread: ACET functions

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2017-05
    Posts
    1
    Login to Give a bone
    0

    Default ACET functions

    I was fixing some basic LISP routines my office has and ran across something I can't figure out. I have become the defacto CAD manager at my architecture firm, and everything I know about AutoLISP is self taught, so please help.

    I am working in a LISP routine that restores a named Layer State that exists within the drawing.
    Code:
    (defun c:B0()
     (SETVAR "CMDECHO" 0)
     (layerstate-restore "B0" (acet-currentviewport-ename))
     (command "tpnavigate" "base")
     (command "regen")
     (SETVAR "CMDECHO" 1)
     (princ)
    )
    Everything makes sense to me except for: acet-currentviewport-ename. Google hasn't told me anything beyond that its included within the acetutil modules ??

    I am wondering what the function of using this is? It seems to still work if I remove it, but I don't want to mess anything up as layer state restore commands are super important in my firm. I am trying to clean up the office routines as part of a long term project and want to make the lisp routines as straight forward as possible.
    Last edited by BlackBox; 2017-07-20 at 01:32 PM. Reason: Change [PHP] to [CODE] tags

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: ACET functions

    Welcome to AUGI.

    Unfortunately no, there's really no 'complete' documentation on ACET-* functions... You can find a lot of them using your Google powers, just be mindful of Copyright laws.


    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

Similar Threads

  1. acet-laytrans
    By paulpailmore in forum AutoLISP
    Replies: 6
    Last Post: 2022-03-01, 04:46 PM
  2. acet-ui-getfile
    By sbruvo in forum AutoLISP
    Replies: 12
    Last Post: 2014-07-08, 06:09 PM
  3. Replies: 0
    Last Post: 2012-11-24, 07:38 PM
  4. acet.. function
    By clovis in forum AutoLISP
    Replies: 3
    Last Post: 2008-12-09, 12:53 PM
  5. ACET-ERROR-XXX Questions
    By madcadder in forum AutoLISP
    Replies: 2
    Last Post: 2006-10-23, 07:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •