Selecting Objects programmatically? Utils?

Selecting Objects programmatically? Utils?

Anonymous
Not applicable
618 Views
2 Replies
Message 1 of 3

Selecting Objects programmatically? Utils?

Anonymous
Not applicable
Hello all.

I'm trying to select Objects in the current Drawing (so they actually are
selected in the editor).

I came across this line of code that should do it:
Autodesk.AutoCAD.Internal.Utils.SelectObjects(objArray)

But I'm getting an error that:
'Utils' is not a member of 'Internal'?

Am I missing a reference or somthing?
Can anyone help?

Thanks!
--
CoreyL
0 Likes
619 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
> I'm trying to select Objects in the current Drawing (so
> they actually are selected in the editor).

to clarify:
I have a 1-dimensional Array of ObjectId's,
and I need them selected in the editor.

--
CoreyL
0 Likes
Message 3 of 3

Anonymous
Not applicable
ok, found an old post stating to reference: acmgdinternal.dll
(thanks Tony!)

--
CoreyL
0 Likes