Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
the following code filter all lines which are in the layer "0" and lineweight is 0.35.
but it does not. my selection set is empty.
----------------------------------------------------------------------------------------------------------
Dim typVal(2) As TypedValue
typVal(0) = New TypedValue(DxfCode.Start, "LINE")
typVal(1) = New TypedValue(DxfCode.LayerName, layName)
typVal(2) = New TypedValue(DxfCode.LineWeight, Convert.ToInt16(0.35))
----------------------------------------------------------------------------------------------------------
Dim sf As SelectionFilter = New SelectionFilter(typVal)
Dim ss As SelectionSet = ed.SelectAll(sf).Value
where i am wrong?
Thanks & Regards,
G
G
Solved! Go to Solution.

