Has anyone sucessfully used the layerstate-import or layerstate-importfromdb function in a routine? I am trying to import predefined layerstates (four total) either directly as .las file or from a .dwg that contains them already. I tried as described in the AutoLISP reference guide from help, but doesn't seem to work.

I have tried several variations of the example shown e.g. (layerstate-import “c:\\mylayerstate.las“)

I also tried placing in .dwg file and using the layerstate-importfromdb function; with or without wild card (thinking maybe I could insert them all at the same time); with or without the .dwg and .las paths included in the support tree...

I had a user request to be able to import firm standard layerstates into a drawing via macro and this seemed like the way to go...if anyone has done it this way, or has a different/better way, the info would be appreciated. I did get as far as a retun of nil which according to the example just means it didn't work...

thanks.