Getting a bit rusty

Discussion in 'AutoCAD' started by per.corell, Sep 26, 2005.

  1. per.corell

    per.corell Guest

    Hi

    I hope some of you old timers can share a bit of advise ;

    Before ver. 12 it was easy to find the vars I often temp. make , to
    yield various values while drawing various entities. Say I made a house
    12 meter high and wanted this to be able to do various calculations , I
    the set the var. "Hight" to 12 case meters are my drawing unit , and
    having that temp. stored it is then easy in Lisp to "ansver" commands
    ---- say for some reson I need to draw something with a measure that
    reflect the "hight" , I can allway's ansver with a value that can be
    calculated from the vars I stored or take a measure in the drawing and
    at the same time have that measure stored as temp. var. --- I do this
    all the time, I can for instance make the house 2.3 times the hight ,
    by simple ansvering in Lisp ; (* hight 2.3) and this way I store the
    "hight" in a smarter way concerning calculations and ansvering command
    prompt, by in Lisp, simply saying 2.3 times the hight.
    Now when you store vars that way you end up with a load of different
    vars. --- say I want to do the calculaions on vars. like hight
    hight-window1 free-space aso. then back before ver. 12 you just typed
    "Atomslist" and you got a neat list of all vars. set in that session.
    Later Atomslist was replaced with the silli "Atomsfamily" that poured
    out a load of various vars. value , information that was more or less
    useless if you was only looking for the vars. you setq'ed in this
    particular session. ------ now these small tricks was there so you
    didn't needed a piece of paper to write down instead of having it all
    in the drawing, untill that information got lost closing the drawing,
    but at that time you anyway needed to confirm the entities and get rid
    of the loose and temp stuff ----- now my problem is that I often
    "ansver" a command with some value I measure in the drawing, and at the
    same time that I measure something to ansver the command I save the
    value so it is easy found later, If I need it again ,so when I need the
    "hight" again ,then I know that as I ansvered a call with (setq
    hight(getdist)) ; everyone who know AutoCAD and Lisp will know , that
    doing it like that, I both ansver with a distance messured in the
    drawing ,and at the same instance save that value of "hight".

    But since Atomslist became Atoms-family it is difficult to recall all
    values that you need to write down before you save and close the
    drawing while these temp. values are lost then ------ so what I would
    like to ask is, if there are a smarter way to be able to "remember" the
    various values , stored as vars like "hight" or hight-window1" in a way
    that work as the old "Atomslist" that didn't yield a bunch of vars, but
    a load where your own homemade values and vars. was easy to recall. As
    I said I do it all the time , I simply find it easy to set a lot of
    temp. vars. and then make the ansvers by calculations on these but ;
    what often happen is that I need to find new names for some distance or
    value I pick in the drawing, and sometimes I have to realise that I got
    a bit rusty, as it can be difficult to recall all the names for values
    stored ; there Atomsfamily was perfect as that would yield all the
    names and values for vars. something that became difficult with
    Atoms-family.

    Now this is my question ; are there a way or do I realy need to write
    that application myself to , to get these values case I forgot the
    exact names for the values I need to ansver with , is it possible now,
    to only get the values you setq'd in the particular session are there a
    way to get a list of var. names that work smarter than Atoms-family
    ????
     
    per.corell, Sep 26, 2005
    #1
  2. I think you can do what you want with a few buttons on a custom toolbar.
    I use created and use a "lisp" tool bar with buttons that store and recall
    points and distances.
    Distance storage is achieved by picking points.
     
    Michael Bulatovich, Sep 26, 2005
    #2
  3. per.corell

    per.corell Guest

    Hi
    Thanks for your ansver -- it made me realise that there are proberly no
    way around it ; I can make a list with Atoms-family when the session
    start and use "member " to check if an atom are among both lists when
    again asking an atoms-family, that way I can filter out the atoms that
    is new and in that way find those I put into the session.
    Thanks anyway.
     
    per.corell, Sep 27, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.