.NET

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

pass a selection set to Autocad

114 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 (114 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
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.