.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*technosterone
Filtering Polylines
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
155 Views, 2 Replies
07-06-2005 07:06 AM
The following code filters all lines and works well.
Dim FilterType(0) As Int16
Dim FilterData(0) As Object
SelSet = app.ActiveDocument.SelectionSets.Add("New selection")
FilterType(0) = 0
FilterData(0) = "Line"
SelSet.Select(Interop.Common.AcSelect.acSelectionS etAll, , , FilterType,
FilterData)
But I failed to filter polylines with
FilterData(0) = "Polyline"
Who can help me?
Dim FilterType(0) As Int16
Dim FilterData(0) As Object
SelSet = app.ActiveDocument.SelectionSets.Add("New selection")
FilterType(0) = 0
FilterData(0) = "Line"
SelSet.Select(Interop.Common.AcSelect.acSelectionS
FilterData)
But I failed to filter polylines with
FilterData(0) = "Polyline"
Who can help me?
*Paul Richardson
Re: Filtering Polylines
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-06-2005 07:41 AM in reply to:
*technosterone
what kind of Polylines are you looking for?
"Polyline" should get you 3DPolylines. "LWPolyline"
might be what you want.?
"technosterone" wrote in message
news:4893723@discussion.autodesk.com...
The following code filters all lines and works well.
Dim FilterType(0) As Int16
Dim FilterData(0) As Object
SelSet = app.ActiveDocument.SelectionSets.Add("New selection")
FilterType(0) = 0
FilterData(0) = "Line"
SelSet.Select(Interop.Common.AcSelect.acSelectionS etAll, , , FilterType,
FilterData)
But I failed to filter polylines with
FilterData(0) = "Polyline"
Who can help me?
"Polyline" should get you 3DPolylines. "LWPolyline"
might be what you want.?
"technosterone"
news:4893723@discussion.autodesk.com...
The following code filters all lines and works well.
Dim FilterType(0) As Int16
Dim FilterData(0) As Object
SelSet = app.ActiveDocument.SelectionSets.Add("New selection")
FilterType(0) = 0
FilterData(0) = "Line"
SelSet.Select(Interop.Common.AcSelect.acSelectionS
FilterData)
But I failed to filter polylines with
FilterData(0) = "Polyline"
Who can help me?
*technosterone
Re: Filtering Polylines
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-06-2005 11:35 PM in reply to:
*technosterone
Yes, Paul, "LWPolyline" is what I needed.
As far as I can see the question is wider, where can I get a full set of
strings that represent Object Type?
"Line", "Circle", "Arc", "LWPolyline", ...
As far as I can see the question is wider, where can I get a full set of
strings that represent Object Type?
"Line", "Circle", "Arc", "LWPolyline", ...

