.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

pass a selection set to Autocad

1 REPLY 1
Reply
Message 1 of 2
Anonymous
278 Views, 1 Reply

pass a selection set to Autocad

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
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost