wrote in message news:5850591@discussion.autodesk.com...
Hai i need to get layout name with help of viewport but not with the help of
block can u plz help me
Bryco answered your question. If you don't understand it, study it till you
do.
Look up .Layout, ObjectIdToObject, etc in help
you could even "try" it.
:-)
hth
mark