Filter List

Filter List

Anonymous
Not applicable
734 Views
2 Replies
Message 1 of 3

Filter List

Anonymous
Not applicable

I am trying to create a Filter List for selecting Pipe Network Structures through PromptSelection Options.

 

Dim fillist As TypedValue() = New TypedValue(0) {New TypedValue(CInt(DxfCode.Start), "Structure")}

 

I have used the above code for filtering Polylines replacing "Structure" with "Polyline,lwPolyline" but it doesn't seem to work filtering structures.  Any ideas?

 

Thanks!

0 Likes
Accepted solutions (1)
735 Views
2 Replies
Replies (2)
Message 2 of 3

Jeff_M
Consultant
Consultant
Accepted solution
The filter needs the DXF Name of the object. You can see what this is by Listing an object in the Civil3d editor. In this case, you would use AECC_STRUCTURE.
Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 3 of 3

Anonymous
Not applicable

Great tip.  Thank you!

0 Likes