Properties Manager Items In a Toolbar???

Discussion in 'AutoCAD' started by JRodriguez, Jul 15, 2004.

  1. JRodriguez

    JRodriguez Guest

    Ok. Hopefully I can properly explain this. Is there a way to take something from the Properties Manager Box and put it into a toolbar. i.e. I have my Properties Manager Dialog box over on the left of my ACAD window. I select an xref and its info comes up in the Properties Manager Box. All of its info like name, location, layer, etc. etc. So my question is is there any way to take some of those properties and put them into a toolbar. I'm looking for a way to get the name part of the Properties Dialog box into a toolbar B/C thats mainly what I use the PM Box for. I would like to have that show up in a toolbar or even just somewhere on its own. Without it having to be in the PM Box.

    So does that make sense? Is there any possibility of this happening? Am I shooting for too much?

    Thanks for any help, ideas, and/or advice,
    JRodriguez
     
    JRodriguez, Jul 15, 2004
    #1
  2. JRodriguez

    MP Guest

    well, here's one simple way to just get the name
    (you could easily add other properties as desired)

    (defun c:getname( / item vo itemname)
    (if
    (and
    (setq item(car(entsel"\nPick item to read name")))
    (setq vo(vlax-ename->vla-object item))
    (null
    (vl-catch-all-error-p
    (setq itemname
    (vl-catch-all-apply
    'vlax-get-property
    (list
    vo
    'name
    )
    )
    )
    )
    );null
    )
    (alert itemname)
    (alert "No name property")
    );IF
    )

    or you could put it on status bar with modemacro sysvar
    or make a simple dialog (dcl or vb) to display (like if you wanted to modify
    the property)

    etc

    as far as on a toolbar itself, i think you'd need arx for that
    hth
    Mark

    something from the Properties Manager Box and put it into a toolbar. i.e. I
    have my Properties Manager Dialog box over on the left of my ACAD window. I
    select an xref and its info comes up in the Properties Manager Box. All of
    its info like name, location, layer, etc. etc. So my question is is there
    any way to take some of those properties and put them into a toolbar. I'm
    looking for a way to get the name part of the Properties Dialog box into a
    toolbar B/C thats mainly what I use the PM Box for. I would like to have
    that show up in a toolbar or even just somewhere on its own. Without it
    having to be in the PM Box.
     
    MP, Jul 15, 2004
    #2
  3. JRodriguez

    Owen Wengerd Guest

    I would like to have that show up in a toolbar or even just somewhere
    There is no way to see xref names in a toolbar. You may want to take a
    look at my shareware Periscope utility
    (http://www.manusoft.com/Software/Periscope/Index.stm) as it is designed for
    exactly this situation. :)
     
    Owen Wengerd, Jul 15, 2004
    #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.