Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Selection Result Error: selection filter, select object on layer, layer name contains #

Anonymous

Selection Result Error: selection filter, select object on layer, layer name contains #

Anonymous
Not applicable

select object on layer, layer name contains # using following code, selection result got error

 

TypedValue[] tvs = new TypedValue[]
{
new TypedValue((int)DxfCode.Operator, "<and"),
new TypedValue((int)DxfCode.LayerName, layerName ), 
new TypedValue((int)DxfCode.Operator, "and>")
};
SelectionFilter filter = new SelectionFilter(tvs);
ObjectId[] objIds;
PromptSelectionResult psr = doc.Editor.SelectAll(filter);

 

please anyone can help

 

thank  you

 

 

 

@Anonymous Topic Title has been edited for better findability by the Community Manager, @Tiana_Y 

0 Likes
Reply
247 Views
0 Replies
Replies (0)