Message 1 of 8
Tony don't know how make Commandline.vb works

Not applicable
12-20-2010
09:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Tony,
in antoher thread you helped a gentleman to work with eattedit problem. I download the code and tried to use, since I have the same situation. But I could not make it work. Could you please take a look.
the link was
http://www.caddzone.com/CommandLine.vb
can you or somebody else help me please.
Sub neweditattribute() Dim Entry As Autodesk.AutoCAD.Interop.Common.AcadEntity Do While ThisDrawing.SelectionSets.Count <> 0 ThisDrawing.SelectionSets.Item(0).Delete() Loop SelectionSet = "" sset = ThisDrawing.SelectionSets.Add("SS1") sset.SelectOnScreen() For Each Entry In sset If Entry.ObjectName = "AcDbBlockReference" Then TempT = Entry.ObjectID CommandLine.Command("_.EATTEDIT", Entry) End If Next End Sub