Message 1 of 1
help,how to use selectionsets in managed arx
Not applicable
04-21-2005
04:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can use the below code to select one type of objects(eg.circle) in CAD:
TypedValue[] values={
new TypedValue((int)DxfCode.Start),"CIRCLE"}
But how can I select two or more types of objets?
Can I use like this:
TypedValue[] values={
new TypedValue((int)DxfCode.Start),"CIRCLE",
new TypedValue((int)DxfCode.Start),"LINE"
}
It does not work!! I know that in objectarx I can use the conditinal selectionsets to solve the problem,but I can't find the same way in managed arx.
Can anyone tell me how to select more than one type of objects using selectionsets in managed arx?
Many thanks!
TypedValue[] values={
new TypedValue((int)DxfCode.Start),"CIRCLE"}
But how can I select two or more types of objets?
Can I use like this:
TypedValue[] values={
new TypedValue((int)DxfCode.Start),"CIRCLE",
new TypedValue((int)DxfCode.Start),"LINE"
}
It does not work!! I know that in objectarx I can use the conditinal selectionsets to solve the problem,but I can't find the same way in managed arx.
Can anyone tell me how to select more than one type of objects using selectionsets in managed arx?
Many thanks!