.NET

Reply
*Nermeen Bakr
Message 1 of 2 (116 Views)

pass a selection set to Autocad

116 Views, 1 Replies
06-12-2005 03:21 AM
Hi:

How could i pass as selection set defined in managedArx to Autocad as to use
it in the modify properties command

Thanks in advance.

--
Nermeen Bakr
Project Manager
MCS (Modern Computing Services)
Website: http://www.mcsoil.com
Phone: +2 02 4036520 /+202 4051129
Fax: +2 02 4040503
*Tony Tanzillo
Message 2 of 2 (116 Views)

Re: pass a selection set to Autocad

06-12-2005 06:20 PM in reply to: *Nermeen Bakr
The Managed SelectionSet classes do not marshal selected
objects as a legacy or "unmanaged" selection set (ads_name),
so there is no way to do this directly, other than by passing
the individual objects in the selection set to acedCommand().

But, in the case of selection sets marshalled by the managed
wrappers, they always originate from a call to acedSSGet()
(there's no way to add objects to them as you can do using
acedSSAdd with unmanaged selection sets). Because of that,
any managed selection set can be retrieved as an unmanaged
selection set, using acedSSGet("_P"), immediately after the
managed selection set is created by a call to an Editor method
such as GetSelection() or what have you.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

"Nermeen Bakr" wrote in message news:4872618@discussion.autodesk.com...
Hi:

How could i pass as selection set defined in managedArx to Autocad as to use
it in the modify properties command

Thanks in advance.

--
Nermeen Bakr
Project Manager
MCS (Modern Computing Services)
Website: http://www.mcsoil.com
Phone: +2 02 4036520 /+202 4051129
Fax: +2 02 4040503
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.