Another thing I noticed was itoa returns the 64 bit object id
instead ofCode:(itoa (vla-get-objectid objItem))
Code:(vlax-invoke-method (vla-get-Utility (vla-get-activedocument (vlax-get-acad-object))) "GetObjectIdString" objItem :vlax-False )
The "+." puts (ssget) into "point" mode. It helps the ":S" single-mode act just like (entsel) by avoiding implied selection windows.
Last edited by Tom Beauford; 2013-04-04 at 08:23 PM. Reason: It was wrong!
Tom Beauford P.S.M. - Civil 2013 on Windows 7 Pro
Design Analysis - Leon County Public Works/Engineering
2280 Miccosukee Rd. Tallahassee, FL 32308-5310
Sorry for the belating, in addition
:L means selection on locked layers
"The whole problem with the world is that fools and fanatics are always
so certain of themselves, and wiser people so full of doubts."
Cheers for all the help
It is working like a dream.