« Got an AutoCAD for Mac Tip? | Main | Accessing Information About Layers in a Drawing with GETPROPERTYVALUE »


John Loudermilk


I've been fighting a problem with setting background fill using VLISP on a dimension for the last few releases. I used your BFILL.lsp and got the same problem - you cannot see the dimension text because it's filled with solid color. Any ideas?

Lee Ambrosius

So the text is invisible when you apply a background mask? Does the same happen when doing it from the UI, this is a strange sounding problem. Does your drawing contain vertical objects created in AutoCAD MEP, ACA, or Mechanical? Have you tried updating the driver for you graphics card?


Hi Lee,

Thanks for pointing attention to these new functions!
I have tried it with individual objects (I passed Objects names as arguments).
But I can not figure out how to use (getpropertyvalue) and (setpropertyvalue) functions for Object collections (AcadLayers, AcadLinetypes, AcadBlocks, etc.), every time I try to call these functions while passing to them Collection name, I get "; error: ADS request error". Maybe this is because I don't know exactly format and values of collectionName, index and name arguments? Could you point me in right direction?

Constantin Gherasim

Hi Lee,

Here is a more direct and elegant way of checking if an entity was selected. Instead of an expression implying the negation of negation, like "(if (/= ent nil)", something like "(if ent", will do the job as well.


Lee Ambrosius

You are correct about the IF statement. Old habits die hard after being formed over the years.

I often simply embed my SETQ and ENTSEL as part of the IF statement in this case since SETQ returns the value the variable is assigned.

Lee Ambrosius

I just posted a new article on accessing non-graphical information like Layers. Hope this helps to shed some light on accessing the Layers or Blocks table.



Hi Lee,
I am trying to get the 'IsA' property from the 'dumpallproperties' and it returns nil

(setq e1 (car (entsel "\nSelect a line: ")))
(dumpAllProperties e1 1)
(getpropertYvalue e1 "IsA") ; This returns nil

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment

Comments are moderated, and will not appear until the author has approved them.

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)

My Photo

My Other Accounts

Twitter Updates

    follow me on Twitter